If you’ve ever wanted to remotely reboot a Windows box from your machine, the following tip can be useful…
Any Macintosh OS X system can reboot a windows machine, assuming that you know the credentials of an Administrative Account on the Windows system. Open the Terminal and use the following command line:
net rpc shutdown -I IPADDRESS -U USERNAME%PASSWORD
If you omit the password section, you’ll be prompted for the password—which might be more secure if you are worried about somebody looking through your terminal history. You can add the -f parameter to force a shutdown, which might be necessary to make sure the remote machine actually shuts down.
Now several factors may influence whether this technique actually works— Firewalls, Routers and Gateways may prevent this from working… But in my informal testing, I have not seen a situation where this doesn’t work.
More from The Matrix Data Bank
- How make a static local ip for a computer, using an Airport Extreme
- A Morning Motivational Moment
- Prevent Non-Admin users from Changing Wireless networks
- Wedding Proposal Is A Snap at LEGOLAND
- The Doctor vs. a Dalek — The Matrix Data Bank
The Matrix Data Bank Recommends
- Start With The End In Mind (The IT Juggler)
- mRemoteNG – A Remote Connection Manager on ‘roids (The IT Juggler)
- Before the “What” you need a “Why” (The IT Juggler)
No related posts.