Run snapin as Admin / Import-StartLayout
I’m trying to deploy a start menu layout via PowerShell
The command is Import-StartLayout -LayoutPath startlayout.xml -MountPath C:\
This command writes to C:\Users\Default, this directory requires admin to access.
I have it set up kinda funny (see attached screenshot) but the read-only of the command is exactly what I need.
Has anyone had a similar issue that can offer some insight as to how I can deploy this as a snapin
i’d split this up - use GPO or at minimum registry to achieve this then snapin to push out relevant xml start menu layout
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Explorer] - 64bit location
you can partially lockdown start menu aswell so you give users a standard put they can pin their own stuff too (not allowed to edit what you’ve set)
the snapin could just handle which start menu they get
i.e. Admin-> this startmenu.xml
IT-> this startmenu.xml
just when they reach the location set in registry name it the same so like:
IT-Startmenu.xml copies locally to startmenu.xml
Admin-Startmenu.xml copies locally to startmenu.xml
Hope this makes sense