mirror of
https://github.com/Disassembler0/Win10-Initial-Setup-Script.git
synced 2026-04-23 03:00:50 -04:00
Fix copy paste error in EnableSharingWizard (#134)
SharingWizardOn must be deleted and not PersistBrowsers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user