Jump to content

Does WPI stop Standard RunOnceEx?


Recommended Posts

Can someone tell me if WPI stops the standard RunOnceEx key from processing.

What I want to do is to use WPI to launch a hta form that will ask the engineer a few questions, on completion of this form it will add some registry entries to HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEX as I need these things to happen on next login, but the problem I am having is that this key no longer seems to run its normal process.

I have even tried restarting the RunOnceEx process manually using the command:

%windir%\System32\rundll.exe iernonce.dll,RunOnceExProcess and nothing happens, the keys don't even delete themselves from the registry

any ideas??

Link to comment
Share on other sites


I am stumpted. I am unable to get a few things working in RunOnceEX.

I want to try and prepare a PC to take an image. Has anyone needed to do something similar and if so how did you do it?

1. Add RunOnce key to Remove PC from domain

2. Add RunOnce key Restart PC (to make sure it has removed from the domain)

3. Add RunOnce key to Shutdown PC. (Image can be taken once shutdown)

4. Add RunOnce key to run NewSid. (which will rename comp and regenerate SID's)

5. Add RunOnce key to launch AntiVirus setup.

6. Add RunOnce key to create system restore point.

7. Restart PC to launch RunOnce process and run steps 1-6. Any help or assistance would help me out greatly

Link to comment
Share on other sites

You would need multiple sections each one calling the next one and then restarting at the end.

i.e.:

command file 1 = remove PC from domain, enter reg for runonce command2 and then call reboot.

command file 2 = add runonce entries to call command 3 and then shutdown PC.

This is chaining them together so that the first one calls the next one.

I am sure there are better ways to do it but that is what first comes to mind for me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...