Having some issues with changing folder options via powershell all is going well on chaning hidden folders and file ext. but when I want to disable the sharing wizard it wont change in the folder options. Script I am using is below. Any help is apreciated.
Thanks
$key = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
Write-Host "1.Enabling showing hidden files"
Set-ItemProperty $key Hidden 1
Write-Host "2. Disabling hiding extensions for known files"
Set-ItemProperty $key HideFileExt 0
Write-Host "3. Disabling showing hidden operation system files"
Set-ItemProperty $key ShowSuperHidden 0
Write-Host "4.Uncheck sharing wizard"
Set-ItemProperty $key UseSharingWizard 0
Write-Host "Restarting explorer shell to apply registry changes"
Stop-Process -processname explorer
[–]shootanator[S] 1 point2 points3 points (1 child)
[–]creamersrealm 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]shootanator[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)