Automatically starting a VM VBS Can't create Object


  1. Posts : 25
    Windows 7
       #1

    Automating VPC Startup


    I have a vbscript that starts a VM. I've placed it in the all users startup, but when I reboot it does not run until I log in. Is this the expected behavior? How can I have it start when Windows starts up?

    Also, I've tried running the vbscript under a windows service using srvany.exe, but it just won't run. I even tried calling the vbscript from a cmd file with cscript call in the service, again, no luck. Is it possible to run a vbscript from a windows service?

    Finally, is it possible to run a VM using vpc.exe from the cmd prompt? How? and What are the switches?

    Basically, I neet the VM to always be up.
    Last edited by cyberpine; 30 Jan 2010 at 04:15.
      My Computer


  2. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #2

    Hi there
    have a look at the other thread on this

    Automatically Start Virtual PC on Logon

    cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:03.
Find Us