mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-19 03:25:37 +00:00
This fixes issue #76
This commit is contained in:
parent
cdddf0b477
commit
c78b37c070
@ -447,9 +447,8 @@ $RemoveAllBloatware.Add_Click( {
|
||||
#Disables People icon on Taskbar
|
||||
Write-Host "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 suggestions on start menu
|
||||
@ -705,9 +704,8 @@ $RemoveBloatNoBlacklist.Add_Click( {
|
||||
#Disables People icon on Taskbar
|
||||
Write-Host "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 suggestions on start menu
|
||||
@ -859,12 +857,11 @@ $RevertChange.Add_Click( {
|
||||
Set-ItemProperty $DataCollection AllowTelemetry -Value 1
|
||||
|
||||
#Re-enables People Icon on Taskbar
|
||||
Write-Host "Enabling People icon on Taskbar"
|
||||
$People = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People"
|
||||
If (!(Test-Path $People)) {
|
||||
New-Item $People
|
||||
Write-Host "Enabling People Icon on Taskbar"
|
||||
$People = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People'
|
||||
If (Test-Path $People) {
|
||||
Set-ItemProperty $People -Name PeopleBand -Value 1 -Verbose
|
||||
}
|
||||
Set-ItemProperty $People PeopleBand -Value 1
|
||||
|
||||
#Re-enables suggestions on start menu
|
||||
Write-Host "Enabling suggestions on the Start Menu"
|
||||
@ -1128,11 +1125,10 @@ $DisableTelemetry.Add_Click( {
|
||||
|
||||
#Disables People icon on Taskbar
|
||||
Write-Host "Disabling People icon on Taskbar"
|
||||
$People = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People"
|
||||
If (!(Test-Path $People)) {
|
||||
New-Item $People
|
||||
$People = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People'
|
||||
If (Test-Path $People) {
|
||||
Set-ItemProperty $People -Name PeopleBand -Value 0 -Verbose
|
||||
}
|
||||
Set-ItemProperty $People PeopleBand -Value 0
|
||||
|
||||
#Disables scheduled tasks that are considered unnecessary
|
||||
Write-Host "Disabling scheduled tasks"
|
||||
|
Loading…
Reference in New Issue
Block a user