Posted September 13, 200816 yr I was having trouble getting a scheduled task to run on Windows Server 2008 that was calling a .bat file to run. Specifically, I was getting a 0x1 error whenever the scheduled task ran. The solution was to type in the path to the ..bat file in the Start In(optional): in the edit action window. You get there by pressing the Edit button under the Actions tab. Here is an example path you'd type in if your .bat file is located under the temp folder at the root of drive c: c:\temp\bat I wanted to report this solution because it took me several days to discover this solution and I wanted to save someone else the trouble.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.