• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Run snapin as Admin / Import-StartLayout

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    powershell admin snapin startmenu
    2
    2
    591
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michIGY
      last edited by michIGY

      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

      it's wonky

      Thank you

      1 Reply Last reply Reply Quote 0
      • Lee RowlettL
        Lee Rowlett Developer
        last edited by Lee Rowlett

        i’d split this up - use GPO or at minimum registry to achieve this then snapin to push out relevant xml start menu layout

        Registry:
        [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Explorer] - 64bit location
        “LockedStartLayout”=dword:00000001
        “StartLayoutFile”="C:\PATH\TO\START\MENU\LAYOUT\.xml

        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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        169

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project