2
responses

I get this error:

 

MSI (s) (E4:9C) [19:13:39:684]: Product: NXLog-CE -- Error 1401. Could not create key: S-1-5-21-1688939787-1905098679-239004068-17022\Software\Microsoft.  System error 87.  Verify that you have sufficient access to that key, or contact your support personnel.

Error 1401. Could not create key: S-1-5-21-1688939787-1905098679-239004068-17022\Software\Microsoft.  System error 87.  Verify that you have sufficient access to that key, or contact your support personnel.

 

when using this method as part of a script...

 

$process = ([WMICLASS]"\\$server\ROOT\CIMV2:Win32_Process").Create("cmd.exe /c " + $remoteProcess1)

 

The command issued is...

 

msiexec.exe /i nxlog-ce.msi /q

 

This method works great for other MSI packages

 

Any one know why this might be happening?  I ensured that the account creating the remote process has administrative rights.

Why would this need to access the HKEY_Users hive?

 

I also noticed that if I load the same User Profile on the remote machine that I am using to start the remote process, the installation works fine.

 

Once that is done no other Administrator can remove the NXLog agent.  I try using the uninstall string and it fails.  THe only way to remove NXLog is to log on as the same user and uninstall.

 

AskedMarch 29, 2017 - 4:49pm

Comments (1)

Answer (1)

This issue seems to be caused by the `perUser` attribute that is used during the install. This also causes issues when the install and uninstall are attempted under a different user. We've decided to only fix this in the next major version as it would be causing more problems when people upgrade and the issues seems to only affect relatively few people. The beta is available if anyone is interested in testing that.

Update: You may want to try with the ALLUSERS=1 attribute passed to msiexec.