Organizations sometimes may want to add certain shortcuts to all or some of the computers in their domain. For example, there might be a set of applications that all employees in an organization would need to use. The organization may have guidelines as to how their desktops should look like, and one of them may be that all computers should have a list of application shortcuts on their desktop screen. In such cases, administrators can create desktop shortcuts on a domain computer using group policy objects (GPO).
Note: The mentioned functionality is available starting from Windows Server 2008 R2, and hence the following process is applicable only on Windows Server 2008 R2, or higher.
How to create desktop shortcuts on domain computers via GPO
This process of creating desktop shortcuts involves the following steps:
- Creating a new GPO and link it to the domain
- Editing the GPO to add shortcuts to domain computers
Creating a new GPO and link it to the domain
Creating a GPO is don't through the Group Policy Management Console. Here's how you can do it:
- Go to Start -> Administrative Tools, and click on Group Policy Management. The Group Policy Management Console window will open.
- In the left pane, navigate to the domain on which you want the policy to be applied. Right-click on the domain container, and click Create a GPO in this domain, and Link it here.
- Enter a name for the GPO, and click OK.
A new GPO will be created in the selected domain.
Editing the GPO to add shortcuts to domain computers
Now that the GPO has been created, it is time to edit the policy to add shortcuts to the domain computers. Here's how you can do it:
- Right-click on the GPO that was created, and click Edit.
- In the left pane of the window that pops up, navigate to User configuration -> Preferences -> Windows Settings -> Shortcuts.
- In the right pane, right-click on the blank area, and click New, and then Shortcut.
- In the windows that pops up, under the Action section, choose Update.
- Under the Name section, enter the name that will be displayed for the shortcut that will appear on the desktop screen.
- Choose the Target type, whether it is an application (File System Object), or a URL, or a Shell Object.
- Choose the location where you want the shortcut to be created. In this case, it will be a Desktop.
- Mention the Target path, which is the location where the application is installed.
- Mention the Icon file path, which is the location of the icon image which will be the shortcut's icon.
- In the Common tab, check the Run in logged-on user’s security context (user policy option) option.
- Click OK to confirm the action.
Now the shortcut should apply to all the computers in the domain after the group policy is updated. To apply the policy immediately, you can force the GPO update. To do that, in the left pane of the Group Policy Management Console window, navigate to the domain container where the GPO was created and linked, right-click on it, and click Group Policy Update. The policy will then be updated to all the computers in the domain one by one.
Creating desktop shortcuts only on selected users or computers via GPO
If you want to create the shortcut only for a specific set of users or computers in the domain, firstly you will have to add the users or computers in a separate group if they are not part of a separate group already. Once that is done, follow the process mentioned above until step j. Then, perform the following additional steps before proceeding to step k:
- In the Common tab, check the Item-level targeting option.
- Click the Targeting button, In the window that pops up, click New Item, and then Security Group.
- Add the group to which you want the GPO to apply.
- You can choose whether you want the GPO to apply to only the users or only the computers in the group.
- Click OK to confirm the action.
These additional steps will ensure that the GPO applies only to the particular users or computers that are part of the selected group.