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 colStartupCommandsobjStartupCommand.SystemStartupDelay = 10objStartupCommand.Put_Next
This is a VB Script, this can be used by saving the file in .vbs file