Write "Setting Services" ;Set-Service -Name "onesyncsvc" -StartupType "manual";Set-Service -Name "MapsBroker" -StartupType "manual";Set-Service -Name "gupdate" -StartupType "manual"
Write "Disable IPv6"     ;$ethernetname="Ethernet0";Disable-NetAdapterBinding -Name "$ethernetname" -ComponentID ms_tcpip6
Write "Energy Max."      ;powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Write "Set Administrator";Set-LocalUser -Name "administrator" -PasswordNeverExpires 1
Write "Show hidden files";reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -f -t REG_DWORD -d 1 -v Hidden
Write "Show super hidden";reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -f -t REG_DWORD -d 1 -v ShowSuperHidden
Write "Show file ext"    ;reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -f -t REG_DWORD -d 0 -v HideFileExt
Write "Expand Ribbon"    ;reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon"   -f -t REG_DWORD -d 0 -v MinimizedStateTabletModeOff
Write "Configure Updates";reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"        -f -t REG_DWORD -d 4 -v AUOptions
