Recon
Recon

Reputation: 351

Remote shutting down computer over WiFi with cmd

Remote shutting down Windows computer with cmd. Possible?



I have searched over the internet, and I have found many solutions for this problem,

BUT

No one has worked. I don't have got the password for the other computer, or permission to shutdown it, I get everytime: Access denied. (5) So my quetions are:

Not exactly needed cmd, but must be shutted down by remotely, without installing any software on the second computer.

Many thanks for help

Upvotes: 1

Views: 62502

Answers (3)

Herman H.
Herman H.

Reputation: 1

  • Open cmd
  • Write net view
  • Find the computer you want to kick form your wifi or turn off
  • Write ping ex: USER
  • Find ip address
  • Write shutdown -I

Upvotes: 0

MiKE
MiKE

Reputation: 524

I found the solution for you.

RUN secpol.msc in CMD (on the computer u want to enable the remote shutdown)

Go to Local Policies -> User Rights Assignment and search for "Force shutdown from a remote system"

Double click it and then "Add User or Group..." and type "Everyone" and then add it.

This SHOULD work! I've set this configuration on my computer and then executed this command on my brother's PC while we are on the same LAN network and i've got the shutdown message AND the computer did restart.

shutdown -m \\mypcname -r -c "this pc will shutdown in 60 secs" -t 60

Be sure that u can see the computer u want to shutdown trought net view. But u already see it, because u are getting the Access denied. (5).

Report back to the question if it works!

Kind Regards

Upvotes: 3

user2757572
user2757572

Reputation: 463

Look at: http://www.wikihow.com/Do-a-Remote-Shutdown-for-a-PC-on-a-LAN quote: "At your local command prompt type in shutdown -m \computername, replacing "computername" with the name of the computer you wish to shutdown or the computer's IP address."

Or from within a remote session: shutdown /s /t 0

(meaning: shut down in 0 seconds)

Upvotes: 0

Related Questions