EN4CER Posted September 26, 2013 Posted September 26, 2013 Dear All, I have a Win2K3 DC with XP & Win7 clients and want to push a URL shortcut/icon onto all Desktops. Can someone please help us out, with the easiest way of achieving this?, not great on scripts, so doing via GPO preferred. Beer awaits Thanks in advance. ENNY
AngryTechnician Posted September 26, 2013 Posted September 26, 2013 Group Policy Preferences will handle this with ease. It's built in to Windows 7 but you'll need to deploy an update to the XP machines via WSUS. Here's how to set it up if you've never used it before: The Angry Technician’s Guide to Managing Windows 7, you Idiots | The Angry Technician 1
EN4CER Posted September 26, 2013 Author Posted September 26, 2013 Hi Angry Tech, lovely article, enjoyable read. I'll bring n my Win7 laptop and try next week. We dont use WSUS tho.. So this is the eadiest way to gt the shortcuts to the dedktops? Thanks again
Jamo Posted September 29, 2013 Posted September 29, 2013 (edited) Hi Angry Tech, lovely article, enjoyable read. I'll bring n my Win7 laptop and try next week. We dont use WSUS tho.. So this is the eadiest way to gt the shortcuts to the dedktops? Thanks again The update for GPP is quite old, I would have thought it possibly would be on the desktops already. Short of that create a script to create a link: VBScript: WshShell = CreateObject("Wscript.shell") strDesktop = WshShell.SpecialFolders("Desktop") oMyShortcut = WshShell.CreateShortcut(strDesktop + "\MyLink.lnk") oMyShortcut.TargetPath = "http://mywebsite.com" oMyShortCut.Save That should do it, save as createlink.vbs and run with "cscript.exe \createlink.vbs" in GP. Edited September 29, 2013 by Jamo
EN4CER Posted September 29, 2013 Author Posted September 29, 2013 Thanks James, once created where / how would I run the script inGP The update for GPP is quite old, I would have thought it possibly would be on the desktops already. Short of that create a script to create a link: VBScript: WshShell = CreateObject("Wscript.shell") strDesktop = WshShell.SpecialFolders("Desktop") oMyShortcut = WshShell.CreateShortcut(strDesktop + "\MyLink.lnk") oMyShortcut.TargetPath = "http://mywebsite.com" oMyShortCut.Save That should do it, save as createlink.vbs and run with "cscript.exe \createlink.vbs" in GP.
Jamo Posted September 29, 2013 Posted September 29, 2013 Create/edit a policy and add it to the user policy under windows / scripts / logon I think. Store the script centrally in netlogon or similar as long as everyone can read it who needs to it shouldn't matter. You can test by creating the vbs file and running as a user, should create the link for them on the desktop
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now