Machine Based Installs and HKCU keys and files


We have a few apps (office, acrobat reader etc) which are setup as machine based installs - i.e. they install when the PC starts up before presenting the crtl+alt+del screen.

When a user logs in and runs one of these machine based apps for the first time, it repairs in order to write any HKCU registry keys and user specific files. This is all fine and as expected.

However, when we remove the machine based application and it uninstalls upon next reboot - how do the HKCU reg keys etc get removed from the user profile, or don't they?

Guess they don't get removed but if anyone has any experience with this / best practices etc I'd be grateful.


0 Comments   [ + ] Show comments

Answers (4)

Posted by: ab2cv 16 years ago
Orange Senior Belt
You're right - they don't get removed. We haven't really found a way to properly manage this either, or whether as you say, there are best practices with regards to how they should be managed. I'd be interested to hear someones expert opinion too!
Posted by: kkaminsk 16 years ago
9th Degree Black Belt
I've used running an EXE at logon to clean things up with user profiles but that does not work well in an upgrade scenario using AD. I have not tried to clean user profiles up in an upgrade scenario either because if it ain't broken don't go fixin it.
Posted by: Gastro 16 years ago
Senior Yellow Belt
What you can do it that you IF its possible, remove all HKCU registry entries in the package.... Most program works without then.

When I create msi... The last thing I do is that I save the msi.. then I remove all HKCU and then I save it again under another name.. if the last msi-package works.. I use that.. otherwise I use the one with the HKCU...
Posted by: MSIMaker 16 years ago
2nd Degree Black Belt
ab2cv and kkaminsk are both right.

They are not removed and unless they pose some sort of issue....don't worry about them.

If they are an issue....you can always create an msi package to remove the offending keys and thats that.
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