Home > Task Scheduler > 0x2331 Task Scheduler Error

0x2331 Task Scheduler Error

Contents

I'm starting to think that it may be related to the program that is trying to launch and the process it is trying to run instead of the Task Scheduler after When I leave it up to the scheduler it fails with a 0x2331 error. If you put in the quotations around the directory, even though there is aspace,within the Start in boxI find it doesn't work, so you see I didn't put them in. See this tutorial video: https://www.youtube.com/watch?v=VrysmzdF4Vc Sunday, November 01, 2015 12:19 PM Reply | Quote 0 Sign in to vote Thank you sir, this worked for me too! have a peek at this web-site

Sunday, August 18, 2013 8:53 AM Reply | Quote 0 Sign in to vote I had this same exact issue. The Last Run Result shows 0x1, this means it didn't execute properly. I did as you instructed and checked run with highest privileges and unchecked the AC power condition. C++11 - typeid uniqueness Composition of Derangements Why does typography ruin the user experience?

0x2331 Task Scheduler Error

suddenly no problem! On investigation, Exchange 2010 was treating email from this server as spam. When that's working, set the scheduled task to run as that user.

  1. Once i changed it to Windows 2008R2 , it just worked fine with whether or not user logged in option.
  2. Antivirus MSE and Malwarebytes Pro 1.75 Browser Comodo Dragon Golden View Public Profile Find More Posts by Golden 22 Apr 2015 #6 blockie W7 Ultimate 621 posts in Assisted Care
  3. In my case i m invoking the task from System account where the folder where the batch script resides has full control of System account.
  4. When the batches are executed manually, they deliver the expected results.   Thanks ahead of time for any offered suggestions.   Reply Subscribe View Best Answer RELATED TOPICS: Windows Server 2008
  5. You don't need to include the BAT file itself, just the path to the directory.
  6. I have checked the path to the batch file time and again.

What is the max time it would take yeast to "clean up"? Agrree that MS has total F..... Esker" mean? Group list elements using second list What does "M.C." in "M.C.

If helpful, i could post the history logs as well. Windows Server 2008 R2 Task Scheduler Not Running Batch File Client requesting admin work more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts I guess I shouldn't be surprised, in retrospect.  Here's the batch we have: powershell -command ".\\autopurge.ps1" powershell -command ".\\Compare-SQL_Backups.ps1" powershell -command ".\\Compare-DataSet1.ps1" powershell -command ".\\Compare-DataSet2.ps1" The first script deletes logs older So I moved my batch on the server and everything worked correctly.

MSFT hasn't made it easy. –jdg May 10 at 17:06 Thanks for your help, but when I made those changes I get a 0x1 error. Proposed as answer by Skrigz Monday, October 08, 2012 8:02 PM Wednesday, September 12, 2012 11:29 PM Reply | Quote 6 Sign in to vote I have found that entering the The batch was using the "move" command, sending files from a local disk source to a mapped drive destination.  I thought the "move" command may have been the limitation.  So tried Originally, I had set-up the actions via this link: http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/004_SharePointActions/012_SchedulingPowerShell.htm I noticed another PowerShell script which another Admin had set-up successfully.

Windows Server 2008 R2 Task Scheduler Not Running Batch File

The bat file with pause revealed that I was trying to delete file in folder "image". It turns out for us that the "Start in" field needed something.  By putting the full path of the script without quotes as Jay suggested, now the task runs without errors.  0x2331 Task Scheduler Error Problem. 0x41301 Task Scheduler At the end of the script I had the following: Disconnect Close The correct syntax should be Close exit See and example of the script below. ------------------------------------------------------------------------------------------------------------- Tuesday, September 29, 2015

I have done everything in every forum thread I've found to fix this and nothing works. Check This Out I.4 OS Windows 7 Ult. NOTE: if you aretrying to connect to an AS400 network folder, open an AS400 session. Then in the "Start in" path I have the path to the last directory up to the script and NOT in quotes. -Jay   0 Pimiento OP JPH-333 0x1 Task Scheduler Error

Oracle flashback query syntax - all tables to same timestamp Is there an illusion in the tutorial area? Antivirus MSE and Malwarebytes Pro 1.75 Browser Comodo Dragon Golden View Public Profile Find More Posts by Golden 19 Apr 2015 #3 blockie W7 Ultimate 621 posts in Assisted Care Privacy statement  © 2016 Microsoft. Source This file didn’t work with scheduler but it works manually.

Then in the "Start in" path I have the path to the last directory up to the script and NOT in quotes. -Jay   8 Jalapeno OP T-Rav Program File Checker will start checking for 0x2331 Task Scheduler Error additional program Document issues as well as (have patience - the program check usually takes a while). Any idea why this would happen? –Andrew May 10 at 16:36 Task Scheduler is very unclear, but I found an article from a MSFT forum that speaks to that.

I've set the task so that it points to the cmd file.

Bill My System Specs Computer type Laptop System Manufacturer/Model Number Asus OS W7 Ultimate CPU 2.2 bh Intel Core i3-2330M Motherboard Asustek Computer Inc. General Discussion File Manager that works?Hi All, I was wondering if anyone can recommend an alternative file management program to windows explorer that works with Windows 7. What would be the value of gold and jewelry in a post-apocalyptic society? You need to find both the programmatic as well as the runtime condition where these errors occur.

Not the answer you're looking for? Once you are confident the task executes, then set the schedule part. –jdg May 9 at 14:55 The task executes properly when I select "run only when user is share|improve this answer edited Nov 22 '12 at 9:31 HopelessN00b 44.6k1798168 answered Nov 22 '12 at 9:08 Christos 111 add a comment| Your Answer draft saved draft discarded Sign up http://discusswire.com/task-scheduler/task-scheduler-0x3-robocopy.html I have tested every possible solution suggested above and nothing has worked.