kev_147 Posted June 30, 2006 Share Posted June 30, 2006 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 registryany ideas?? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 30, 2006 Share Posted June 30, 2006 I have a mix of runonceex entries due to RyanVM's update pack and addons and WPI does not stop them from running at all. Link to comment Share on other sites More sharing options...
kev_147 Posted July 1, 2006 Author Share Posted July 1, 2006 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 domain2. 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 More sharing options...
Kelsenellenelvian Posted July 1, 2006 Share Posted July 1, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now