We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Shut down a computer over a network
Comments
-
access is denied.(5)type "shutdown /i"
not as simple as that.0 -
Right click on cmd.exe (or the command prompt in the start menu) and select run as administrator may help.retired2011 wrote: »access is denied.(5)
not as simple as that.4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
shutdown /m \\]remote_computer_name or IP] /s /f /d p:0:0 /t 00
Shutdown - the command
/m \\computername or IP - indicates the target to shutdown
/s - shutdown (not restart or log off)
/f - force running applications to close
/d - reason for shutdown for event log
p:0:0 - Planned shutdown (with /d) 0:0 major:minor event ID
/t 00 - time until shutdown, in this case 0 seconds so immediately.
You'll need to run the command as an administrator account on the remote machine so a runas might be needed.0 -
The only SHUTDOWN.EXE switches you need are
-m \\PCname
-s
and if you want it to happen immediately
-t 0
If PCname is running 'stuff' you might need to use
-f
but that isn't really recommended!
(the - is an alternative to /)
The difficulty, as people say above, is to get it to run remotely on PCname...0 -
Enable remote desktop on her computer.
Log into her computer from yours (with remote desktop).
Run 'shutdown /s' from cmd.0 -
How about retraining the wife instead? "When you finish ironing, do you leave the iron switched on? Think of the computer as a clever iron" ;-)0
-
I created a shortcut and put this in the "target" field to shut down my PC named PrintSvr:
C:\WINDOWS\system32\shutdown.exe -m \\PrintSvr -s
A double-click shuts down PrintSvr remotely.
This is on XP, so the path to shutdown.exe may differ, and you may need to explicitly set the shortcut to run with Administrator privileges.0 -
-
look at the pc power saving settings and fix the hibernation problem instead -
if it's set to allow sleep, switch to hibernate.
powercfg -h on
from the command prompt.
Also check the monitor and printer power save settings.!!
> . !!!! ----> .0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 354K Banking & Borrowing
- 254.3K Reduce Debt & Boost Income
- 455.3K Spending & Discounts
- 247.1K Work, Benefits & Business
- 603.7K Mortgages, Homes & Bills
- 178.3K Life & Family
- 261.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.7K Read-Only Boards

