Windows Startup scripts.. exactly when?

cyberpine

New member
Local time
7:25 PM
Messages
25
I have a vbscript that starts a Virtual PC Machine - the script runs perfect when executed manually or from the command line. 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.. for example, after a powerfail?

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 a cscript call through 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 (Windows Virtual PC) from the cmd prompt? How? and What are the switches for vpc.exe?

Basically, I need the VM to always be up.

Thanks for any help or information.
 

My Computer

OS
Windows 7
update: I found my error, but can't fix it.

The application-specif permissions settings do not grant local activation permission for the COM Server Application.

component services > run as admin > computers > my computer > dcom config > Virtual PC > properties > security

But Virtual PC options are grayed out in component services.
 

My Computer

OS
Windows 7
Hi,

Welcome to 7 forums :)

* In this regard, make sure if the script service is set to manual or automatic. If its manual, make the service to run automatically. Then place it at the startup !
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron N5010
OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i3
Memory
4 GB DDR3
Screen Resolution
1366 X 768
Hard Drives
Seagate 500 GB
Internet Speed
4 MBPS
Hi,

Welcome to 7 forums :)

* In this regard, make sure if the script service is set to manual or automatic. If its manual, make the service to run automatically. Then place it at the startup !


We'll yes, but that's not going to help me if the service isn't working.

Thanks.
 

My Computer

OS
Windows 7
Ok, if you have many users and have set this application on startup for all users. Remove it. Try adding it only for the current user and lets check if this works :)
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron N5010
OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i3
Memory
4 GB DDR3
Screen Resolution
1366 X 768
Hard Drives
Seagate 500 GB
Internet Speed
4 MBPS
Back
Top