Systems Deployment Question
How to prevent machine going to sleep during Scripted Install of Windows 10
07/20/2018 1591 views
We have a number of builds but have been having problems with the machines entering sleep mode during the install. This happens on Desktops and Laptops irrespective of whether they are mains powered. I know this is a complete newbie question but I have spent some time looking for an answer and there must be a really simple solution - apart from moving the mouse every so often :)
Answer Chosen by the Author
Please log in to answer
The way we overcame this is with a Visual Basic script. It basically identifies the chassis, identifies the current power plan, and then sets the power configuration for no hibernation/no sleep/no standby.
This is one of the first post-install tasks we have. Since near the end we have tasks for joining the domain, the power settings will get set back to something normal from GPO, after the machine is on the domain.
I did a quick Google search and I was able to find some examples of VB scripts for sleep settings/standby settings - try something like that out! It has worked for us with scripted installs for Win7 machines and Win10.
Answered 07/20/2018 by: feeldamped