Question

Locked

Login Script to create a shortcut on user desktops

By N3wITguy!! ·
I've created an email template/form, that will sit on a public drive every user in a multi-site domain can access.

I'd like to script/make a login script to deploy a shortcut to this file, from 'every' users desktop.

Environment is Windows 2003 Server with clients using win 2k / xp & vista

How would I go about this and what should the login scipt look like.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Are you using logon scripts at all

by Jacky Howe In reply to Login Script to create a ...

This could be run from a batch file.
<br>
copy "\\server\share\filename.lnk" "C:\Documents and Settings\All Users\Desktop"
<br><br>
http://www.rlmueller.net/LogonScriptFAQ.htm
<br><br>
<i>Keep us informed as to your progress if you require further assistance.</i>
<br><br>
<i>If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as <b>Helpful</b> so that others may benefit from the outcome.
</i>

Collapse -

Yes

by N3wITguy!! In reply to Are you using logon scrip ...

There are some login scripts running,

What would be the more effective way to do this. The result I'm hoping for is to test on a couple users, then next time everyone boots, it just pushes this shortcut onto their desktop and then is done.

Will read what you linked thanks

Collapse -

There are a couple of samples

by Jacky Howe In reply to Yes

in there. I just hope that the users have permission to copy to all users. Keep us posted as there are other alternatives.

Rob

Collapse -

An alternative

by Jacky Howe In reply to Yes

You can update all of the Workstations at once using this technique.
<br><br>
Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.
<br>
C:\test is a folder on the File Server, place the file that you want copied in there. If the file exists on the Workstation it will be overwritten.
<br><br>
File 1 = copyto.bat
<br><br>
FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$\Documents and Settings\All Users\Desktop"
<br><br>
Put your files that you want copied into a folder EG: c:\test
<br><br>
File 2 = WS.txt
<br>
\\ws01.minero.local
<br>
\\ws02.minero.local
<br><br>
<i>Keep us informed as to your progress if you require further assistance.</i>
<br><br>
<i>If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as <b>Helpful</b> so that others may benefit from the outcome.
</i>

Back to Networks Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums