The installation of Windows XP SP3 writes an entry to the following Userinit registry
value in the HKEY_ LOCAL_
MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon location which
will cause the My Documents folder to open when logging into the client
machine.
The Userinit registry key is located in the HKEY_ LOCAL_
MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon and here is a
list of the default values of the Userinit
registry key:
- An XP system that does NOT have the K1000 client
installed will have a registry entry of: C:\WINDOWS\system32\userinit.e-xe,
(This includes the comma at the end of the value, this is the
default)
- An XP system with the K1000 client installed and has SP2 applied
will have a registry entry of C:\WINDOWS\system32\KUsrInit.exe, (This
includes the comma at the end of the value.
The system works correctly at user login)
- An XP system with the K1000 client installed and
has SP3 applied C:\WINDOWS\system32\userinit.exe,C:\WINDOWS\system32\KUsrInit.exe, (Duplicate entry causes MY Documents folder to open in the foreground
after login)
Please note that the KuserInit.exe is needed because it
allows the K1000 client to hook into the Windows Login sequence to fire Login kbots scripts or Mananged Installations.
Solution:
Use a script to make sure the Userinit registry
value in HKEY_ LOCAL_
MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon location is to
have the following entry only:
C:\WINDOWS\system32\KUsrInit.exe