Uninstall the Unified Agent with a password.
See KB article: Silently uninstall Unified Agent
Uninstall the Unified Agent without a password.
If the first step does not work, you need to remove some registry keys.
Note: Ensure that all keys and references are removed:
- Remove the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bc-cloud-wfp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bcua-service
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bcua-wfp
HKEY_LOCAL_MACHINE\SOFTWARE\Blue Coat Systems
There are files located in HKEY CLASS ROOT, search the root or ‘’computer’’ for BCUA, delete anything that matches the search criteria. One symptom would be the installer reporting error ‘’ bcua_service.exe is not marked for installation’’. Deleting all reg keys including HKEY CLASS ROOT resolve this problem.
- Kill the following services in Windows Task Manager:
Tasklist (looking for PID for bcua-service.exe and bcua-notifier.exe)
Taskkill /PID <pid#> /F
- Delete the following files and directories:
C:\ProgramData\bcua (dir) *Note need to show all files and directories to see ProgramData.
C:\Program Files\Blue Coat Systems (dir)
C:\Windows\System32\drivers\bcua-wfp.sys (file)
- Search register for bcua and delete the entry or key that is associated with it. Also, delete the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<some number>
Notes:
- Will have to look into each key to find the one that shows the display name as Unified Agent. This removes it from the installed programs.
- The Legacy driver data will fail to delete but does not affect the ability to remove the UA and install a new UA.
- After deleting the registry keys, restart the computer, and then delete the remaining files in the UA folder.
If you experience issues removing UA from the registry
- Use psexec.exe to remove the registry files Get psexec.exe from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
- Create a shortcut with psexec.exe and edit the property file.
- Add toggles and parameter to psExec.exe >> psExec.exe -i -d -s c:\windows\regedit.exe
- After modifying psexec.exe, run it to launch regedit and delete the required keys.