• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
690
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 Dec 11, 2018, 12:03 PM Dec 11, 2018, 5:58 PM

    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
    • L
      Lee Rowlett Developer
      last edited by Lee Rowlett Dec 11, 2018, 3:08 PM Dec 11, 2018, 9:07 PM

      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
      1 / 1
      • First post
        2/2
        Last post

      144

      Online

      12.2k

      Users

      17.3k

      Topics

      155.5k

      Posts
      Copyright © 2012-2024 FOG Project