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
cyberpine

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
cyberpine

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
Venths

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
cyberpine

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
Venths

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
Thread Forum
IE9 prompts to run scripts or activex
Good morning, Im running Win7 64. IE9 patched up to date. I installed two programs that assist with World of Tanks data. I normally do not take a chance with something like these stand alone programs (Dokaninstall was one of them, the other I unstalled and dont have the download anymore). Since...
Browsers & Mail
Batch Scripts
I am trying to run/create a batch script for the users on my domain to install a program that will download and update flash and java. I have the .exe stored on the network share and currently have most of the script written. The part where i need help is to have to .exe run as one of our network...
General Discussion
Two Scripts: START then END Application
I'm running low on resources and am not wanting to upgrade, so it looks like a script to the rescue! Basically I work with Oracle 11g on my computer. Here are the 2 scripts that I'm looking to do. Please help. Thanks. Script 1: Start Oracle 11g START Service A START Service B START...
General Discussion
Getting Outlook (or Windows Live Mail) to run scripts
Hey guys So apparently at least Outlook should have the ability to run scripts when it finds a certain keyword in incoming mail, but I cannot find the option for it? Some help please? And may it be possible on WLM as well? Thanks alot!
Browsers & Mail
message about scripts on bootup?
Hi this is probably not a windows 7 problem but has only arisen since I changed from Vista, when I switch on and log in , as soon as my desktop appears I get a message (attached) can't seem to get rid of it, maybe I'm missing something obvious here?:confused:
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 23:02.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App