A PC that turns on by itself every so often can get quite annoying. Many users have faced this problem countless times. There are lots of possible reasons why your Windows 10 PC turns on by itself, wakes up from sleep, standby, or even when it’s shut down.
To find out what exactly woke your computer, simply open Command Prompt as admin and type the following command:
powercfg –lastwake
Once you enter the command given above, it will show you the last device that woke your PC up. After that, you need to type in the next command:
powercfg –devicequery wake_armed
After entering the command, it will show you a list of all the devices that could wake your PC up. The goal in running these commands is to understand the reason what’s really causing your PC to turn on and see the reason is on the hardware level or not. Here are a couple of options you can try if your Windows 10 PC turns on by itself.
As you know, Windows 10 comes with a mode called Fast Startup which does not turn off the computer in the usual manner. This mode keeps your computer in a mixed state so that when you turn it on again, it will be a lot faster. However, as useful as this feature appear to be, some security experts find this an issue, for numerous reasons – for one, it can turn on your Windows 10 PC by itself. Thus, you need to disable this feature to fix the problem.
There are times when the issue has something more to do with the software than hardware. It could be that you are using a Scheduled Task to get some work done on your computer at a particular time of the day or many times a day. That’s why if you really are using Task Scheduler, you need to change the Power settings of Windows to make sure that it ignores those tasks rather than deleting them instead when your computer is either on Hybrid or Standby mode.
There are instances when the computer crashes and the system restarts itself. This is actually by design – when your computer has been left on standby, the computer will restart and if the program repeats, it will keep on waking your PC up.
As you know, two of the culprits in waking your PC up are the keyboard and the mouse. If they’re slightly moved or hit, your PC turns on. To prevent these two from waking your computer up, you need to make some adjustments to their power management option since they have one. You can disable this option to ensure that they won’t wake your PC up unless you really want it to.
Note: Aside from the keyboard and mouse, if you are also using any gaming rig to play games on your computer, then you might have to disable their power options as well as they could also wake your computer. Just make sure that either the keyboard or the mouse has the ability to wake your computer up at the very least as it can be quite inconvenient to tap the Power button every time you want to turn on your computer.
The Wake On Lan feature can bring back your computer online if it is connected to a network. This feature is useful especially when a computer wants to communicate or to send data or files to a network computer which should come online only when it’s requested. Wake On Lan is built into the hardware, i.e. network adapter so it is one of the possible reasons why your PC turns on by itself.
It is also possible that the Windows Update has restarted your PC to complete the update. This depends on your active hours or a predefined schedule. AS you know Windows has a built-in Automatic Maintenance mode which wakes the computer up at the scheduled time and performs the system update. This could be one of the possible reasons why your computer turns on by itself. so to prevent any scheduled updates and maintenance, you can simply change the time for Automatic maintenance. How? Follow these steps:

Once it opens, click on Device Manager to open it,
If you have a driver device error inside Windows, you should see it immediately when entering the Device Manager, it will have a yellow exclamation mark beside it. Right-click on it and choose update driver.Error code 0x80073afc deals with an antivirus program first built into Windows 8/8.1 This error occurs when Windows Defender, the built-in anti-virus software in Windows 8/8.1 and higher, does not start automatically and users attempt to manually start the program. During the initialization period of the program start-up, something goes wrong and users get a 0x80073afc Error message. The error message states there was a problem with the initialization of the program. Windows Defender provides protection of your computer and it is advised by the Microsoft Corporation that you ensure it starts up automatically on every start-up.
Further Information and Manual RepairUsers have found several manual repairs that have fixed the problem without needing to contact technicians for extra help. While the methods below should solve your problem easily, if this is the first time you have encountered the issue you may want to do a simple restart. This has fixed the problem for some users and is the easiest first troubleshooting move. If it doesn’t work move on to the methods listed below, which are easily completed without extra help.
Before trying any of these methods, please make sure that you are logged into a profile that is listed as the administrator of the computer of his administrative powers enabled. If this is not the case you will not be able to complete the following methods. Please log out and log back in on the administrator profile.
First, check to see if you have a third-party anti-virus program installed on your computer. Some users believe that the built-in Windows Defender program is not powerful enough to handle the safety of their computer so they usually download a third-party program. However, that program may have caused a conflict with Windows Defender and may not allow it to open. If you do have a third-party program installed, try uninstalling it then manually starting Windows Defender.
If method one does not work, you may be infected by malware or a virus that has tampered with the settings on your computer and will not allow Windows Defender to start automatically or manually.
First, open Run by holding the “Win” key and pressing the “R” key. Then type “Regedit”. The program will ask for permission to follow through with this action. Click on “Yes” and the Open Registry Editor will open.
Find the HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionImage File Execution Option and check to see if there are any files similar to MSASCui.exe or MpCmdRun.exe. If there are any file entries that resemble that, you will want to right-click on them before selecting the “Delete” option. If you do not see any entries that match, this is not the issue with your Windows Defender and you will want to try another method.
The Registry on your computer is very important. It helps tell your computer what programs are safe to run, what programs should be run, and what programs should not be run. If it is tampered with by a virus or Malware, multiple system operations can be affected.
However, if you did find similar file names, and you deleted them, try to start Windows Defender manually. If it does not work again, move on to the next method.
If the first two methods do not work for your issue, and you are still receiving error code 0x80073afc when attempting to start Windows Defender, this step should solve the problem if you have Restore Point installed on your computer, which you most likely do.
For this method, we will be restoring your computer to a previous Restore Point. First, just like in method two, hold the “Win” key and press the “R” key. This will open run. Next type “Rstrui.exe” and click “ok”. After some time, you will see System Restore Windows. Click “Next” and select the restore point that you would like to go back to. After your computer has restored to the point you selected, check to ensure that Windows Defender has started correctly.
If the above methods aren't able to rectify the issue, you might have to download and install a powerful automated tool to get the job done.
Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
“An unexpected error has occurred. Your request cannot be processed at this time. Please try again later. (0x80070426)”This kind of error is caused by various supporting processes and services that are not working or are not being triggered as they were supposed to. If you are currently facing this issue, worry not for this post will guide you in fixing it. There are two potential fixes you can try – you can either check the responsible services or manually run the Activation Script. For more details refer to the given options below.
cscript ospp.vbs/act