This article explains the changes that happen to the ‘Run As’ credentials for Micro Focus Directory Server (MFDS) when an update such as a HotFix/WrapPack for Enterprise Server is installed.
Problem:
When using msiexec to apply maintenance, the "Logon As" user id and password are deleted. The login credentials are set to "Local System" instead of the site-supplied user ID and password. As a result, network resources (in this case everything) are inaccessible until the system is re-started and re-configured. This process is difficult. How can we avoid this?
Resolution:
When you apply a HotFix or WrapPack for maintenance, the updates perform an uninstall before the replacement. To prevent access during the update, the Run As credentials for MFDS are reset to the Local System credentials.
If the system has the Microsoft sc.exe utility installed, you can use a command script to uninstall MFDS, and reinstall it with the correct credentials. You can then run this script after applying a HotFix to re-set the credentials, rather than manually re-starting and re-configuring the system.
The Microsoft sc.exe utility is provided in the Win32® Software Development Kit (SDK) MSTOOLS directory. If you do not have access to the SDK, it is also a part of the Microsoft Resource Kit.
The software is provided by default with some Windows versions. To check if it is installed, on a command line, enter the command: SC
Example command script
@echo off
rem Remove old MFDS service
sc delete mf_ccitcp2
rem Recreate MFDS service
sc create mf_ccitcp2 binPath= "c:\\program files\\micro focus\\net
express\\5.1" start= auto tag= no DisplayName= "Micro Focus Directory
Server" obj= <username> password= <password>
Hotfix
Wrappack
#EnterpriseDeveloper
#MFDS