Jump to content

Recommended Posts

Posted

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

Posted

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

Posted (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 by Jamo
Posted

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.

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...