Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Automatically starting a VM VBS Can't create Object

29 Jan 2010   #1

Windows 7
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.

My System SpecsSystem Spec

30 Jan 2010   #2

W7 X-64 W8.1 X-64 Opensuse 13.1 W2003 Server

Hi there
have a look at the other thread on this

Automatically Start Virtual PC on Logon

My System SpecsSystem Spec

 Automatically starting a VM VBS Can't create Object

Thread Tools

Our Sites

Site Links

About Us

Find 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 07:39 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33