With new shortcuts on offer in Windows 10 its a lot easier for users to navigate but harder for admin to hide applications and features which users shouldn’t be using. By default the context menu for the start button has a number of applications which you don’t really want to advertise to standard users. Things like Powershell, Disk Management etc.
Although fishing around in group policy there doesn’t seem to be anyway to configure this menu within group policy. Looking around the Windows 10 OS, it appears that every user has their own start button context menu and to cut a long story short, these are only shortcuts configured for users. This location sits in every users profile at the following location:
The shortcuts are grouped into three folders. Group1, Group2 and Group3.
Knowing this, they can amended to to suit the users needs.
There are two options to edit this menu.
- Edit the menu during the OS deployment using SCCM
- Create a group policy script for the users that will edit the menu upon login
Edit the menu during OS Deployment
- Open your task sequence and insert a ‘Run a command’ step after OS installation
- Add the following command:
del /f "C:\Users\Default\AppData\Local\Microsoft\Windows\WinX\Group2\1 - Run.lnk" del /f "C:\Users\Default\AppData\Local\Microsoft\Windows\WinX\Group2\5 - Task Manager.lnk"
- When the machine works through the task sequence it will delete the Task Manager shortcut from the default user profile. Any new users (Domain aswell) that log onto the machine will copy the default profile which will not have these shortcuts
Group Policy Logon Script
- Edit or create a new group policy
- On the Group Policy Management Editor windows navigate to the following location:
- Open notepad and paste the following into it
del /f "%userprofile%\AppData\Local\Microsoft\Windows\WinX\Group2\1 - Run.lnk" del /f "%userprofile%\AppData\Local\Microsoft\Windows\WinX\Group2\5 - Task Manager.lnk"
- Save the notepad file as RemoveStartShortcuts.bat
- Back in the GP Editor, double click on Logon
- Click the ‘Show Files’ button and copy and paste the RemoveStartShortcuts.bat file into the ‘Show Files’ window
- Close the show files window and click ‘Add’. In the script name enter RemoveStartShortcuts.bat and click ok
- Ok all the open windows