how force restart windows box controlling vbscript?


i'm perplexing proceed force windows reboot, i am controlling issues. i've attempted



set opsysset = getobject("winmgmts:{authenticationlevel=pkt," _
& "(shutdown)}").execquery("select * win32_operatingsystem where "_
& "primary=true")
for any opsys opsysset
retval = opsys.reboot()
next



i've also attempted controlling shutdown -f -r command, both cases i infrequently response, i try again i an blunder observant "action finish since component shutting down" even nonetheless matter enlarged i leave it doesn't close down, still allows me start new programs, doing shutdown -a gives same error. book used force windows reboot?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?