Placing an icon on desktop using group policy
I am looking to place an icon that will be a shortcut for an intranet site on all the users desktop using group policy. I have checked the group policy but there is nothing which I can use to address my problem. Can anyone please help me out? Thanks.
Re: Placing an icon on desktop using group policy
You can try to write a new VB logon script that will create the shortcut and use Group Policy to assign the script. Check the below code that will work for you:
Code:
Set objShell = WScript.CreateObject("WScript.Shell")
strDesktop = objShell.SpecialFolders("Desktop")
Set objShortcut= objShell.CreateShortcut(strDesktop & "\Simon's new
Shortcut.lnk")
With objShortcut
.TargetPath = "\\server\share\app.exe"
.WorkingDirectory = strDesktop
.Save
Re: Placing an icon on desktop using group policy
Thanks! Your script works... almost ;)
Just add End With after your last line .Save
//Cptred