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: Windows Startup scripts.. exactly when?


30 Jan 2010   #1

Windows 7
 
 
Windows Startup scripts.. exactly when?

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 System SpecsSystem Spec
.

30 Jan 2010   #2

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 System SpecsSystem Spec
30 Jan 2010   #3

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
.


30 Jan 2010   #4

Windows 7
 
 

Quote   Quote: Originally Posted by Venths View Post
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 System SpecsSystem Spec
30 Jan 2010   #5

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
Reply

 Windows Startup scripts.. exactly when?




Thread Tools



Similar help and support threads for2: Windows Startup scripts.. exactly when?
Thread Forum
Windows PowerShell: executionpolicy (so I can run scripts) General Discussion
IE9 prompts to run scripts or activex Browsers & Mail
Batch Scripts General Discussion
Two Scripts: START then END Application General Discussion
Getting Outlook (or Windows Live Mail) to run scripts Browsers & Mail
User scripts Browsers & Mail
message about scripts on bootup? General Discussion

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 03:37 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