Solved

Scheduled task completed with Status code: 0*80 in Win 2008 R2

Posted on 2014-11-17
9
482 Views
Last Modified: 2015-06-24
i can see,most of scheduled task in my server [Win 2003]are showing last run status with result code : 0*80

so need to check if all is fine with Server/OS/Scheduler ?

can we have detail for all such result code with required action if result code for scheduled task is not 0*0 ?
0
Comment
Question by:patron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
9 Comments
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40449012
Here's a complete list of all the Windows Completion Codes: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681381%28v=vs.85%29.aspx

0x80 translates to ERROR_WAIT_NO_CHILDREN - There are no child processes to wait for.

As you can see from that page, there's a massive amount of codes. Perhaps if you could tell us how the Scheduled Task is configured then we may be able to find out why it's returning with that code.
0
 
LVL 1

Author Comment

by:patron
ID: 40449079
we have several schedule task configured daily @different time stamp for different files/exe to be run like with ext:.bat/.vbs and some other customized database(fp5) files to be run @different time stamp.

but now days we have observed last run status code is : 0*80 ..

so need to investigate is it causing due to OS/Server/Scheduled task misconfiguration ?

Only status we are getting for scheduled task in task log file : Task Completed with an exit code of (80)

but in actual we have observed motive was not achieved by this task..like if one task was configured to stop such service @ 8 AM..it was completed @approx @8 AM with code: 0*80 -but service yet not stopped, so have to kill/stop this service manually
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40449881
Do all of the failed scheduled tasks return the exit code of 80?

Perhaps just try re-entering the username/password used for the Scheduled Task as a first step. Without in-depth knowledge of these scripts and your environment though, I'm not too sure what other suggestions to make.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Author Comment

by:patron
ID: 40452219
yes, coming for all /most of the scheduled task.

that  re credential option i have tried .no luck
0
 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 500 total points
ID: 40452255
Have you checked the Task Manager to see if there are any hung processes for your Scheduled Tasks?

Also check the Event Logs for the times the tasks run and report back with any errors/warnings.

You can also try recreating one of the failed tasks to see if that fixes the problem.

Failing that, you may need to ask if anyone has modified any of the scripts that the tasks run.
0
 
LVL 1

Author Comment

by:patron
ID: 40482176
Sorry for delayed response... tried with all ways..no luck.

and status code occurring after difference for 10-15 days,increased desktop heapsize as well,no luck!!

one more issue observed during status code we received it was not allowing  to take rdp as well with session id 0 , so only after reboot it allowed to take rdp with session id:0 [remote machine]
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40849858
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
0
 
LVL 1

Author Closing Comment

by:patron
ID: 40849859
Thanks
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question