Update Windows10Debloater.ps1

This commit is contained in:
Richard Newton 2019-01-25 19:53:37 -08:00 committed by GitHub
parent 8f353b1059
commit cdddf0b477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,12 +268,10 @@ Function Protect-Privacy {
Set-ItemProperty $LocationConfig Status -Value 0
#Disables People icon on Taskbar
#Disables People icon on Taskbar
Write-Output "Disabling People icon on Taskbar"
$People = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People'
If (!(Test-Path $People)) {
mkdir $People -ErrorAction SilentlyContinue
New-ItemProperty $People -Name PeopleBand -Value 0 -Verbose
If (Test-Path $People) {
Set-ItemProperty $People -Name PeopleBand -Value 0 -Verbose
}
#Disables scheduled tasks that are considered unnecessary