Solved

Windows 8.1 Task Scheduler History Not Working After Enable All Tasks History

Posted on 2014-09-13
6
1,131 Views
Last Modified: 2014-09-24
Environment = Windows 8.1 Enterprise running as guest on Server 2012 R2 Hyper-V

Problem = Task Scheduler History does not record event history for my basic (...bat) task.

NOTE = "Enable All Tasks History" has been activated - the "Disable All Tasks History" is being displayed.


Thanks,
Slator
0
Comment
Question by:Slator
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 40321462
Can you run
Schtasks /Query /FO LIST /V 

Open in new window

(from the command line) and  tell me if you get any history for any of your tasks ?
0
 

Author Comment

by:Slator
ID: 40322015
Thanks for the reply...
I ran the command line script and I do get history for  +++ tasks - I assume all of them except my (.bat) task.

ALSO:  I may have found a big piece of the "puzzle.
The History issue has something to do with which Configuration is selected on the Task's General Tab.  If I select any configuration other than "Windows 8.1", the History works as expected - this includes my (.bat) if I create a new task but not if I change the Configuration for the old/original  (.bat) Task.


I suppose you could call this a workaround but, I sure would like to know why a Windows 8.1 VM cannot use a Windows 8.1 Configuration for Task Scheduler Tasks.
0
 
LVL 29

Expert Comment

by:becraig
ID: 40322037
We can actually tweak the command to search for your task name:
Schtasks /Query /TN <your task name here> /FO LIST /V

Let's validate first that windows is not keeping a history of your task.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Assisted Solution

by:Slator
Slator earned 0 total points
ID: 40322324
I ran the query for my (.bat) file and the result did not seem to reference any history.  I also ran the query for a task that is displaying history and I could not see any difference between the two query results...

I have attached a .txt file that has both results.

Yesterday I created an identical VM (same Hyper-V + same Win8.1 .iso +++) and the problem was not replicated.

Let me know what you think after looking at the query results...

P.S.  I would still like to know what caused the problem but, unless you have a plan in mind, I am inclined to think the issue is just another "Microsoft Anomaly", award the points and move on.
TaskScheduler-QueryResults.txt
0
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40327024
It shows the last run for you task:
Last Run Time:                        9/14/2014 7:35:10 PM
Last Result:                          -2147020576

I don't think I can troubleshoot much deeper at this point, I would probably just recreate the task and see if the behavior continues.
0
 

Author Closing Comment

by:Slator
ID: 40341115
Thanks for your help!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 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