HKCU Tweak Before Loggin
I am trying to push out some registry tweaks late at night when most people will not be logged in to their computers. The problem is that I want the tweaks to be applied to HKCU. Could anybody tell me if there is a way to do this when there is no user currently logged in?
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
Teitan
13 years ago
I would suggest to get the users SIDs from the following reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
and then make your changes under HKEY_USERS\<SID>
As soon as an user logs on to the system, Windows will copy the informations residing in HKEY_USERS\<Users SID> to HKEY_CURRENT_USERS
Remember that Windows will only store informations under HKEY_USERS from users which have been logged in at least once on the system.
and then make your changes under HKEY_USERS\<SID>
As soon as an user logs on to the system, Windows will copy the informations residing in HKEY_USERS\<Users SID> to HKEY_CURRENT_USERS
Remember that Windows will only store informations under HKEY_USERS from users which have been logged in at least once on the system.
Posted by:
anonymous_9363
13 years ago
Posted by:
horstj
13 years ago
Thanks for the advice. I looked into using Active Setup, but haven't been able to get too far. From what I can tell, I need to create an exe. What all needs to be contained in that? I am using an msi file and transforming it to do the installation, but then I would like to apply the tweaks. Do I need to include the msi/mst in the exe or can I just use the kbox to script the msi install and then run the exe with only the reg settings?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.