Re: restart end user workstations from remote
- From: "Paul Williams [MVP]" <ptw2001@xxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 05:53:16 -0000
You're not bugging me. Don't worry about it.
Try replacing this line:
objWshShell.run "shutdown \\" & strHost & " -r -f -t 180"
With
objWshShell.run "c:\shutdown\shutdown \\" & strHost & " -r -f -t 180"
(assuming that your shutdown folder is at the root of C)
For testing, you could change it to this (to see what is going on):
objWshShell.run "c:\shutdown\shutdown \\" & strHost & " -r -f -t 180 >
c:\shutdown\debug.txt"
The above is, again, one line.
--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
.
- References:
- Re: restart end user workstations from remote
- From: Jimmy D
- Re: restart end user workstations from remote
- From: Paul Williams [MVP]
- Re: restart end user workstations from remote
- From: mjerikboo777
- Re: restart end user workstations from remote
- From: Paul Williams [MVP]
- Re: restart end user workstations from remote
- From: Paul Williams [MVP]
- Re: restart end user workstations from remote
- From: mjerikboo777
- Re: restart end user workstations from remote
- Prev by Date: Re: Can't add new 2K3 DC to existing domain - error message!
- Next by Date: Re: NETLOGON.DNS
- Previous by thread: Re: restart end user workstations from remote
- Next by thread: Re: restart end user workstations from remote
- Index(es):
Relevant Pages
|