ChrisR Posted November 29, 2013 Posted November 29, 2013 I am looking for an idea to launch a program after Explorer is fully loaded.I tried with this but it is too early:HKCU\software\Microsoft\Windows\CurrentVersion\RunOnceHKLM\software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RunIt works like this (Autoit) by setting the wait time but it depends on the PC ProcessWait("explorer.exe", 60000)sleep(5000)I'd like to do it at the earliest, but not too early
Kullenen_Ask Posted November 29, 2013 Posted November 29, 2013 pecmd.exe has a function for it. i do not know to use it very good but can be something like this. just for you to understand the logic.pecmd.iniTEAM WAIT 2000|EXEC =!%WinDir%\SYSTEM32\OEM.CMDneed to put"pecmd.exe load %WinDir%\SYSTEM32\pecmd.ini"toHKLM\software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Runbut maybe you will need to use pecmd call two times. from pecmd.ini need to call another pecmd2.ini. because explorer waits until the 2000 finishes and opens later.ı have solved it in a way but need to check at home how did i do it.
ChrisR Posted November 29, 2013 Author Posted November 29, 2013 Thanks for the trick in WinPE way. I will try later (busy this afternoon)I also look for the real Windows 7 or 8.1, if someone has an other idea.
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