CA Directory Management UI could not be reinstalled

Document ID : KB000009089
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

After uninstalling the CA Directory Management UI, there are still traces of the software on the machine. I need to be able to reinstall the CA Directory Management UI on the same machine even though the uninstaller didn't remove all traces.

Environment:
12.6
Resolution:

1) Stop and delete Windows services (replace HOSTNAME with the actual name): 
C:\>sc stop DXserver_HOSTNAME-management-ui 
SERVICE_NAME: DXserver_HOSTNAME-management-ui 
TYPE : 10 WIN32_OWN_PROCESS 
STATE : 3 STOP_PENDING 
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN) 
WIN32_EXIT_CODE : 0 (0x0) 
SERVICE_EXIT_CODE : 0 (0x0) 
CHECKPOINT : 0x2 
WAIT_HINT : 0x7530 
C:\>sc delete DXserver_HOSTNAME-management-ui 
[SC] DeleteService SUCCESS 
C:\>sc stop DXmgmtUIservice 
SERVICE_NAME: DXmgmtUIservice 
TYPE : 10 WIN32_OWN_PROCESS 
STATE : 4 RUNNING 
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN) 
WIN32_EXIT_CODE : 0 (0x0) 
SERVICE_EXIT_CODE : 0 (0x0) 
CHECKPOINT : 0x0 
WAIT_HINT : 0x0 
C:\>sc delete DXmgmtUIservice 
[SC] DeleteService SUCCESS 
C:\>sc stop DxagentService 
SERVICE_NAME: DxagentService 
TYPE : 10 WIN32_OWN_PROCESS 
STATE : 1 STOPPED 
WIN32_EXIT_CODE : 0 (0x0) 
SERVICE_EXIT_CODE : 0 (0x0) 
CHECKPOINT : 0x0 
WAIT_HINT : 0x0 
C:\>sc delete DxagentService 
[SC] DeleteService SUCCESS 
C:\> 

2) Remove registry keys and values 

2.1) Find product key in the registry: 
C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /F "CA Directory Management UI" /S /D 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F47CC8-BE35-4525-BC85-B29C37239650} 
DisplayName REG_SZ CA Directory Management UI 
End of search: 1 match(es) found. 
C:\> 

2.2) Using just retrieved product key ( {33F47CC8-BE35-4525-BC85-B29C37239650} in this example), find and remove installer keys and values: 
C:\>reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F47CC8-BE35-4525-BC85-B29C37239650} /f 
The operation completed successfully. 
C:\>reg query HKEY_CLASSES_ROOT\Installer\Products /F "{33F47CC8-BE35-4525-BC85-B29C37239650}" /S /D 
HKEY_CLASSES_ROOT\Installer\Products\8CC74F3353EB5254CB582BC973326905 
ProductIcon REG_SZ C:\Windows\Installer\{33F47CC8-BE35-4525-BC85-B29C37239650}\ARPPRODUCTICON.exe 
End of search: 1 match(es) found. 
C:\>reg delete HKEY_CLASSES_ROOT\Installer\Products\8CC74F3353EB5254CB582BC973326905 /f 
The operation completed successfully. 
C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer /F "{33F47CC8-BE35-4525-BC85-B29C37239650}" /S /D 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8CC74F3353EB5254CB582BC973326905\InstallProperties 
ModifyPath REG_EXPAND_SZ MsiExec.exe /I{33F47CC8-BE35-4525-BC85-B29C37239650} 
UninstallString REG_EXPAND_SZ MsiExec.exe /I{33F47CC8-BE35-4525-BC85-B29C37239650} 
End of search: 2 match(es) found. 
C:\>reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8CC74F3353EB5254CB582BC973326905 /f 
The operation completed successfully. 
C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer /F "{33F47CC8-BE35-4525-BC85-B29C37239650}" /S 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders 
C:\Windows\Installer\{33F47CC8-BE35-4525-BC85-B29C37239650}\ REG_SZ 
End of search: 1 match(es) found. 
C:\>reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders /v C:\Windows\Installer\{33F47CC8-BE35-4525-BC85-B29C37239650}\ /f 
The operation completed successfully. 
C:\> 
3) Remove whole DXHOME content 
C:\>rmdir "%DXHOME%"\..\ /s/q 
C:\>