In addition, this script can be used in a few other ways:Ī. #Import-StartLayout -LayoutPath $layoutFile -MountPath $env:SystemDrive\ # Uncomment the next line to make clean start menu default for all new users #Restart Explorer and delete the layout file Set-ItemProperty -Path $keyPath -Name "LockedStartLayout" -Value 0 ![]() $basePath = $regAlias + ":\SOFTWARE\Policies\Microsoft\Windows" ![]() #Enable the ability to pin items again by disabling "LockedStartLayout" It worked for me (see PS2), but I don't know if it would work for everybody.įrom this and this, I made the following script, which did the thing for me: (New-Object -Com Shell.Application). WARNING: The script runs without confirmation and feedback.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |