Created
December 6, 2020 06:36
-
-
Save CarlOlson/d66c41cb999ef010e5709de46c2bb610 to your computer and use it in GitHub Desktop.
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
# remove all Modern apps from the system account | |
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online | |
# remove Metro apps for all user accounts | |
Get-AppxPackage -AllUsers | Remove-AppxPackage | |
# regedt32.exe | |
# Goto HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent | |
# Create a new 32-bit DWORD value named DisableWindowsConsumerFeatures and set its value data to 1 | |
# install chocolatey | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
# install basics | |
choco install -y vcredist140 | |
choco install -y 7zip.install | |
choco install -y winrar | |
choco install -y googlechrome | |
# install spice-guest-tools | |
https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe | |
# compact OS | |
compact.exe /CompactOS:always | |
# remove cortana? | |
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\' -Name 'Windows Search' | Out-Null | |
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'AllowCortana' -PropertyType DWORD -Value '0' | Out-Null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment