Fix copy paste error in EnableSharingWizard (#134)

SharingWizardOn must be deleted and not PersistBrowsers
This commit is contained in:
sippi90
2018-09-27 10:40:26 +02:00
committed by Disassembler0
parent a68bb170a4
commit a670106295

View File

@@ -1563,7 +1563,7 @@ Function DisableSharingWizard {
# Enable Sharing Wizard
Function EnableSharingWizard {
Write-Output "Enabling Sharing Wizard..."
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "PersistBrowsers" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "SharingWizardOn" -ErrorAction SilentlyContinue
}
# Hide item selection checkboxes