I have a Windows Server 2008 with scheduled tasks running, mainly .bat files calling PHP files. I have 2 users on the server, one Admin and the other is a Standard user.
I used the Standard User to clear the history log in the Task Scheduler History tab using the Event Viewer. Now it won't record any history anymore. All of the scheduled tasks no longer have history in the History tab. However, the Last Run Result returns 0x0 and the schedulers are working fine. Please advise.
Easiest way is to use the Task Scheduler MMC snap-in. You can type 'Task Scheduler' in the Cortana search box or run mmc.exe and add the snap-in manually. Once you get the GUI, just right-click on the task and choose 'disable' - it's still there, just hidden:) I'm not sure why the command line has changed - weird. Double-click the Task Scheduler icon on the taskbar. In the list of scheduled tasks, right-click Critical Windows Update, and then click Delete. On the Advanced menu, click Stop Using Task Scheduler.
Example 2: Disable all scheduled tasks in a folder. This command uses the Get-Scheduledtask cmdlet to get all scheduled tasks in the UpdateTasks folder. The command pipes this information to the Disable-ScheduledTasks cmdlet, which disables these scheduled tasks.
After upgrading to Windows 10 I discovered that several tasks were disabled. I enabled them through Administrative Tools.except for Task Scheduler. All the options are grayed out. I checked the dependencies and enabled them. I ran SFC and got notified that it made some repairs but it didn't fix the problem.
I think the confusion is that on my server I had to right click the Task Scheduler Library on left hand side and right click to get the option to enable or disable all tasks history.
Hope this helps
Jim WallisJim Wallis
I have another possible answer for those wondering why event log entries are not showing up in the History tab of Task Scheduler for certain tasks, even though All Task History is enabled, the events for those tasks are viewable in the Event Log, and all other tasks show history just fine. In my case, I had created 13 new tasks. For 5 of them, events showed fine under History, but for the other 8, the History tab was completely blank. I even verified these tasks were enabled for history individually (and logging events) using Mick Wood's post about using the Event Viewer.
Then it hit me. I suddenly realized what all 8 had in common that the other 5 did not. They all had an ampersand (&) character in the event name. I created them by exporting the first task I created, 'Sync E to N', renaming the exported file name, editing the XML contents, and then importing the new task. Windows Explorer happily let me rename the task, for example, to 'Sync C to N & T', and Task Scheduler happily let me import it. However, with that pesky '&' in the name, it could not retrieve its history from the event log. When I deleted the original event, renamed the xml file to 'Sync C to N and T', and imported it, voila, there were all of the log entries in the History tab in Task Scheduler.
Jeremy GagliardiJeremy Gagliardi
The adjustment in the Task Scheduler app actually just controls the enabled state of a certain event log, so you can equivalently adjust the Task Scheduler 'history' mode via the Windows command line:
To check the current state:
For the keystroke-averse, here are the slightly abbreviated versions of the above:
Max payne 1 download apunkagames. Here is where I found it on a Windows 2008R2 server.Elevated Task SchedulerClick on 'Task Scheduler Library'It appears as an option on the right hand 'Actions' panel.
This may help others where there is no option to Enable/Disable the history anywhere in Task Scheduler.
Open Event Viewer (either in Computer Management or Admin Tools > Event Viewer).
In Event Viewer make sure the Preview Pane is showing (View > Preview Pane should be ticked)
In the left hand pane expand Application and Service Logs then Microsoft, Windows, TaskScheduler and then select Operational.
You should have Actions showing in the preview pane with two sections - Operational and below that Event nnn, TaskScheduler. One of the items listed in the Operational section should be Properties. Click this item and the Enable Logging option is on the General tab.
My problem was that the maximum log size had been reached and even though the overwrite old events option was selected it wasn't logging new events. I suspect that might have been a permissions issue but I changed it to Archive when full and all is now working again.
Hope this helps someone else out there. If you don't have the options I've mentioned above I'm sorry, but I don't know where you should look. Free casino games.
Mick WoodsMick Woods
Win 8.1 Pro
Brian Clark's answer above worked for me, but I'm posting here for those who may have to follow a slightly different sequence as I did.
When I ran Control Panel > Administrative Tools > Right Click Task Scheduler - 'Run as Administrator', I found the Actions pane to already contain the following action:
So my machine already had History enabled. But my machine needed to disable history first, then go back and 'Enable All Tasks History'. After that, my History showed up and I received no more errors. I'm assuming that action performed some type of initialization or setup that was never done properly from all the way back to OS installation.
I will also add that I had to exit Task Scheduler and reenter it before I could toggle the History Enable/Disable setting back and forth.
As noted earlier, there is an option to turn on or off History provided you open up task manager under the elevated 'Administrator' mode (right click on the Task Scheduler program/shortcut and choose 'Run As Administrator'). Then under 'Tasks' is your spot to stop or start History.
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Would you like to answer one of these unanswered questions instead?
Disable Windows Auto Reboot
Not the answer you're looking for? Browse other questions tagged windows-server-2008scheduled-taskswindows-scheduler or ask your own question.