Skip to content

Instantly share code, notes, and snippets.

@AllenEllis
Last active October 28, 2018 17:46
Show Gist options
  • Save AllenEllis/9080806a121de285cc5b600dce61c2c7 to your computer and use it in GitHub Desktop.
Save AllenEllis/9080806a121de285cc5b600dce61c2c7 to your computer and use it in GitHub Desktop.
Allen Windows deployment Fall 2018
# Temporarily disable Windows Update and UAC until the rest of the programs have installed
Disable-MicrosoftUpdate
Disable-UAC
# Remove all apps that are installed from Windows Store by default.
#Get-AppxPackage -AllUsers | Remove-AppxPackage
# Reinstall Windows Store apps that I want
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2018.18081.14710.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_11809.1001.8.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1809.2731.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode
#Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.MicrosoftEdge_42.17134.1.0_neutral__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode
# TODO - write code to install these
#
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowHiddenFilesFoldersDrives
Disable-GameBarTips
Disable-BingSearch
DisableOpenFileExplorerToQuickAccess
# All finished, restore Windows Update and UAC
Enable-MicrosoftUpdate
Enable-UAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment