memstechtips / UnattendedWinstall

Personalized Unattended Answer Files that helps automatically debloat and customize Windows 10 & 11 during the installation process.
MIT License
3.54k stars 400 forks source link

Please add the no sleep, and laptop lid settings #132

Closed MrCrowley33 closed 2 weeks ago

MrCrowley33 commented 2 months ago

I've been trying to transplant the settings i have from the schneegans xml i made that makes the computer not go to sleep and keeps the monitor on, and changes the lid settings to do nothing.

I can't for the life of me get this to not error out when i try to add it to your standard install.

just a simple powercfg script to get added.

Powercfg /Change monitor-timeout-ac 60 Powercfg /Change monitor-timeout-dc 0 Powercfg /Change standby-timeout-ac 0 Powercfg /Change standby-timeout-dc 0
memstechtips commented 2 weeks ago

Have you been able to fix this issue?

In v2.0.0 linked below, I have reworked the Power Settings part of the file https://github.com/memstechtips/UnattendedWinstall/releases/tag/v2.0.0

Feel free to reopen the issue if it's not fixed.