PC Review


Reply
Thread Tools Rate Thread

Add / Deploy Icon

 
 
=?Utf-8?B?QWRhbQ==?=
Guest
Posts: n/a
 
      22nd May 2006
Is there a way either via group policy or a script to add an icon to all my
users desktops?
I do not want to set a standard desktop just add some icons.
I know I can add an icon to the all users or default users but how can I do
this remotely?

Thank you
 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      23rd May 2006
A couple of ways to do this include using the CreateShortcut method of
VBScript. Or try Marty List's cool tool Shortcut v. 1.11
http://optimumx.com/download/#Shortcut


This VBScript would create a shortcut to a mapped drive 'S:\'
--------------------------
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("AllUsersDesktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\S Drive.lnk")
oShellLink.TargetPath = "S:\"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "explorer.exe, 1"
oShellLink.Description = "Network S Drive"
oShellLink.WorkingDirectory = "S:\"
oShellLink.Save
Set WshShell = Nothing
Set oShellLink = Nothing
--------------------------

Also WSH 5.6 documentation download at
http://www.microsoft.com/downloads/d...displaylang=en

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Adam" wrote:
| Is there a way either via group policy or a script to add an icon to all
my
| users desktops?
| I do not want to set a standard desktop just add some icons.
| I know I can add an icon to the all users or default users but how can I
do
| this remotely?
|
| Thank you


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy won't deploy Masterpage.master GaryDean Microsoft ASP .NET 1 14th Apr 2009 02:50 AM
How to deploy an Icon to the desktop Arniec Microsoft Dot NET Framework 4 5th Feb 2008 06:57 PM
set Application ICON and deploy App short-cut to Program =?Utf-8?B?amVmZg==?= Microsoft Dot NET Compact Framework 4 6th Mar 2007 04:03 PM
deploy url icon =?Utf-8?B?c29seXN0?= Microsoft Windows 2000 Group Policy 2 29th Mar 2005 11:28 AM
.NET Framework deploy and the Setup and Deploy Projects Wilson Ricardo Passos Oliveira Microsoft Dot NET 1 6th Aug 2003 04:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:35 PM.