I need to deploy a batch file 123.bat to collect system information to a server in my network.And want to run this bat file on a daily basis at a particlual time .I can simply create a user logon script for this .but my problem is we have more than 200 systems and normlly the users didnt shutdown the system.so I cant run as a logon script .Is there any wany to run the script on a daily basis in fixed time ?
Thanks,
Software/Hardware used:
windows xp 2003 ,2008,vista
ASKED:
October 27, 2009 12:18 PM
UPDATED:
October 30, 2009 7:17 PM
Hi,
Thanks for your information .How can I add a script through GPO my ADS is runnning in windows 2000 server na I couldnt see the preferences otion under user /computer configuration .Please help
Thanks
Check out the pstools available from Microsoft.
One of the apps in the list is psexec. You can create your batch file on the server, create a scheduled task to run the batch file. In that batch file should be something like:
psexec \* \servernameshare123.bat
You may need to include the -u adminaccount -p password switches, depending on the type of information you need.
Make sure the batch file is located in a directory that your pc’s will have access too.
That’s what I have done…in a nutshell.
You could also create a file and email it to your users and have them run it or somehow tie it into another login script elsewhere on your network such as an intranet site.