Solution for some mac connectivity issues (disabled software)

Typing this but i get this message : spctl: failed to store new configuration
any idea?