"Performing first time init shell" is shown every time in the splashscreen when the user logs on

Version 1


    When logging on to a User Session with a mandatory profile, the RES Workspace Manager splashscreen "Performing first time init shell ...." will be showed at every logon.



    The keys "HKEY_CURRENT_USER\Software\Microsoft\Active Setup\Installed Components" and "HKEY_USER\.Default\Software\Microsoft\Active Setup\Installed Components" will be compared. The first time init shell will be applied if the list of subkeys in HKCU  is the same (or less) than the HKU\.Default list.

    If there are any keys in the "HKEY_CURRENT_USER" subkeys available that do not exist in the "HKEY_USER\.Default" list, the first init shell is not necessary.



    Solution 1.
    Add the HKEY_CURRENT_USER subkeys automatically to the Mandatory Profile by:
    1) Rename the NTUser.man to NTUser.dat. 
    2) Log on once with a template user.
    3) Log off
    4) Rename NTUser.dat back to NTUser.man.

     Solution 2.
    Add the HKEY_CURRENT_USER subkeys manually  to the Mandatory Profile.
    Note: User Settingswill not do the job, because it is launched after the Shell Init.