Guest User

Untitled

a guest
Dec 15th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. Disable-UAC
  2.  
  3. # --------------- Update Windows Settings ---------------
  4. Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
  5. Enable-RemoteDesktop
  6. Disable-BingSearch
  7. Disable-GameBarTips
  8.  
  9. choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
  10.  
  11. # --------------- Remove Windows Bloatware ---------------
  12.  
  13. # 3D Builder
  14. Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage
  15.  
  16. # Alarms
  17. Get-AppxPackage Microsoft.WindowsAlarms | Remove-AppxPackage
  18.  
  19. # Autodesk
  20. Get-AppxPackage *Autodesk* | Remove-AppxPackage
  21.  
  22. # Bing Weather, News, Sports, and Finance (Money):
  23. Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage
  24. Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
  25. Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage
  26. Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage
  27.  
  28. # BubbleWitch
  29. Get-AppxPackage *BubbleWitch* | Remove-AppxPackage
  30.  
  31. # Candy Crush
  32. Get-AppxPackage king.com.CandyCrush* | Remove-AppxPackage
  33.  
  34. # Comms Phone
  35. Get-AppxPackage Microsoft.CommsPhone | Remove-AppxPackage
  36.  
  37. # Mail & Calendar
  38. Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage
  39.  
  40. # Maps
  41. Get-AppxPackage Microsoft.WindowsMaps | Remove-AppxPackage
  42.  
  43. # March of Empires
  44. Get-AppxPackage *MarchofEmpires* | Remove-AppxPackage
  45.  
  46. # --------------- Changes Registry Settings ---------------
  47.  
  48. # Privacy: Let apps use my advertising ID: Disable
  49. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
  50. # To Restore:
  51. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
  52. # Privacy: SmartScreen Filter for Store Apps: Disable
  53. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0
  54. # To Restore:
  55. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 1
  56.  
  57. # WiFi Sense: HotSpot Sharing: Disable
  58. Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting -Name value -Type DWord -Value 0
  59. # WiFi Sense: Shared HotSpot Auto-Connect: Disable
  60. Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots -Name value -Type DWord -Value 0
  61.  
  62. # Start Menu: Disable Bing Search Results
  63. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 0
  64. # To Restore (Enabled):
  65. # Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 1
  66.  
  67. # Start Menu: Disale Cortana (Commented out by default - this is personal preference)
  68. # TODO: Figure this out - need another VM to test, mine's already disabled via domain, etc.
  69.  
  70. # Disable Telemetry (requires a reboot to take effect)
  71. Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWord -Value 0
  72. Get-Service DiagTrack,Dmwappushservice | Stop-Service | Set-Service -StartupType Disabled
  73.  
  74. # Change Explorer home screen back to "This PC"
  75. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Type DWord -Value 1
  76. # Change it back to "Quick Access" (Windows 10 default)
  77. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Type DWord -Value 2
  78.  
  79. #################
  80. # Windows Updates
  81. #################
  82. # Change Windows Updates to "Notify to schedule restart"
  83. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name UxOption -Type DWord -Value 1
  84. # To Restore (Automatic):
  85. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name UxOption -Type DWord -Value 0
  86.  
  87. # --------------- Install Dev Tools ---------------
  88. choco install fiddler4
  89. choco install git-credential-winstore
  90. choco install git
  91. choco install conemu
  92. choco install python
  93. choco install elixir
  94. choco install filezilla
  95. choco install terminals
  96. choco install linqpad
  97.  
  98. # --------------- Install Browsers ---------------
  99. choco install googlechrome
  100. choco install firefox
  101.  
  102. # --------------- Video ---------------
  103. choco install handbrake
  104. choco install makemkv
  105. choco install vlc
  106.  
  107. # --------------- Misc Apps ---------------
  108. choco install teracopy
  109. choco install f.lux
  110. choco install cpu-z
  111. choco install speccy
  112. choco install windirstat
  113. choco install sysinternals
  114. choco install wsl
  115. choco install patchcleaner
  116. choco install iperf3
  117. choco install pia
  118. choco install dropbox
  119. choco install telegram
  120. choco install signal
  121. choco install audacity
  122. choco install steam
  123. choco install foxitreader
  124. choco install 7zip.install
  125. # choco install openwsl
  126.  
  127. # --------------- Restore settings ---------------
  128. Enable-UAC
  129. Enable-MicrosoftUpdate
  130. Install-WindowsUpdate -acceptEula
Add Comment
Please, Sign In to add comment