Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GPO Shortcuts

Status
Not open for further replies.

site4sure

IS-IT--Management
Aug 15, 2002
171
US
Hi,

Is there any way to have GPO download certain shortcuts that I specify onto the users desktop when they log on. Like a shortcut to our document root, a shortcut to the Active Directory etc..??

 
Try this, but make sure you put in the correct shortcut names....

Code:
' VBScript.
Set Shell = CreateObject("WScript.Shell")
DesktopPath = Shell.SpecialFolders("Desktop")
Set link = Shell.CreateShortcut(DesktopPath & "\what it will say on the desktop.lnk")
link.Arguments = ""
link.Description = "Shorcut to ???? folder"
link.HotKey = ""
link.IconLocation = "explorer.exe,1"
link.TargetPath = "\\server\folder"
link.WindowStyle = 3
link.WorkingDirectory = "\\server\folder"
link.Save

Put this in your GPO's logon script (for users), and the "shortcuts" will appear "magically".

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top