Solved

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

Posted on 2014-09-13
6
1,075 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 28

Expert Comment

by:becraig
Comment Utility
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
Comment Utility
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 28

Expert Comment

by:becraig
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Assisted Solution

by:Slator
Slator earned 0 total points
Comment Utility
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 28

Accepted Solution

by:
becraig earned 500 total points
Comment Utility
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
Comment Utility
Thanks for your help!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Introduction: I have always been a big fan of Windows but my liking towards it is slowly being eroded by the variety of other Applications that I encounter, when I browse the Web. Most of the software available is free and maybe Open Source too. …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now