Created
September 27, 2017 08:50
-
-
Save oscarduignan/f2c6bf6b9b9deb607af72608529336a2 to your computer and use it in GitHub Desktop.
A basic boxstarter install script
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
# install a program with chocolatey | |
choco install googlechrome | |
# update behaviour of file explorer | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
# remove a store-installed program | |
Get-AppxPackage *Facebook* | Remove-AppxPackage | |
# lock screen when you close your laptop rather than sleeping it | |
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power' -Name AwayModeEnabled -Type DWord -Value 1 | |
# change explorer home screen back to "this pc" rather than "quick access" | |
Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name LaunchTo -Type DWord -Value 1 | |
# enable windows updates | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -acceptEula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment