This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo on | |
REM checked for Windows 10 | |
REM fork from https://gist.github.com/theultramage/cbdfdbb733d4a5b7d2669a6255b4b94b | |
REM you may want full list https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c | |
REM SET attrib=+ATTRIB_HIDE | |
SET attrib=-ATTRIB_HIDE | |
REM Hard disk burst ignore time | |
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib% |