Windows 8.1 Pro PC keeps waking up from both Sleep & Hibernate

This PC was owner built less than 1 year ago.  It used to go into Sleep Mode and stay that way until awoken.  I actually went into Power Management under the keyboard & mouse in Device Manager so that accidentally bumping the desk or pressing a key would not wake it.

But lately (the past month or so), I put it to sleep and it wakes up.  So I will do a full Norton scan, a Norton Power Eraser scan, and then install MalwareBytes' free AV and run that, too.

Yesterday I went back to Device Manager and went to the network adapter's Power Management and disabled waking there, too.  I put it in Sleep Mode last night.  When I got to the PC this morning, it was running.

Any ideas or solutions?

Details in text file attached on hardware & some software (Speccy).
My-PC---per-Speccy.txt
RobertAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
Hi.

Task scheduler offers to wake the computer to execute tasks and this was often the reason for such a problem. You could check that out with these steps:

1 create a test task using the option (wake from sleep)
2 export that task to xml and look at the xml file how that option has manifested there (wording)
3 export all tasks using schtasks.exe on the command line
4 use findstr to search for the string found in (2) in all the exported tasks

This will find the taskname and you can get rid of it.
JohnBusiness Consultant (Owner)Commented:
Viruses and Malware can cause this so scan for these.

Do you have something plugged into your USB ports?  RF receivers can wake up Windows.

Do you have a backup scheduled to run daily?  That might wake up a machine.
RobertAuthor Commented:
John -  virus scans as mentioned originally were run and all came up negative.  

I have a Logitech USB Unifying receiver, but I have turned off allowing the mouse or keyboard to wake the PC (also mentioned above).

The Norton Security Suite is on Automatic but I can tell that it isn't waking to run as no files waiting to be backed up emerge as being backed up.

McKnife - I have tried to follow your instructions but the one to use schtasks.exe does not show the property or code.  Just a list of the tasks with some basic details.

Now, I suppose I can export each one separately and look for that wakey-wakey code.  I'll do that and report back.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

JohnBusiness Consultant (Owner)Commented:
What about a Windows Backup - Is there a windows backup running?
RobertAuthor Commented:
John - No, I usually do not use Windows Backup.  It isn't very friendly on searching the contents, but it will create an image backup!

McKnife - I cannot get findstr to work.  This doesn't give me any errors:  

>findstr "Wake" *.txt

I changed the .xml files to .txt files as the Search function in File Manager would not look in the .XML files.  Not sure why, but when I changed it, all the files were "located" by the Search.

Soo here is that string:   <WakeToRun>true</WakeToRun>

No other tasks have it as true, all the others have it as false

BTW, I am running Win8.1 as I know the commands vary among Windows versions.
McKnifeCommented:
I don't know how many tasks you have. I would check them manually, first. Maybe that will already find the one. If not, the magic spells to find it would be
schtasks /query /fo csv | findstr /V /c:"TaskName" > c:\temp\tnlist.txt
for /f "tokens=1 delims=," %a in (c:\temp\tnlist.txt) do schtasks /query /xml /tn %a |findstr /C:"WakeToRun>true" &&echo %a>c:\temp\%a.txt

Open in new window

Then, in c:\temp, you will find text files that name the possible culpríts.
RobertAuthor Commented:
Sometimes Google can be a good friend.  Here's the answer:

https://support.microsoft.com/en-us/kb/2799178

OR, look here:
Automatic Maintenance in Windows 8.1 - set to wake the PC at 2 AM.
It's in the Automatic Maintenance (who knew there was automatic maintenance?!)  What's strange is that this hasn't been an issue that I've noticed.  Perhaps the Maintenance had been turning the PC back off into Sleep or Hibernate after it was done and now it leaves the PC running;  I really don't know.

I do DEFINITELY want to know WTF Microsoft has running in that Automatic Maintenance app.
McKnifeCommented:
Surely, the commands would find that one, too. And then, you can see what is executed by those tasks.
RobertAuthor Commented:
No, Microsoft snuck some features in with Windows 8 under Action Center - was this one already in Windows 7 or Vista? - and thankfully it does appear to be gone in Windows 10.

At this point, I have only one PC (laptop) with Windows 7.  While there is an Action Center, there is no Scheduled or Automatic Maintenance within it like there is in Win8.

Here are the tasks - the Testing task I created has already been deleted:
List of Tasks in Task Scheduler

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
That's not all. There's a folder Microsoft, inside, there's the task in question. Use my method to find it, look at what it executes, decide what to do.
RobertAuthor Commented:
Please do not close.  

I have not had time to look at McKnife's suggestions and there may be more good, worthy content to add to this Question.

FWIW, I do not see any 'Object' button on any of the comments.

Thx, ub
RobertAuthor Commented:
I found the solution outside of the EExperts.  Sometimes Google IS your friend!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.