Fix RepUx.exe Application Error 0xc0000022 in Windows 10

3 ways to solve Fix RepUx.exe Application Error 0xc0000022 in Windows 10.

RepUx.exe Application Error 0xc0000022

VMware Carbon Black users encounter a weird issue on login or startup with Sensor in Active mode in Windows 10 2004. If you are among them you might find – “RepUx.exe – Application Error The application was unable to start correctly (0xc0000022). Click OK to close the application”.

The problem occurs because of BeyondTrust DLL (pghook.dll) that is being inserted into Carbon Black processes, triggering tamper protection by the Sensor.  Windows Security handles the file like a threat and doesn’t allow to perform the normal actions in which the file takes part. As a result,  Microsoft Defender or any third-party security solution, if installed, blocks Carbon Black Cloud Console and some other components from running in Windows 10.

RepUx.exe Application Error in Windows 10

Here is how to Fix RepUx.exe Application Error 0xc0000022 in Windows 10 –

1] Exclude paths from Windows Defender

Easiest method to fix this issue is to add Carbon Black Cloud sensor files to the exclusion list under Microsoft Defender. Then the Windows security will avoid the items when scanning proceeds and the needed files continue working as expected. Follow the steps –

  1. Click the Search icon from taskbar.
  2. Type – Security.
  3. Press – Enter.
  4. Select – Virus & threat protection.
  5. Go to – “Virus & threat protection settings” section.
  6. Click – Manage settings.
  7. Scroll down and click – Add or remove exclusions.
  8. Select – + Add an exclusion.
  9. Click – Folder.
  10. Select the following folders one by one

C:\Program Files\Confer\

  1. Similarly, click + Add an exclusion > File and select the following files one by one –


Now you will not get RepUx.exe Application error while opening or running the program.

2] Set up exclusions for files and folders in third party antivirus

Every third-party anti-malware or antivirus program includes an option to exclude certain items. If you have installed any you can add the files and folders in the above method to the exclusion list in that. You need to check manually the option on the interface depending on the software. See the files and folders list once more –

OS Paths or files to exclude
Windows Folders –

  1. C:\Program Files\Confer\
  2. C:\ProgramData\CarbonBlack\

Files –

  1. C:\Windows\System32\drivers\ctifile.sys
  2. C:\Windows\System32\drivers\ctinet.sys
macOS Pre-3.5.x.x
/applications/ and higher

  1. /Applications/VMware Carbon Black Cloud
  2. /Library/Application Support/
  3. /Library/Extensions/CbDefenseSensor.kext
  1. /var/opt/carbonblack/
  2. /opt/carbonblack/

3] Add exclusions for AV product to Carbon Black Cloud console

  1. Sign in to the – Cb Defense dashboard.
  2. Click – ENFORCE.
  3. Choose – Policies.
  4. Select Policy Group to update.
  5. Click the plus sign (+) located next to the Permissions part
  6. Select – Add application path.
  7. Enter the suggested files and folders exclusions from the relevant security vendor.
  8. Check – Bypass option box under Performs Any Operation.
  9. Finally, click – Confirm.

In case, the error still persists vmware Carbon Black staffs are always ready to support. All you need is to follow the link and write your issues – Support vmware Carbon Black.

That’s all!!!

Sharing is caring    Share Whatsapp

Topics:  Windows
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.