Benoît Dubreuil
3 years ago
4 changed files with 0 additions and 306 deletions
@ -1,48 +0,0 @@ |
|||
# Description: |
|||
# This script disables Windows Defender. Run it once (will throw errors), then |
|||
# reboot, run it again (this time no errors should occur) followed by another |
|||
# reboot. |
|||
|
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\New-FolderForced.psm1 |
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1 |
|||
|
|||
Write-Output "Elevating priviledges for this process" |
|||
do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) |
|||
|
|||
$tasks = @( |
|||
"\Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" |
|||
"\Microsoft\Windows\Windows Defender\Windows Defender Cleanup" |
|||
"\Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" |
|||
"\Microsoft\Windows\Windows Defender\Windows Defender Verification" |
|||
) |
|||
|
|||
foreach ($task in $tasks) { |
|||
$parts = $task.split('\') |
|||
$name = $parts[-1] |
|||
$path = $parts[0..($parts.length-2)] -join '\' |
|||
|
|||
Write-Output "Trying to disable scheduled task $name" |
|||
Disable-ScheduledTask -TaskName "$name" -TaskPath "$path" |
|||
} |
|||
|
|||
Write-Output "Disabling Windows Defender via Group Policies" |
|||
New-FolderForced -Path "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender" |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender" "DisableAntiSpyware" 1 |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender" "DisableRoutinelyTakingAction" 1 |
|||
New-FolderForced -Path "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection" |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection" "DisableRealtimeMonitoring" 1 |
|||
|
|||
Write-Output "Disabling Windows Defender Services" |
|||
Takeown-Registry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend") |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WinDefend" "Start" 4 |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WinDefend" "AutorunsDisabled" 3 |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc" "Start" 4 |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc" "AutorunsDisabled" 3 |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Sense" "Start" 4 |
|||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Sense" "AutorunsDisabled" 3 |
|||
|
|||
Write-Output "Removing Windows Defender context menu item" |
|||
Set-Item "HKLM:\SOFTWARE\Classes\CLSID\{09A47860-11B0-4DA5-AFA5-26D86198A780}\InprocServer32" "" |
|||
|
|||
Write-Output "Removing Windows Defender GUI / tray from autorun" |
|||
Remove-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "WindowsDefender" -ea 0 |
@ -1,50 +0,0 @@ |
|||
# Description: |
|||
# This script remove strang looking stuff which will probably result in a break |
|||
# of your system. It should not be used unless you want to test out a few |
|||
# things. It is named `experimental_unfuckery.ps1` for a reason. |
|||
|
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1 |
|||
|
|||
Write-Output "Elevating priviledges for this process" |
|||
do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) |
|||
|
|||
Write-Output "Force removing system apps" |
|||
$needles = @( |
|||
#"Anytime" |
|||
"BioEnrollment" |
|||
#"Browser" |
|||
"ContactSupport" |
|||
#"Cortana" # This will disable startmenu search. |
|||
#"Defender" |
|||
"Feedback" |
|||
"Flash" |
|||
"Gaming" |
|||
#"Holo" |
|||
#"InternetExplorer" |
|||
#"Maps" |
|||
#"MiracastView" |
|||
"OneDrive" |
|||
#"SecHealthUI" |
|||
#"Wallet" |
|||
#"Xbox" # This will result in a bootloop since upgrade 1511 |
|||
) |
|||
|
|||
foreach ($needle in $needles) { |
|||
Write-Output "Trying to remove all packages containing $needle" |
|||
|
|||
$pkgs = (Get-ChildItem "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" | |
|||
Where-Object Name -Like "*$needle*") |
|||
|
|||
foreach ($pkg in $pkgs) { |
|||
$pkgname = $pkg.Name.split('\')[-1] |
|||
|
|||
Takeown-Registry($pkg.Name) |
|||
Takeown-Registry($pkg.Name + "\Owners") |
|||
|
|||
Set-ItemProperty -Path ("HKLM:" + $pkg.Name.Substring(18)) -Name Visibility -Value 1 |
|||
New-ItemProperty -Path ("HKLM:" + $pkg.Name.Substring(18)) -Name DefVis -PropertyType DWord -Value 2 |
|||
Remove-Item -Path ("HKLM:" + $pkg.Name.Substring(18) + "\Owners") |
|||
|
|||
dism.exe /Online /Remove-Package /PackageName:$pkgname /NoRestart |
|||
} |
|||
} |
@ -1,115 +0,0 @@ |
|||
# Description: |
|||
# This script will try to fix many of the privacy settings for the user. This |
|||
# is work in progress! |
|||
|
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\New-FolderForced.psm1 |
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1 |
|||
|
|||
Write-Output "Elevating priviledges for this process" |
|||
do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) |
|||
|
|||
Write-Output "Defuse Windows search settings" |
|||
Set-WindowsSearchSetting -EnableWebResultsSetting $false |
|||
|
|||
Write-Output "Set general privacy options" |
|||
# "Let websites provide locally relevant content by accessing my language list" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\International\User Profile" "HttpAcceptLanguageOptOut" 1 |
|||
# Locaton aware printing (changes default based on connected network) |
|||
New-FolderForced -Path "HKCU:\Printers\Defaults" |
|||
Set-ItemProperty -Path "HKCU:\Printers\Defaults" "NetID" "{00000000-0000-0000-0000-000000000000}" |
|||
# "Send Microsoft info about how I write to help us improve typing and writing in the future" |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\Input\TIPC" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Input\TIPC" "Enabled" 0 |
|||
# "Let apps use my advertising ID for experiencess across apps" |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" "Enabled" 0 |
|||
# "Turn on SmartScreen Filter to check web content" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" "EnableWebContentEvaluation" 0 |
|||
|
|||
Write-Output "Disable synchronisation of settings" |
|||
# These only apply if you log on using Microsoft account |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" "BackupPolicy" 0x3c |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" "DeviceMetadataUploaded" 0 |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" "PriorLogons" 1 |
|||
$groups = @( |
|||
"Accessibility" |
|||
"AppSync" |
|||
"BrowserSettings" |
|||
"Credentials" |
|||
"DesktopTheme" |
|||
"Language" |
|||
"PackageState" |
|||
"Personalization" |
|||
"StartLayout" |
|||
"Windows" |
|||
) |
|||
foreach ($group in $groups) { |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\$group" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\$group" "Enabled" 0 |
|||
} |
|||
|
|||
Write-Output "Set privacy policy accepted state to 0" |
|||
# Prevents sending speech, inking and typing samples to MS (so Cortana |
|||
# can learn to recognise you) |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\Personalization\Settings" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Personalization\Settings" "AcceptedPrivacyPolicy" 0 |
|||
|
|||
Write-Output "Do not scan contact informations" |
|||
# Prevents sending contacts to MS (so Cortana can compare speech etc samples) |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" "HarvestContacts" 0 |
|||
|
|||
Write-Output "Inking and typing settings" |
|||
# Handwriting recognition personalization |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\InputPersonalization" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\InputPersonalization" "RestrictImplicitInkCollection" 1 |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\InputPersonalization" "RestrictImplicitTextCollection" 1 |
|||
|
|||
Write-Output "Microsoft Edge settings" |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" "DoNotTrack" 1 |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\User\Default\SearchScopes" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\User\Default\SearchScopes" "ShowSearchSuggestionsGlobal" 0 |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\FlipAhead" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\FlipAhead" "FPEnabled" 0 |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" "EnabledV9" 0 |
|||
|
|||
Write-Output "Disable background access of default apps" |
|||
foreach ($key in (Get-ChildItem "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications")) { |
|||
Set-ItemProperty -Path ("HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\" + $key.PSChildName) "Disabled" 1 |
|||
} |
|||
|
|||
Write-Output "Denying device access" |
|||
# Disable sharing information with unpaired devices |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled" "Type" "LooselyCoupled" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled" "Value" "Deny" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled" "InitialAppValue" "Unspecified" |
|||
foreach ($key in (Get-ChildItem "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global")) { |
|||
if ($key.PSChildName -EQ "LooselyCoupled") { |
|||
continue |
|||
} |
|||
Set-ItemProperty -Path ("HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\" + $key.PSChildName) "Type" "InterfaceClass" |
|||
Set-ItemProperty -Path ("HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\" + $key.PSChildName) "Value" "Deny" |
|||
Set-ItemProperty -Path ("HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\" + $key.PSChildName) "InitialAppValue" "Unspecified" |
|||
} |
|||
|
|||
Write-Output "Disable location sensor" |
|||
New-FolderForced -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Permissions\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Permissions\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" "SensorPermissionState" 0 |
|||
|
|||
Write-Output "Disable submission of Windows Defender findings (w/ elevated privileges)" |
|||
Takeown-Registry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet") |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Spynet" "SpyNetReporting" 0 # write-protected even after takeown ?! |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Spynet" "SubmitSamplesConsent" 0 |
|||
|
|||
# The following section can cause problems with network / internet connectivity |
|||
# in generel. See the corresponding issue: |
|||
# https://github.com/W4RH4WK/Debloat-Windows-10/issues/270 |
|||
#Write-Output "Do not share wifi networks" |
|||
#$user = New-Object System.Security.Principal.NTAccount($env:UserName) |
|||
#$sid = $user.Translate([System.Security.Principal.SecurityIdentifier]).value |
|||
#New-FolderForced -Path ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) |
|||
#Set-ItemProperty -Path ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) "FeatureStates" 0x33c |
|||
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseCredShared" 0 |
|||
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseOpen" 0 |
@ -1,93 +0,0 @@ |
|||
# Description |
|||
# This script will apply MarkC's mouse acceleration fix (for 100% DPI) and |
|||
# disable some accessibility features regarding keyboard input. Additional |
|||
# some UI elements will be changed. |
|||
|
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\New-FolderForced.psm1 |
|||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1 |
|||
|
|||
Write-Output "Elevating priviledges for this process" |
|||
do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) |
|||
|
|||
Write-Output "Apply MarkC's mouse acceleration fix" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "MouseSensitivity" "10" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "MouseSpeed" "0" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "MouseThreshold1" "0" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "MouseThreshold2" "0" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "SmoothMouseXCurve" ([byte[]](0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xCC, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x80, 0x99, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x66, 0x26, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00)) |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" "SmoothMouseYCurve" ([byte[]](0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA8, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00)) |
|||
|
|||
Write-Output "Disable mouse pointer hiding" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" "UserPreferencesMask" ([byte[]](0x9e, |
|||
0x1e, 0x06, 0x80, 0x12, 0x00, 0x00, 0x00)) |
|||
|
|||
Write-Output "Disable Game DVR and Game Bar" |
|||
New-FolderForced -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" |
|||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" "AllowgameDVR" 0 |
|||
|
|||
Write-Output "Disable easy access keyboard stuff" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Accessibility\StickyKeys" "Flags" "506" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Accessibility\Keyboard Response" "Flags" "122" |
|||
Set-ItemProperty -Path "HKCU:\Control Panel\Accessibility\ToggleKeys" "Flags" "58" |
|||
|
|||
Write-Output "Disable Edge desktop shortcut on new profiles" |
|||
New-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Name DisableEdgeDesktopShortcutCreation -PropertyType DWORD -Value 1 |
|||
|
|||
Write-Output "Restoring old volume slider" |
|||
New-FolderForced -Path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC" |
|||
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC" "EnableMtcUvc" 0 |
|||
|
|||
Write-Output "Setting folder view options" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "Hidden" 1 |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "HideFileExt" 0 |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "HideDrivesWithNoMedia" 0 |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "ShowSyncProviderNotifications" 0 |
|||
|
|||
Write-Output "Disable Aero-Shake Minimize feature" |
|||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "DisallowShaking" 1 |
|||
|
|||
Write-Output "Setting default explorer view to This PC" |
|||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "LaunchTo" 1 |
|||
|
|||
Write-Output "Removing user folders under This PC" |
|||
# Remove Desktop from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" |
|||
# Remove Documents from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" |
|||
# Remove Downloads from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" |
|||
# Remove Music from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" |
|||
# Remove Pictures from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" |
|||
# Remove Videos from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" |
|||
# Remove 3D Objects from This PC |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" |
|||
Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" |
|||
|
|||
#echo "Disabling tile push notification" |
|||
#New-FolderForced -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" |
|||
#sp "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" "NoTileApplicationNotification" 1 |
Loading…
Reference in new issue