Uninstall carbon black

in order to uninstall carbon black, i need to do that :

Using a Local Administrator account, open a command prompt with administrative privileges.
Navigate to the Confer directory:
cd C:\Program Files\Confer
Run one of the following commands, depending on your Policy setting for 'Require code to uninstall sensor’
Uninstall Code Enabled (case sensitive, alpha characters should be entered in uppercase)
uninstall.exe /uninstall xxxxxxxx
Uninstall Code Disabled:
uninstall.exe /uninstall

what’s the way to setup an action to do that?

action uses wow64 redirection false
waithidden cmd.exe /c "cd "C:\Program Files\Confer" & uninstall.exe /uninstall"