Remote shutdown of a win2K pro machine

G

Guest

Is it possible to remotely shutdown a machine running win2K pro using any
facilites in win2k pro rather than using PSShutdown from sysinternals.
 
T

Torgeir Bakken \(MVP\)

Richard said:
Is it possible to remotely shutdown a machine running win2K pro using any
facilites in win2k pro rather than using PSShutdown from sysinternals.
Hi

With VBScript/WMI:

http://groups.google.com/[email protected]


If you need to connect with explicit user credentials, use
SWbemLocator.ConnectServer instead of GetObject("winmgmts:...")

IWbemLocator::ConnectServer
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/iwbemlocator_connectserver.asp

Subject: Login with explicit username and password
Newsgroups: microsoft.public.win32.programmer.wmi
http://groups.google.com/groups?th=2b5bcad76f5debaa

Subject: ImpersoantionLevel other than impersonate
Newsgroups: microsoft.public.scripting.wsh
http://groups.google.com/groups?th=89ff50603f12dcfb
 
R

RoryD

If you have admin rights, you can use compmgmt.msc (Computer Management).
Right-click the computer Management tree-top and select "Connect to another
computer". Type in the name of the remote system and click OK. Then once
again right-click the computer Management tree-top and select "Properties".
Then select the "Advanced" tab, and click on "Startup and Recovery" settings
button, and hey presto, a shutdown button appears.

HTH,

RoryD.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top