/build/static/layout/Breadcrumb_cap_w.png

BADIMPERSONATION during install

When I try to install an application (vendor's MSI) as non-admin account, I get the following error during install:

"Error creating registry key for "InstallLoc""

When I click 'ok', the installations continues and succesfully installs.

If I install as an account with admin rights, I do not get the error.

When I run regmon during install, as non admin I get:

IDriver.exe:1660 QueryKey HKCU SUCCESS Name: \REGISTRY\USER\S-1-5-21-207654885-1635884669-2869975507-10313_CLASSES

IDriver.exe:1660 OpenKey HKCU\Software\Hyprotech\HTFS\InstallLoc NOTFOUND

IDriver.exe:1660 OpenKey HKCR\Software\Hyprotech\HTFS\InstallLoc BADIMPERSONATION

When I run regmon as admin install, I get:

IDriver.exe:3220 QueryKey HKCU SUCCESS Name: \REGISTRY\USER\S-1-5-21-207654885-1635884669-69975507-35533_CLASSES

IDriver.exe:3220 OpenKey HKCU\Software\Hyprotech\HTFS\InstallLoc NOTFOUND

IDriver.exe:3220 OpenKey HKCR\Software\Hyprotech\HTFS\InstallLoc SUCCESS Access: 0x1

I have googled 'BADIMPERSONATION', there's an article suggesting changing policies on the users machine, this is not an option just for one app.

Has anyone had this before or have any ideas how to get round it?

Thanks.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Meic 15 years ago
Second Degree Blue Belt
0
I've just realised this only happens when installed via deployment tool - installing using msiexec command locally works. Therefore I'm going to look at options on deployment tool...
Posted by: Heresy 15 years ago
Senior Yellow Belt
0
Does your “deployment tool” have its own admin account? To add something to HKCU you have to be logged in as that user. I wrote an installer for something and tried to deploy it through Altiris and had a similar error. I changed the package to run as logged on user and it was fine.
Posted by: Meic 15 years ago
Second Degree Blue Belt
0
Thanks for your suggestion Heresy.

I have just managed to get it working. It was the pre-req isscript 1150 that was causing issues. Once I changed isscript 1150 dcom properties from "The interactive user" to the "Launching User" is installs.
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