honce
Posts: 3
Joined: Fri Aug 15, 2008 12:41 am

New HKEY_USERS\.Default values for a user being created

I set a number of registry Values in HKEY_USERS\.Default\... and I create a user account using the Users and Groups panel. I had hoped the new values would be picked up by that new user and they were not. Has anyone else seen this? Does anyone have a work around?

AI 6.4.1 Enterprise
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: New HKEY_USERS\.Default values for a user being created

Hi,

Please note that HKEY_USERS contains multiple keys, based on the user which is currently logged on. The DEFAULT key stores the profile used when no users are logged on to the computer. Therefore, if you write information in this key, it will not be accessible to the user you are creating.

Note that the HKEY_USERS hive also contains a key for the Security Identifier of the current user. Therefore, you can use it to write information for the user which runs the installation. Unfortunately Windows Installer cannot write information in the registry hive of another user. Therefore, I'm not sure if you can write information in the HKEY_USERS hive in order to be used by another user account.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
honce
Posts: 3
Joined: Fri Aug 15, 2008 12:41 am

Re: New HKEY_USERS\.Default values for a user being created

Thanks for the response. I was reading a bum article with bad information.

Return to “Common Problems”