This Device Is Locked Desbloquear

works perfectly from the command line but not when I run it from bigfix fixlet, I does work on some of the installations and successfully uninstall them and leave others untouched unlike the cmd which completely removes all the deployments.