xperttech
asked on
HKEY_ALL_USERS entries are not pused to all users at logon
I'm using an installer program to deliver an application's registry key for all my users. The problem I have is that I have tried placing it under:
a) HKEY_ALL_USERS\Software\<m y program>
b) HKEY_USERS\.Default\Softwa re\<my program>
...and after a user logon, the entries are not pushed to the users HKEY_CURRENT_USER hive
I have even tried pushing the entries in a logon script directly to the HKEY_CURRENT_USER\Software \<my program>
After I login, I see the installer running but when I inspect the registry no changes were added.
Note: The installer always runs with administrator credentials. Is it possible it's inserting into the administrator's hive?
a) HKEY_ALL_USERS\Software\<m
b) HKEY_USERS\.Default\Softwa
...and after a user logon, the entries are not pushed to the users HKEY_CURRENT_USER hive
I have even tried pushing the entries in a logon script directly to the HKEY_CURRENT_USER\Software
After I login, I see the installer running but when I inspect the registry no changes were added.
Note: The installer always runs with administrator credentials. Is it possible it's inserting into the administrator's hive?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That key basically tells Windows that a component is installed. There is an "IsInstalled" value under there that you can manipulate to make the OS think it isnt installed......Outside of that, I cant add any more on it.....
"I'm using an installer program to deliver an application's registry key for all my users"
Thats why I was suggesting just to keep it under HKCU. Didnt realize it did more.....
As for teh registry portion, you could script a few simple lines maybe in a batch file, that the installer can lay down in the %USERNAME%'s startup?
"I'm using an installer program to deliver an application's registry key for all my users"
Thats why I was suggesting just to keep it under HKCU. Didnt realize it did more.....
As for teh registry portion, you could script a few simple lines maybe in a batch file, that the installer can lay down in the %USERNAME%'s startup?
Yes. Just let it run under HKCU as the end users themselves. As long as it is not a Policy Key, they should have access to most other spots....