How can I disable the toast notification "Work or school account problem" on hybrid AAD joined Windows 10 computers? This notification is shown every time when non AAD user logs in. We don't want to sync all users from local AD to AAD.
JPX's questions
Win32 app uses bat file to install software and edit registry keys. Registry keys are modified if I run bat file locally but not when run through via Intune because Intune runs installation as System.
I created a PowerShell script that works when run locally but if I use Intune registry keys are not modified.
How can I edit registry keys via Intune?
Intune PowerShell scripts
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'AutoAdminLogon' -Value 0
Win32 app bat file
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_SZ /d "" /f
I have read many forum posts but still can't PXE boot image files.
usb-image.dd is my image file. Instead of using USB sticks I would like to boot live Linux by using PXE.
DEFAULT menu.c32
PROMPT 0
timeout 300
MENU TITLE PXE Menu
LABEL memtest86
MENU LABEL Memtest86+ 5.01
KERNEL /memtest/memtest86+-5.01
LABEL Live Linux
MENU LABEL Live Linux test
KERNEL memdisk
APPEND initrd=/test/usb-image.dd
PXE Menu is working and I can boot Memtest86+ but Live Linux test fails and I can't see why. Menu is reloaded instantly.
I'm using Ubuntu 16.04 LTS.
How should I proceed?
Edit 1: Information about my usb-image.dd.
user@PXE-server:/var/lib/tftpboot/test$ fdisk -l usb-image.dd
Disk usb-image.dd: 3 GiB, 3270508544 bytes, 6387712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 597F78FB-1090-4C9B-A779-1DC99DDAC259
Laite Start Loppu Sektorit Size Tyyppi
usb-image.dd1 2048 450559 448512 219M EFI System
usb-image.dd2 450560 6371327 5920768 2,8G Microsoft basic data
usb-image.dd3 6371328 6385663 14336 7M Linux filesystem
Edit 2:
I disabled the menu and saw the error message.
Loading /test/usb-image.dd...failed: Bad file number
I'm trying to start Squid (3.5.12) by the following command:
$ /etc/init.d/squid start
[ ok ] Starting squid (via systemctl): squid.service.
but only one line appears in cache.log
, and nothing else:
2017/03/23 18:44:40| Set Current Directory to /var/spool/squid/cache
I did run squid -z
.
My squid.conf
looks as shown below:
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow localhost manager
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 8080
maximum_object_size 100 MB
cache_mem 512 MB
maximum_object_size_in_memory 128 MB
cache_dir ufs /var/spool/squid/cache 20000 16 256
cache_swap_low 96
cache_swap_high 97
forwarded_for transparent
coredump_dir /var/spool/squid/cache
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
dns_nameservers 192.168.1.1
cache_effective_user proxy
cache_effective_group proxy