Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-09-13
6
Medium Priority
?
1,313 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

783 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