1610 pts.
Q:
run bat file
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: Oct 27 2009  12:18 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
49385 pts.
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • Bookmark and Share
Yes, you can use a GPO to setup a scheduled task which would be created on all the machine which are effected by the GPO.

Put the batch file in a network share, then add a scheduled task to the GPO. By the next day all the machines will have the new GPO settings and will begin running the task.
Last Answered: Oct 27 2009  6:11 PM GMT by Mrdenny   49385 pts.
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Sumeshbnr   1610 pts.  |   Oct 28 2009  9:05AM GMT

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

 

ScottSCarver   90 pts.  |   Oct 30 2009  3:11AM GMT

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.

 

KevinBeaver   8705 pts.  |   Oct 30 2009  7:17PM GMT

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.