Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copying a file at logon troubles

Status
Not open for further replies.

browolf

Programmer
Dec 18, 2001
442
0
0
GB
am trying to copy the login script on to the desktop of some laptops at login (dont ask)

using the command

if %computername:~0,3% == LAP xcopy /Y /D \\lsahtc_win2k1\netlogon\ntstaff.bat "c:\documents and settings\%username%\desktop"


if i run the login script in a cmd window after login has occurred it works fine. it doesnt work when the login script runs normally. is this something to do with profiles not being initialised or something? any thoughts on what to do to get it to work

thx

===============
Security Forums
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top