Running batch file as a scheduled task without user account

I am trying to run a batch file as a scheduled task on a windows xp machine. This would normally be relatively simple but the GPO's applied do not allow localaccounts to be created on the machine. I also have other restrictions which means that I cannot have a domain account to run the batch.

Is there any way of running the batch as a scheduled task without specifiying a user account
LVL 1
MartynLawsonAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Donald StewartConnect With a Mentor Network AdministratorCommented:
If you use the "AT" command your task will be run as the system account
 
How To Use the AT Command to Schedule Tasks
0
 
BrandonGalderisiCommented:
I believe if you don't specify a user, it will run as whatever user is currently logged in.  Which means it will only run as the logged in user.  I would say that if you have a real need to do this, contact your IT group and have them ease the restrictions to allow it.  That is the proper way to handle this.
0
 
Shift-3Commented:
The AT command is deprecated.  Schtasks offers much more functionality.  

Running the task under the System account is the way to go though.  Schedule it using the account "NT AUTHORITY\SYSTEM" and a blank password.  This will run it with administrative rights.  If the task needs to access files on a network share, grant the necessary permissions to the computer's AD account.
0
 
MartynLawsonAuthor Commented:
This works now that I have configured the task this way

Many thanks for your help
0
All Courses

From novice to tech pro — start learning today.