Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify System Startup DelayContent of Modify System Startup Delay.vbsMD5 Hash: DC51CBAB1515752F42FBBD48E31AF669 |
||
' Description: Configures a computer to wait 10 seconds (instead of the default 30 seconds) before automatically loading the default operating system upon startup.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colStartupCommands = objWMIService.ExecQuery _ ("Select * from Win32_ComputerSystem") For Each objStartupCommand in colStartupCommands objStartupCommand.SystemStartupDelay = 10 objStartupCommand.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |