Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I remotely turn off a computer? (shutdown.exe?)

10 views
Skip to first unread message

Chris

unread,
Jul 17, 2002, 4:27:33 AM7/17/02
to
I would like to shutdown comptures remotely(instead of using Task Manager
while connected in Remote Desktop). I just heard about windows XP's shutdown
cmd, however I have been unable to get it to work.
I receive "Access Denied" once I try "shutdown -s -m \\nameofmycomp". What
causes this, i am logged in with admin privilages on all comps? Also when i
use it on the same computer, it doesnt switch the power off but leaves it at
the shutdown screen, how can I fix that? If anyone knows of any other
program that can do this also, please reply, thx


Bill Sanderson

unread,
Jul 17, 2002, 12:51:01 PM7/17/02
to
You might also try the tsshutdn command.

I would try, locally on the machine (via RD or sitting at it!) shutdown -s
<enter>

I've not seen permission issues with this, and I'm not sure I've ever tried
it remoted across a network.

When you shut down the machine via the normal menus, does it power down?

You might want to look into a bios update, and whether power management is
using apm or ACPI on this machine. I believe it will need to be using ACPI
for this to work.

"Chris" <Nets...@hotmail.com> wrote in message
news:OLL4uuWLCHA.2368@tkmsftngp10...

Andrej Budja

unread,
Jul 17, 2002, 1:10:21 PM7/17/02
to
You can also use Computer Management to shut down a remote computer.

Open Computer Management
right click Computer Management and select Connect to another
computer. They the name of the remote computer and press OK

Then right click on the computer management again and select
Properties. Go to the Advanced tab and click the 3rd Settings button.
You'll see the Shut Down button there :)

Another way is to use WMI script, but I don't have it handy on this
computer...

Andrej

On Wed, 17 Jul 2002 01:27:33 -0700, "Chris" <Nets...@hotmail.com>
wrote:

Jeffrey Randow (MVP)

unread,
Jul 17, 2002, 5:40:24 PM7/17/02
to
Try running the GUI version (shutdown -i). I haven't had many issues
when using this command. As for the machines that are left at the
"Shutdown" screen, I usually find that occurs in machines that aren't
ACPI enabled and can't shut down on their own.

Jeffrey Randow
Windows Client MVP - Remote Networking & Security
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
.NET Server Community -
http://www.microsoft.com/windows.netserver/community
wi...@longhornconsulting.com

Visit the XP Remote Networking Wiki
http://www.longhornconsulting.com/xpwiki
Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

On Wed, 17 Jul 2002 01:27:33 -0700, "Chris" <Nets...@hotmail.com>
wrote:

>I would like to shutdown comptures remotely(instead of using Task Manager

Chris

unread,
Jul 17, 2002, 5:59:08 PM7/17/02
to
I've tried the gui mode, but it gives the same error: "Access is denied,
Failed: Computer name". When I tried connecting to another computer using
Computer Managment then clicking properties, it gave me: "WMI:Access
Denied". I tried the tsshutdn command and it gave me this error:
"Error[1314]: A required privilege is not held by the client." There has to
be a way to get this to work one way or another.

If anyone could explain to me how I could try the WMI scripts that would be
great also. As far as ACPI, I believe they are all enabled and work great,
they always power down with the power button or start-shutdown or even the
task manager - shutdown when connected with Remote Desktop but not when I
run shutdown.exe -s localy. The safe to power down screen appears.

Is there some security setting I am not disabiling or something? I mean if I
can't get any of these commands to work there must be a program/service that
I can run on the computers so I can send a command to them to shutdown.
(Netbus is not what I'm looking for, I dont need my antivirus buggin me all
the time lol)
(one of my posts didnt go threw so I rewrote it)

"Chris" <Nets...@hotmail.com> wrote in message
news:OLL4uuWLCHA.2368@tkmsftngp10...

Jeffrey Randow (MVP)

unread,
Jul 18, 2002, 9:32:16 PM7/18/02
to
I think it is much easier to do this with a domain... I think the
problem is that your common username password credentials will let you
access shares/etc, but isn't enough to force a remote shutdown.

Jeffrey Randow
Windows Client MVP - Remote Networking & Security
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
.NET Server Community -
http://www.microsoft.com/windows.netserver/community
wi...@longhornconsulting.com

Visit the XP Remote Networking Wiki
http://www.longhornconsulting.com/xpwiki
Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

On Wed, 17 Jul 2002 14:59:08 -0700, "Chris" <Nets...@hotmail.com>
wrote:

Bill Sanderson

unread,
Jul 19, 2002, 4:19:28 PM7/19/02
to
Thanks - I have some 2k and NT machines this might be useful on.

"Martijn" <martijn...@bns-be.com> wrote in message
news:1ab1b01c22f22$df2124c0$3aef2ecf@TKMSFTNGXA09...
>
> You can use PsShutdown from sysinternals.com. It's
> freeware.I attached it.
>
> Have fun!!
> Martijn


0 new messages