![]() To also disable Hibernate mode (standby state S4) run powercfg. ![]() This policy will disable all sleep modes completely. WinWaitActive( "Local Group Policy Editor") REM Batch File to Disable all Sleep Parameters echo off powercfg /x -hibernate-timeout-ac 0 powercfg /x. Microsoft only offers extended bug-fix and patch support, no new features. Could be written as a batch script and deployed via GPO, but that would require the machine to restart or the user to log out and in while connected to the domain. Since I needed to enable / disable sleep mode via Group Policy quite often, I created quick and dirty AutoIt script that opens Local Group Policy Editor and navigates to the correct GP: Learn how to disable sleep mode on your Windows 10, WIndows 8 or Windows 7. If necessary also do the same for Allow Standby States (S1-S3) When Sleeping (On Battery). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |