PC-Addicts.com

Systems Administration

Server 2012 Deploy Desktop Shortcuts using Group Policy

October 3, 2012 by chrisadmin

How to deploy desktop shortcuts using Windows Server 2012.

A very common task in any domain environment is to deploy desktop shortcuts (icons) to either all of your user’s computers or to a certain group of user’s computers depending on what group(s) the user is a member of.

For this tutorial, our environment consists of the following:

  • Windows Server 2012 domain controller
  • Windows 8 client
  • Both are 64 bit (not needed, but thought I would mention it)
  • Want a shortcut to PC-Addicts.com placed on all desktops in the environment

Deploying Desktop Shortcuts to All User’s Computers

The screenshot below is what we will be accomplishing in this tutorial. All computers (and servers) will be getting this new desktop icon shortcut.

Windows 8 Server 2012 Deploy Shortcut Icons

Open up Group Policy Management on your Windows Server 2012 box.

  • Launch Server Manager
  • Click on Tools
  • Select Group Policy Management

Server 2012 Launch Group Policy Management

Expand the tree and right-click on the OU you want this policy to be applied to.

For this example, I want all of the users in the environment to have this shortcut.

Right-click NOTCREATIVE OU and select Create a GPO in this domain, and Link it here.

Server 2012 Create a GPO

Give the policy a descriptive name so it’s easy to determine exactly what this policy is for.

I am giving this policy the name: Shortcut – PC-Addicts.com. Then press OK.

Server 2012 New GPO Name

Now right-click on the newly created and linked policy and select Edit.

Server 2012 Edit GPO

In the Group Policy Management Editor window, expand User Configuration | Preferences and click on Shortcuts.

Right-click in the white empty area, select New and then select Shortcut.

Server 2012 Edit GPO New Shortcut

On the General tab, fill in the following:

  • Name: PC-Addicts.com Website (this is the name that will show up on the shortcut on the desktops)
  • Target type: URL
  • Location: Desktop
  • Target URL: https://pc-addicts.com

Server 2012 New Shortcut Properties General

Click on the Common tab.

Select Remove this item when it is no longer applied and select OK to the prompt about changing the Action field to ‘Replace’.

What this will do is remove the icon if we delete this policy, or if the user falls out of the OU structure that has this policy applied to it.

In the Description field, I find it best practice to write a short not about the policy. Over time when you start to have a lot of polices, this can save you a lot of time from having to remember or figure out when and why you set the policy.

Here I will write All users shortcut pointing to web address pc-addicts.com. Added 10/3/2012 by CD <– my initials

Then select OK.

Server 2012 New Shortcut Properties Common

Exciting news: We are done!

Jump over to your client machine and open a command prompt (better yet, PowerShell).

Type gpupdate at the prompt.

After a few seconds,  you should now see your new shortcut on your desktop.

Server 2012 Windows 8 Deployed Shortcut Gpupdate

Removing Deployed Shortcuts

As long as you followed the steps above and selected to Remove this item when it is no longer applied in the policy properties, the following will work.

Server 2012 Remove Item No Longer Applied

For this tutorial and testing purposes, we will Delete the policy from the OU, but will not delete the enitre policy. It will still be available for future use if we want to link it to another OU.

In Group Policy Management, right click the policy and select Delete.

Server 2012 Delete Policy

If you read the next window that pops up, it’s telling us we are only deleting the link, not the GPO, which is a good thing.

Server 2012 Delete Link Not GPO

Select OK on the warning.

Now jump back on your client computer, open a command prompt (better yet, PowerShell)

At the prompt, type gpupdate and press Enter.

After a few seconds, your shortcut should disappear.

Server 2012 Removed Deployed Shortcut Gpupdate

Filed Under: Uncategorized

Copyright © 2021 PC-Addicts by Chris Davis · Log in

Copyright © 2021 · Metro Pro Theme on Genesis Framework · WordPress · Log in