Definition of the RunOnce Keys in the Registry

There are seven Run keys in the registry that cause programs to be run automatically: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion RunServices HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion RunServicesOnce HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion RunOnceSetup MORE INFORMATION Keys 1 through 7 apply to Windows 95, Windows 98, Windows 98 Second Edition, and… Keys 1 through 7 apply to Windows 95, Windows 98, Windows 98 Second Edition, and Windows Millennium Edition (Me). Keys 1 through 4 also apply to Windows NT 4.0 and Windows 2000. For Windows 98, Windows 98 Second Edition, Windows Me, Windows NT 4.0 SP3 or later, and Windows 2000, an additional rule is available; for keys 3 […]

Read more

Overview of Registry Trees and Keys

This section contains the following topics which describe the use of registry keys for device and driver installation: Overview of Registry Keys HKLMSYSTEMCurrentControlSetServices Registry Tree The HKLMSYSTEMCurrentControlSetServices registry tree stores information about each service on the system. Each driver has a key of the form HKLMSYSTEMCurrentControlSetServicesDriverName. The PnP manager passes this path of a driver in the RegistryPath parameter when it calls the driver’s DriverEntry routine. A driver can store global driver-defined data under its key in the Services tree. Information that is stored under this key is available to the driver during its initialization. HKLMSYSTEMCurrentControlSetControl Registry Tree The HKLMSYSTEMCurrentControlSetControl […]

Read more

Registry Keys Affected by WOW64

Under WOW64, certain registry keys are redirected. When a 32-bit or 64-bit application makes a registry call for a redirected key, the registry redirector intercepts the call and maps it to the key’s corresponding physical registry location. For more information, see Registry Redirector. Other registry keys are shared by both 32-bit and 64-bit applications on 64-bit Windows. 32-bit registry calls to shared keys are not redirected. Instead, one physical copy of the key is mapped into each logical view of the registry. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  A subset of redirected registry keys are […]

Read more