Solved

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

Posted on 2014-09-13
6
1,154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 

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

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

Suggested Solutions

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
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…

761 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