Last active
August 3, 2018 10:08
-
-
Save kenpb/89b87a0e5b47b41a1338 to your computer and use it in GitHub Desktop.
Disable windows stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: https://blogs.technet.microsoft.com/heyscriptingguy/2012/10/28/powertip-use-powershell-to-enable-the-windows-firewall/ | |
# older Wins: netsh advfirewall set allprofiles state off | |
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powercfg -change -standby-timeout-ac 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Item HKLM:\SOFTWARE\Policies\Microsoft\Windows -Name WindowsUpdate | |
New-Item HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate -Name AU | |
New-ItemProperty HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name NoAutoUpdate -Value 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment