Thank you for providing the details regarding the Error 1923 encountered during patching. This error indicates that the installer does not have sufficient privileges to register the service. Based on the information provided, we recommend the following steps:
You mentioned that the service is stopped before patching, which is good. Ensure that you can manually start and stop the service without any errors. Lingering issues with the service can sometimes prevent the patch from applying successfully.
- Ensure that the account used to patch the application has Full Control over the installation folder. You can verify and grant permissions using the following command in an elevated command prompt:
icacls "C:\Path\To\Your\Application" /grant yourdomain\youradminaccount:(OI)(CI)F /T
Replace C:\Path\To\Your\Application with the actual application folder path.
Replace yourdomain\youradminaccount with the account used to run the patch
2.Check Registry Service Entries: The installer may be unable to write to the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IRAppServer
This can occur due to corruption, residual entries, or system locks, even with administrative privileges. Occasionally, the Windows Installer service itself may also encounter limitations when registering a system service.
4.Remove Residual Service Entries: To resolve potential registry conflicts, open the Registry Editor (regedit) and navigate to the above key. If the key exists and the service is not running, back it up and safely delete it.
5.Repair Windows Installer Service: From an elevated command prompt, run the following commands to ensure that the installer can register services correctly:
msiexec /unregister
msiexec /regserver
- Azure Update Manager Considerations: If your VM is managed by Azure Update Manager, please note that it currently cannot handle third-party patching without WSUS integration. To manage third-party application patches completely, a WSUS instance is required.
Reference: https://v4.hkg1.meaqua.org/en-us/azure/update-manager/guidance-migration-azure
Hope this helps! Please let me know if you have any queries.
Additionally, please check the private message for further details.