Random Windows Tip: My PC Wakes Up In The Middle Of The Night And I Don’t Know Why
The way our house is currently setup, my office is in my/our bedroom. I know, not ideal. Anyway, at the end of the work day, I usually just put my laptop to sleep and then in the morning wake it up. That way, everything is just as I left it. However, for the last few weeks, every now and then, the darn thing wakes up in the middle of the night which causes all the monitors to come on. There is nothing like being woken up at 2:37am to in your room.
Well, after doing things like turning off the monitors and closing the laptop or unplugging the laptop so that it is on battery and won’t wake up, I think I may have found the answer. There is a Task Scheduled to check for Windows Updates (\Microsoft\Windows\UpdateOrchestrator\Schedule Scan). I tried to disable or delete it but I have been unable to because of a permissions issue, even as admin.
I think I found a solution: You can remove access to the file that it runs by running the following from an admin command line:
takeown /f "%WINDIR%\System32\UsoClient.exe" /a icacls "%WINDIR%\System32\UsoClient.exe" /remove "Administrators" "Authenticated Users" "Users" "System"
You can still do Windows Updates, they just need to be done manually. I don’t know if this will work for everyone or if it is the best way to do it, but it seems to be working so far.
Author
Stewart Schatz
More Stories
How to Use the CMDKEY Command to Manage Stored Credentials on Windows
The cmdkey command is a Windows utility that lets you create, delete, and manage stored credentials for network authentication. This is particularly useful…
How to Use the XCOPY Command in Windows
Did you know that all versions of Windows have a limitation of 260 characters that can be in the path...
Quick Tip: Determine Active Directory Account Status From The Windows Commandline
Use the following command to Determine Active Directory Account Status from the Windows Commandline without Powershell or any special software....
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
AutoHotKey – An Easy To Learn Time Saving App
AutoHotKey - https://www.autohotkey.com/ What is it? The website says: AutoHotkey is a free, open-source scripting language for Windows that allows...
A Better SMTP Test
Several years ago, I posted about an SMTP Test that I was using. Well, lately, I've needed something with a...
Average Rating