Such error could be caused by 3rd party security software (such as AppMoat) which blocks some activities in Workbench. Try to whitelist Ansys installation directory such as "C:\Program Files\Ansys Inc", or simply stop or uninstall 3rd party security software.