Friday, May 02, 2008

Microsoft Windows startup Registry Settings

INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup:

I believe this is pretty much a bulk of the information set by Xteq X-Setup. For those who don't want to make the purchase for a very simple edit, the following is the except from the Microsoft KB article

General order of loading:

  1. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
  2. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
  3. <Logon Prompt>
  4. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce Not supported in NT 3.51 and ignored by XP and 2000 in safe mode
  5. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  6. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  7. StartUp Folder
  8. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Not supported in NT 3.51 and ignored by XP and 2000 in safe mode


However,
With the exception of the HKEY_LOCAL_MACHINE\...\RunOnce key, all keys and their entries are loaded asynchronously. Therefore, all entries in the RunServices and RunServicesOnce keys can potentially run at the same time.

Entries in the HKEY_LOCAL_MACHINE\...\RunOnce key are loaded synchronously in an undefined order.

Because the HKEY_LOCAL_MACHINE\...\RunOnce key is loaded synchronously, all of its entries must finish loading before the HKEY_LOCAL_MACHINE\...\Run, HKEY_CURRENT_USER\...\Run, HKEY_CURRENT_USER\...\RunOnce, and Startup Folder entries can be loaded.

Labels: , ,

Friday, February 15, 2008

Run Command Most Recently Used List Storage

At least for Windows XP, this list is stored in the registry:

My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

It looks like there are values \a through \z off of RunMRU, plus \(Default) and \MRUList. There is string value in MRUList: e.g., "nkvlsawbhczeyoijfugrtdxpmq", which determines the ordering of MRUList entries.

Labels: ,