+ Post New Thread
Results 1 to 4 of 4
*nix Thread, shutdown windows machine from bash cli in Technical; My Windows VMs sit on top of a linux (gentoo) host. If i need to reboot the host, i need ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199

    shutdown windows machine from bash cli

    My Windows VMs sit on top of a linux (gentoo) host. If i need to reboot the host, i need to manually shut down all 4 windows VMs first.

    Its a bit of a hassel.

    Is there any way to invoke a Windows server shutdown from the command line on the linux host?

  2. #2

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    LetMeGoogleThatForYou

    Code:
    net rpc shutdown -I IPADDRESS -U USERNAME%PASSWORD
    Works a treat

  3. Thanks to RabbieBurns from:

    mac_shinobi (19th February 2010)

  4. #3

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,710
    Thank Post
    3,246
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364
    Quote Originally Posted by RabbieBurns View Post
    LetMeGoogleThatForYou

    Code:
    net rpc shutdown -I IPADDRESS -U USERNAME%PASSWORD
    Works a treat
    Is that specific to the software you use to run the virtual machines ie virtual box as apposed to say vmware fusion or the likes ( obviously not sure what software they do for virtual machines on linux ).

  5. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    No, it's using a samba tool from the linux box itself so it's not specific.

SHARE:
+ Post New Thread

Similar Threads

  1. shutdown a locked machine
    By RabbieBurns in forum EduGeek Shutdownertron
    Replies: 16
    Last Post: 25th November 2010, 10:00 AM
  2. Slow start and shutdown on Windows XP pro
    By marvin in forum Windows
    Replies: 4
    Last Post: 8th December 2009, 01:32 PM
  3. Windows Startup & Shutdown sounds
    By sLiDeR in forum Windows
    Replies: 3
    Last Post: 10th November 2007, 09:38 PM
  4. Locked Out Of Windows XP Domain Machine
    By mrcrazy04 in forum Windows
    Replies: 9
    Last Post: 15th March 2007, 05:54 PM
  5. Replies: 20
    Last Post: 25th January 2007, 10:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •