msiexec leaving user hive registry handle open after logoff? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Peter350
Posts: 30
Joined: Sat Oct 17, 2009 1:56 pm

msiexec leaving user hive registry handle open after logoff?

When a user logs off, it is generally accepted that handles to the users registry hive (under HKEY_USERS) are closed. This is essential for example so that Roaming Profiles can be uploaded to the server.

MS produces a tool (UPHClean) to enforce this behavior in case of apps wrongly leaving hives open after the user logs off.

Recently I have noticed that msiexec process (the MSI service) has been maintaining open handles after users log off. This violates MS's basic theory that handles should be closed by well-behaved apps or services.

I would have to doubt whether this is something that Advanced Installer could cause, however, only since using the AI builder and running installers produced by AI on a regular basis, have I noticed this behavior from msiexec

Perhaps this is a known bug in msiexec?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: msiexec leaving user hive registry handle open after logoff?

Hi,

It seems that this is a known bug in Windows Installer. You can read more about it here.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”