Hi Saurabh Suman,
Thanks for your post. Before moving on, to narrow down the issue, please clarify the following questions:
1.When issue happen, is there any log about our issue? C:\Windows\System32\winevt\Logs System.evtx application.evtx Microsoft-Windows-TaskScheduler%4Operational.evtx Microsoft-Windows-TaskScheduler%4Maintenance.evtx
2.Please enable taskscheduler history and click the History tab to view the task's history. Click an event, in the list of events on the History tab, to view the description of the event. We need to check if task scheduler start fine(event id 100) and action running fine(event id 200) and complete(event id 201) for your specified task.
Event ID 100 indicates that a scheduled task has started Event ID 101 is normally logged when a task fails to start. Event ID 102 is normally logged when a task completes successfully Event ID 104 indicates a logon failure. Event ID 106 is logged when a task is created. Event ID 107 is normally logged when a task is launched due to a trigger Event ID 110 is normally logged when a user manually launches a task Event ID 129 indicates the process ID of a task that has run Event ID 200 contains information about the action defined in the scheduled task. Event ID 201 action completed Event ID 311 indicates that a process failed to start. Event ID 319 indicates that the Task Engine received a message from the Task Scheduler service requesting task launch, and is the best indicator of a task launch. In these events, the Task Engine is identified by the user SID, and the task name is also logged
Also, the issue you are facing might be caused due to some Windows 10 related files going missing or corrupt. Please follow the below steps to troubleshoot.
Step 1: DISM scan.
Deployment Image Servicing and Management (DISM) is a new command line tool that you can use to service a Windows image or prepare a Windows PE image. The DISM tool replaces the Package Manager (pkgmgr.exe), PEimg, and Intlcfg tools. DISM consolidates the functionality found in those three tools, as well as delivers new functionality to improve the experience of offline servicing.
Please follow the given steps to run a DISM scan:
- Press Windows + x on your keyboard.
- Select Command prompt (Admin) to open Administrator Command prompt.
- In the Administrator: Command Prompt window, type the following commands. Press the Enter key after each command:
dism.exe /online /cleanup-image /scanhealth
dism.exe /online /cleanup-image /restorehealth
If the issue persists, please follow the below step.
Step 2: Clean Boot.
Putting your system in__Clean Boot__ state helps in identifying if any third party applications or startup items are causing the issue. You need to follow the steps from the article mentioned below to perform a Clean Boot.
https://support.microsoft.com/en-us/kb/929135
Disclaimer: After troubleshooting, refer to this section "How to reset the computer to start normally after clean boot troubleshooting".
If the issue persists, please follow the below step
Step 3: Perform a Check disk.
- Turn on your computer and go to the lock screen and there press and hold Shift key and restart your Computer.
- Select Troubleshoot>advanced options>command prompt
- Type in the following command which will run a check disk.
chkdsk F: /r/f
and hit Enter
Disclaimer: While performing chkdsk on the hard drive if any bad sectors are found on the hard drive when chkdsk tries to repair that sector if any data available on that might be lost
Please let us know if the issue is fixed or you need any further assistance.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.