Guest User

Untitled

a guest
Dec 7th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. ##################
  2. # Privacy Settings
  3. ##################
  4.  
  5. # Privacy: Let apps use my advertising ID: Disable
  6. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
  7. # To Restore:
  8. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
  9. # Privacy: SmartScreen Filter for Store Apps: Disable
  10. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0
  11. # To Restore:
  12. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 1
  13.  
  14. # WiFi Sense: HotSpot Sharing: Disable
  15. Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting -Name value -Type DWord -Value 0
  16. # WiFi Sense: Shared HotSpot Auto-Connect: Disable
  17. Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots -Name value -Type DWord -Value 0
  18.  
  19.  
  20. # Start Menu: Disable Bing Search Results
  21. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 0
  22. # To Restore (Enabled):
  23. # Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 1
  24.  
  25. # Start Menu: Disale Cortana (Commented out by default - this is personal preference)
  26. # TODO: Figure this out - need another VM to test, mine's already disabled via domain, etc.
  27.  
  28. # Disable Telemetry (requires a reboot to take effect)
  29. Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWord -Value 0
  30. Get-Service DiagTrack,Dmwappushservice | Stop-Service | Set-Service -StartupType Disabled
  31.  
  32.  
  33. ############################
  34. # Personal Preferences on UI
  35. ############################
  36.  
  37. # Change Explorer home screen back to "This PC"
  38. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Type DWord -Value 1
  39. # Change it back to "Quick Access" (Windows 10 default)
  40. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Type DWord -Value 2
  41.  
  42. # These make "Quick Access" behave much closer to the old "Favorites"
  43. # Disable Quick Access: Recent Files
  44. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -Type DWord -Value 0
  45. # Disable Quick Access: Frequent Folders
  46. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Type DWord -Value 0
  47. # To Restore:
  48. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -Type DWord -Value 1
  49. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Type DWord -Value 1
  50.  
  51. # Disable the Lock Screen (the one before password prompt - to prevent dropping the first character)
  52. If (-Not (Test-Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization)) {
  53. New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows -Name Personalization | Out-Null
  54. }
  55. Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization -Name NoLockScreen -Type DWord -Value 1
  56. # To Restore:
  57. #Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization -Name NoLockScreen -Type DWord -Value 1
  58.  
  59. # Use the Windows 7-8.1 Style Volume Mixer
  60. If (-Not (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\MTCUVC")) {
  61. New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name MTCUVC | Out-Null
  62. }
  63. Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\MTCUVC" -Name EnableMtcUvc -Type DWord -Value 0
  64. # To Restore (Windows 10 Style Volume Control):
  65. #Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\MTCUVC" -Name EnableMtcUvc -Type DWord -Value 1
  66.  
  67. # Dark Theme for Windows (commenting out by default because this one's probbly a minority want)
  68. # Note: the title bar text and such is still black with low contrast, and needs additional tweaks (it'll probably be better in a future build)
  69. #If (-Not (Test-Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize)) {
  70. # New-Item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes -Name Personalize | Out-Null
  71. #}
  72. #Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Type DWord -Value 0
  73. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Type DWord -Value 0
  74. # To Restore (Light Theme):
  75. #Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Type DWord -Value 1
  76. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Type DWord -Value 1
  77.  
  78.  
  79.  
  80. #################
  81. # Windows Updates
  82. #################
  83. # Change Windows Updates to "Notify to schedule restart"
  84. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name UxOption -Type DWord -Value 1
  85. # To Restore (Automatic):
  86. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name UxOption -Type DWord -Value 0
  87.  
  88. # Disable P2P Update downlods outside of local network
  89. Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config -Name DODownloadMode -Type DWord -Value 1
  90. Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization -Name SystemSettingsDownloadMode -Type DWord -Value 3
  91. # To restore (PCs on my local network and PCs on the internet)
  92. #Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config -Name DODownloadMode -Type DWord -Value 3
  93. #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization -Name SystemSettingsDownloadMode -Type DWord -Value 1
  94. # To disable P2P update downloads completely:
  95. #Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config -Name DODownloadMode -Type DWord -Value 0
  96.  
  97.  
  98. ###############################
  99. # Windows 10 Metro App Removals
  100. # These start commented out so you choose
  101. # Just remove the # (comment in PowerShell) on the ones you want to remove
  102. ###############################
  103. # Be gone, heathen!
  104. Get-AppxPackage king.com.CandyCrushSaga | Remove-AppxPackage
  105. # Bing Weather, News, Sports, and Finance (Money):
  106. #Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage
  107. #Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
  108. #Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage
  109. #Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage
  110. # Xbox:
  111. Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage
  112. # Windows Phone Companion
  113. Get-AppxPackage Microsoft.WindowsPhone | Remove-AppxPackage
  114. # Solitaire Collection
  115. Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
  116. # People
  117. Get-AppxPackage Microsoft.People | Remove-AppxPackage
  118. # Groove Music
  119. Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage
  120. # Movies & TV
  121. Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage
  122. # OneNote
  123. Get-AppxPackage Microsoft.Office.OneNote | Remove-AppxPackage
  124. # Photos
  125. #Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage
  126. # Sound Recorder
  127. #Get-AppxPackage Microsoft.WindowsSoundRecorder | Remove-AppxPackage
  128. # Mail & Calendar
  129. Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage
  130. # Skype (Metro version)
  131. Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage
Add Comment
Please, Sign In to add comment