It is that simple, I stopped doing the delete in logon scripts because
for some bizarre reason, the del would work and the copy would fail
(sometimes), removing their shortcut altogether.

 

What I ended up with is:

 

copy \\Domain\Shortcuts\shortcut.lnk "%userprofile%\desktop" /Y

 

The /Y does overwrite.  Works well for me.

 

Matt

 

From: Joe Heaton [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2008 12:41 PM
To: NT System Admin Issues
Subject: Question for all you gurus

 

I need to replace a shortcut on all my users' desktops.  My thinking is
to include this in the login script.  Is this possible?  Is it a matter
of the following:

 

Del c:\documents and settings\%username%\desktop\shortcut.lnk

Copy \\servername\share\newshortcut.lnk
<file:///\\servername\share\newshortcut.lnk>  c:\documents and
settings\%username%\desktop\shortcut.lnk

 

Is it that simple, or am I truly a noob?

 

Joe Heaton

AISA

Employment Training Panel

1100 J Street, 4th Floor

Sacramento, CA  95814

(916) 327-5276

[EMAIL PROTECTED]

 

 

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to