Im looking for a way to restart a 64bit TS server autmatically each night, seen the scripts for the 32bit versions but as there is no Shutdown.exe in C:\WINDOWS\SysWOW64 im a bit stuck
>Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown/r)}"
Where do you find {Shutdown/r}? Never heard of anything like /r. Also strComputer should appear somewhere in that line too. Check your source see if you can uncover that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.