jkoutroulelis
asked on
I need to copy a shortcut to all users desktops windows 2003
I have a shortcut to a network location that I need to copy to all users desktops in my Active Directory, however we are using Windows 2003 and I cannot use Group Policy management to do this so I would prefer to use a login script or batch file to do it instead.
so my shortcut would point to \\MYfileserver\PROJECTS
what's the best way to do this and obviously check to see if it is there already and not get stuck when running?
so my shortcut would point to \\MYfileserver\PROJECTS
what's the best way to do this and obviously check to see if it is there already and not get stuck when running?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can't use group policy it's Windows 2003 and does not support GPP to do this.
that script looks nice but frankly is over my skill level to feel comfortable using, I was hoping for a simple few lines to add to the login script to simply copy the .lnk file to the users desktop
ie.
copy \\MYDOMAINCONTROLLER\PROJE CTS.LNK "%userprofile%\Desktop
but I want to check first if the file is already there and not throw an error or worse make multiple copies
so something like
copy \\MYDOMAINCONTROLLER\PROJE CTS.LNK "%userprofile%\Desktop
if %userprofile%\Desktop\PROJ ECTS.LNK exists then skip???
what syntax am I looking for here I guess is my actual question
that script looks nice but frankly is over my skill level to feel comfortable using, I was hoping for a simple few lines to add to the login script to simply copy the .lnk file to the users desktop
ie.
copy \\MYDOMAINCONTROLLER\PROJE
but I want to check first if the file is already there and not throw an error or worse make multiple copies
so something like
copy \\MYDOMAINCONTROLLER\PROJE
if %userprofile%\Desktop\PROJ
what syntax am I looking for here I guess is my actual question
Maybe this other EE post will help you.
http://mobile.experts-exchange.com/questions/28386862/How-can-I-push-a-shortcut-to-a-BAT-file-to-all-users-desktop-via-Group-Policy.html
http://mobile.experts-exchange.com/questions/28386862/How-can-I-push-a-shortcut-to-a-BAT-file-to-all-users-desktop-via-Group-Policy.html
ASKER
works but very complex
http://technet.microsoft.com/en-gb/library/cc772536.aspx
I find login scripts that tedious for such a simple task.