Question Locked

Login Script to create a shortcut on user desktops

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

5 replies

by rob miners

This could be run from a batch file.

copy "\\server\share\filename.lnk" "C:\Documents and Settings\All Users\Desktop"

http://www.rlmueller.net/LogonScriptFAQ.htm

Keep us informed as to your progress if you require further assistance.

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 Helpful so that others may benefit from the outcome. ;) :D

by n3witguy!!

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

by rob miners

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

Rob

by rob miners

You can update all of the Workstations at once using this technique.

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.

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.

File 1 = copyto.bat

FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$\Documents and Settings\All Users\Desktop"

Put your files that you want copied into a folder EG: c:\test

File 2 = WS.txt

\\ws01.minero.local

\\ws02.minero.local

Keep us informed as to your progress if you require further assistance.

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 Helpful so that others may benefit from the outcome. ;) :D

This discussion is closed to new replies.