iceberg Posted April 25, 2007 Share Posted April 25, 2007 Hi guys, wd appreciate if you cd enlighten me as to how can I make it such that the compiled exe program is the last to run after a user has logged into Windows....meaning....after processing the Run keys (all) and Startup folders. My program should be the last one. Thanks. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
Gabburd Posted April 25, 2007 Share Posted April 25, 2007 Windows does not run the startup items in a particular order.For more information see: http://blogs.msdn.com/oldnewthing/archive/...2/25/45926.aspxAnother option is to make a program which would execute and wait for them in order and place that file in your startup directory. Link to comment Share on other sites More sharing options...
iceberg Posted April 26, 2007 Author Share Posted April 26, 2007 thanks for enlighting Gabburd. the link has given me a few ideas. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
Siddhartha Posted April 26, 2007 Share Posted April 26, 2007 best ive found that is "retard-like-me accessible" is Startup Control Panel made by a friend of mine. Simple and definitely easy to use. Just know the order that Windows boots in:(from that other link just for a resource)STARTUP ORDER FOR WINDOWS 9X/ME 1. config.sys 2. autoexec.bat 3. wininit.ini 4. winstart.bat 5. system.ini 6. win.ini 7. All Users-RunOnce HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce 8. All Users-RunServices HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices 9. All Users-RunOnce HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce 10. All Users-Run HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run 11. All Users-RunOnceEx HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx 12. All Users-RunEx HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunEx 13. Current User-RunOnce HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce 14. Current User-Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 15. Current User-RunOnceEx HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnceEx 16. Current User-RunEx HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunEx 17. Common Startup Folder 18. Startup Folder STARTUP ORDER FOR WINDOWS NT4/2000/XP 1. BootExecute HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute 2. Services 3. User enters a password and logon to the system 4. UserInit HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit 5. Shell HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell 6. All Users-RunOnce HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce 7. All Users-Run HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run 8. All Users-RunOnceEx HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx 9. All Users-RunEx HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunEx 10. Current User-RunOnce HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce 11. Current User-Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 12. Current User-RunOnceEx HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnceEx 13. Current User-RunEx HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunEx 14. Common Startup Folder 15. Startup Folder his site for the Startup Control Panel is Here Link to comment Share on other sites More sharing options...
Gabburd Posted April 26, 2007 Share Posted April 26, 2007 best ive found that is "retard-like-me accessible" is Startup Control Panel made by a friend of mine. Simple and definitely easy to use. Just know the order that Windows boots in:That program will show you which programs will be opened and let you remove them, but Windows will still launch the programs in each of these Folders and Registry Keys without waiting for them to finish. Link to comment Share on other sites More sharing options...
Bert Posted April 26, 2007 Share Posted April 26, 2007 One approach may be to poll the information that the startup control panel references. Have that polled by the exe you make, and the exe would pause until all other apps have started. If a new process is added, the exe would detect the new app the next time the system starts. I hope I made sense there. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
iceberg Posted April 29, 2007 Author Share Posted April 29, 2007 hi, thanks for all the ideas.....i just made things simple...i shifted the program from the Common Startup folder to the Users startup folder. it solved my problem. thanks alot anyway. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
MHz Posted April 29, 2007 Share Posted April 29, 2007 Start the name of the link with "Z" as other characters come before it. E.g. ZZZZCccoooollllll.lnk 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