I would like to ask you if you can help me with distribution of new .scr file to around 3000 win xp clients in domain.
I thought that logon script can do this via simple line of: copy [source] [ destination]
and job would be done but I'm not sure if logon script has enough rights to copy .scr file to sensitive location like /windows/system32/ and I don't want to run it each time a user logs domain..its enough to run it once.
So I would like to use simple DOS environment (if->do) and loopback, some .bat or .cmd to:
1.) copy example.scr file from shared folder \\server\share to each hostname's c:/windows /system32
2.) source of hostnames is hostnames.txt
3. perform this operation for each hostname from source hostnames.txt
4.) ideally to produce some log file which hostname was or was not successful
Can you please write short script or command that will perform it?
Thank you very much for your help