The personalized settings routine runs for a new user, even though the default user profile may be customized and the settings do not need to be changed.
There are two ways that a new User.dat file can be updated with Internet Explorer settings: if the Windows Desktop Update component is installed, Explorer.exe and Shdocvw.dll perform this task; if not, Loadwc.exe will do it. Loadwc.exe and Explorer.exe are always in memory. When a new user profile is created, one of these components will compare the data in the following registry keys:
A variable named StubPath is specified for most component keys in the aforementioned section of HKEY_LOCAL_MACHINE. The data in that variable provides instructions about what that setting in the new user profile should be. It points to a program file or .inf files. For program files, it commonly contains instructions, such as values and APIs. For .inf files, it points to a specific section containing the data to be added to the User hive.
For each key that is not a match in both the User and Machine hives, the key is created in User (if it does not exist), and the StubPath is run to set its variable. This results in the User keys being updated with the correct data.
Hive synchronization occurs in only one of the following scenarios:
- When a new user profile is created after Internet Explorer has been installed.
- The first time a user logs on after Internet Explorer has been installed on a computer that already has multiple profiles.
- When any user installs a newer version of one of the components.
- When a user on a multiple-user system uninstalls Internet Explorer.
To prevent the personalized settings from being created:
- Start Registry Editor (Regedit).
- From the HKEY_LOCAL_MACHINE subtree, go to the following key:Software\Microsoft\Active Setup\Installed Components
- On the Edit menu, click Find. Type in "STUBPATH" (without quotes), and then click Find Next.
- Delete the string value named StubPath. Be sure to delete the StubPath value located in the Installed Components section of the registry only.
- Continue this procedure until all values named StubPath are deleted from the Installed Components section of the registry.
- Close the Registry Editor.
ID d'article : 238441 - Dernière mise à jour : 31 oct. 2006 - Révision : 1