![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Configuring a UPS to pause/shutdown virtual machines? I have a server running several Virtual PC 2007 machines. The server is connected to a Belkin UPS, however the UPS software has no way of telling the virtual machines to Pause (or shut down) when power is cut. I have been searching for a way to do this via command line but haven't found what I want just yet...anyone have any ideas how to do this? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Configuring a UPS to pause/shutdown virtual machines? You might be able to use the shutdown command if the VM's are Windows XP and your UPS software can send net commands. (Windows 2000 can do it if you download the shutdown command from Microsoft. Don't know about Vista and above, they have the shutdown command, but I've never tried it and UAC would probably get in the way.) shutdown \\PCName /s Your host login has to be the same as the VM's login for that to work, otherwise you're going to have to do a net use with user ID and password before you do the shutdown command. -- Bob Comer On Fri, 31 Jul 2009 13:48:02 -0700, adamscottmartin <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: Quote: >I have a server running several Virtual PC 2007 machines. The server is >connected to a Belkin UPS, however the UPS software has no way of telling the >virtual machines to Pause (or shut down) when power is cut. I have been >searching for a way to do this via command line but haven't found what I want >just yet...anyone have any ideas how to do this? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Configuring a UPS to pause/shutdown virtual machines? Thanks for the tip, will use that for now as it is better than nothing. Still has to be something that would work better. Would be interested to hear any other methods. "Robert Comer" wrote: Quote: > You might be able to use the shutdown command if the VM's are Windows > XP and your UPS software can send net commands. (Windows 2000 can do > it if you download the shutdown command from Microsoft. Don't know > about Vista and above, they have the shutdown command, but I've never > tried it and UAC would probably get in the way.) > > shutdown \\PCName /s > > Your host login has to be the same as the VM's login for that to work, > otherwise you're going to have to do a net use with user ID and > password before you do the shutdown command. > > -- > Bob Comer > > > > > > On Fri, 31 Jul 2009 13:48:02 -0700, adamscottmartin > <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: > Quote: > >I have a server running several Virtual PC 2007 machines. The server is > >connected to a Belkin UPS, however the UPS software has no way of telling the > >virtual machines to Pause (or shut down) when power is cut. I have been > >searching for a way to do this via command line but haven't found what I want > >just yet...anyone have any ideas how to do this? |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Configuring a UPS to pause/shutdown virtual machines? On Fri, 31 Jul 2009 14:37:01 -0700, adamscottmartin <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: Quote: >Thanks for the tip, will use that for now as it is better than nothing. >Still has to be something that would work better. Would be interested to >hear any other methods. It runs as a service and is aware of the VMs running, so your server should wait until your VMs are in a saved state. -- Cheers, Steve Jain, Virtual Machine MVP http://vpc.essjae.com/ |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Configuring a UPS to pause/shutdown virtual machines? I have never used that product before because I never had a supported host OS running (currently using Vista x64 which is not suggested for production use) and because VirtualPC always got the job done. Will give it a look anyways. "Steve Jain [MVP]" wrote: Quote: > On Fri, 31 Jul 2009 14:37:01 -0700, adamscottmartin > <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: > Quote: > >Thanks for the tip, will use that for now as it is better than nothing. > >Still has to be something that would work better. Would be interested to > >hear any other methods. > If you're running servers a better solution would be Virtual Server. > It runs as a service and is aware of the VMs running, so your server > should wait until your VMs are in a saved state. > > -- > Cheers, > Steve Jain, Virtual Machine MVP > http://vpc.essjae.com/ > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Configuring a UPS to pause/shutdown virtual machines? Virtual Server really does give you more control and full scripting. The next version of Virtual PC, which runs only on Windows 7 has scripting just like Virtual Server... -- Bob Comer On Mon, 3 Aug 2009 07:07:01 -0700, adamscottmartin <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: Quote: >I have never used that product before because I never had a supported host OS >running (currently using Vista x64 which is not suggested for production use) >and because VirtualPC always got the job done. Will give it a look anyways. > >"Steve Jain [MVP]" wrote: > Quote: >> On Fri, 31 Jul 2009 14:37:01 -0700, adamscottmartin >> <adamscottmartin[@NOSPAM]hotmail[dot.com]> wrote: >> Quote: >> >Thanks for the tip, will use that for now as it is better than nothing. >> >Still has to be something that would work better. Would be interested to >> >hear any other methods. >> If you're running servers a better solution would be Virtual Server. >> It runs as a service and is aware of the VMs running, so your server >> should wait until your VMs are in a saved state. >> >> -- >> Cheers, >> Steve Jain, Virtual Machine MVP >> http://vpc.essjae.com/ >> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Moving the My Virtual Machines directory | Virtual PC | |||
| Missing Virtual Machines | Virtual Server | |||
| virtual machines on C drive........ | Virtual Server | |||
| XP SP3 updated 3 virtual machines | Virtual PC | |||
| a tip for virtual machines | Vista General | |||