Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

MS-DOS Remote shutdown


  • Please log in to reply

#1
dflo404

dflo404

    Member

  • Member
  • PipPipPip
  • 126 posts
Hello everyone, I'm sort of new at all of this, and I've been experimenting with MS-DOS. One thing that I can't seem to do is a remote shutdown. The two computers (Dell 4300 desktop computer, and a Dell Inspiron 8200 notebook), are hooked up in a network. We have a wireless internet connection for both computers.

The command prompt I have been trying to use is as follows:
shutdown -s -f -m \\Dell4300 -t 30

Accourding to what I've learned, this should do a forced shutdown on the Dell4300 in 30 seconds. I try this from my Inspiron 8200, and I am sure that I have the computer name for the desktop right. But every time I make the attempt, it tells me the network path was not found.

I use Windows XP home edition. Is something wrong with the command? Do I not have my network set up properly to do a remote shutdown? I would greatly appreciate anyone who can help. :tazz:
  • 0

Advertisements


#2
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
No, the command looks ok

I think it is more that you are not connected to that machine

try this
NET USE \\Dell4300\IPC$ /U:Dell4300 \administrator
then
shutdown -s -f -m \\Dell4300-t 30

This will work in a workgroup on XP pro, but you first have to make a change in the local security policy because external connections of this sort are not allowed by default on xp pro in A WORKGROUP

However, I do not think that applies in XP Home.

Try it and let me know.
  • 0

#3
Rico750

Rico750

    Member

  • Member
  • PipPip
  • 93 posts
exactly, you first have to make yourselves know to that pc as a administrator by mapping to that IPC$ share. Otherwise you could randomly shutdown every pc in a network.

Good luck

NET USE \\Dell4300\IPC$ /user:administrator "password"
  • 0

#4
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts

....NET USE \\Dell4300\IPC$ /U:Dell4300 \administrator

View Post



whoops., my bad..thanks for the catch rico

note: no password for xp home

Edited by gerryf, 11 April 2005 - 10:49 AM.

  • 0

#5
dflo404

dflo404

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 126 posts
I think it must be something with my network. This is what I tryed:

NET USE \\dannyslaptop\IPC$ /user:administrator

This command completed successfuly, but when I tried shutting down the remote computer (DELL4300), it still said the network path was not found.

(note: I also tried the same NET USE command, but by using the name "dell4300" which was the remote computer)

I think you guys have helped me progress somewhere, but do you know what could be wrong with the network? Maybe you can tell me exactly how a network should be set up.

Edited by dflo404, 11 April 2005 - 02:06 PM.

  • 0

#6
starjax

starjax

    Global Moderator

  • Global Moderator
  • 6,678 posts
first trying pinging the computer name from the command prompt (dos).

an alternative is to us psshutdown
http://www.sysintern...sshutdown.shtml
  • 0

#7
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
try using the ip address

NET USE \\10.0.0.19\IPC$ /U:administrator
then
shutdown -s -f -m \\10.0.0.19

(or whatever the ip address is)

Both machines are XP Home? Or Xp Pro...

Xp Pro cannot be shut down by the command line when joined to a workgroup (you have to make a registry switch). Joining a domain automatically alters the key
  • 0

#8
dflo404

dflo404

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 126 posts
The IP adress also failed to work.

I'm using XP Home Edition for both computers
  • 0

#9
Cr4sH

Cr4sH

    New Member

  • Member
  • Pip
  • 1 posts
You cannot use Windows XP Home for network, they don´t have u privilegies for network... only share files and broad band connection.

Install XP Pro then resolve your problem.

Edited by Cr4sH, 19 April 2005 - 03:38 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP