Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Placing an icon on desktop using group policy

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-11-2006
Fazal
 
Posts: n/a
Placing an icon on desktop using group policy

Hi,

I want to place an icon which would be a shortcut for an intranet site
on all the user's desktop using group policy. I have searched the group
policy but there is nothing which I could use to address my issue.
Please help.
Reply With Quote
  #2  
Old 26-11-2006
Simon Geary
 
Posts: n/a
Re: Placing an icon on desktop using group policy

You could write a new VB logon script that creates the shortcut and use
Group Policy to assign the script. The following code should do the trick.

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
Reply With Quote
  #3  
Old 15-01-2010
Member
 
Join Date: Sep 2009
Posts: 1
Re: Placing an icon on desktop using group policy

Thanks! Your script works... almost ;)

Just add End With after your last line .Save

//Cptred
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Placing an icon on desktop using group policy"
Thread Thread Starter Forum Replies Last Post
Force desktop icons using Group Policy? jonnythan@gmail.com Windows Security 2 19-10-2011 04:29 PM
Active desktop background in group policy matthew.d.herring@gmail.com Active Directory 4 20-06-2011 02:33 PM
Group Policy for Registry Permissions yielding Red X Icon on RSOP Meinolf Weber [MVP-DS] Active Directory 1 20-02-2010 03:04 AM
Active desktop in group Policy Nati Active Directory 3 06-09-2009 02:20 PM
Active desktop background in group policy based on web yosemite_85 Windows Software 2 24-03-2009 05:26 PM


All times are GMT +5.5. The time now is 06:51 PM.