/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: Teitan 12 years ago
Senior Purple Belt
0
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.
Posted by: anonymous_9363 12 years ago
Red Belt
0
You'll find it an order of magnitude easier to use Active Setup for this. That, after all, is what it was designed for.
Posted by: horstj 12 years ago
Brown Belt
0
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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ