Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with running a .bat file in windows 2003. If I change the user to Admin, I can run it without any problem, but with SYSTEM as user, it will not run. The command is:

SCHTASKS /Create /SC Weekly /TN Import /TR "\"c:\path\to\prog.bat" /D Monday /ST 10:00 /F /RU SYSTEM

The .bat file opens Python.exe with a run file, and a configuration file, and the configuration file is placed in C:\Documents and Settings\Administrator\Application Data\.

Hope you can help.

share|improve this question
    
What does "will not run"mean? What error msgs (if any)? – kreemoweet Jan 17 '12 at 2:45

Don't run it as System. System was never intended to be used as an user anyways.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .