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.
"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)
Please log in to answer
Posted by:
Meic
15 years ago
Posted by:
Heresy
15 years ago
Posted by:
Meic
15 years ago
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.