logged_in_user=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name 😕😕 && ! /loginwindow/ { print $3 }' )
logged_in_user=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name 😕😕 && ! /loginwindow/ { print $3 }' )
Does the Box uninstaller not work?
/Library/Application Support/Box/Uninstaller
Does the Box uninstaller not work?
/Library/Application Support/Box/Uninstaller
Thanks for your response Andrew.
Have been tried and it's not working.
Thanks for your response Andrew.
Have been tried and it's not working.
Here is my working policy
Here is my working policy
Thanks @geoff_widdowson! In my initial testing I didn't include the kill process for Box. But not only that, I was running
/Library/Application\\ Support/Box/uninstall_box_drive (without the _r) (just as the Box article states) as a policy command, and it kept erroring out mentioning not to use Sudo. I wasn't entering sudo in the command at all. Anyways, your process seemed to have uninstalled Box, and so thanks for your help.
Here is my working policy
Your policy didn't work for me (as of version 2.26.330). It still kept saying not to run it with sudo. I ended up removing the "Search for Process" entry and the "kill process if found". I used this in the Command box:
killall Box ; /Library/Application\\ Support/Box/uninstall_box_drive_r
and that worked.
What is the difference between the 3 different uninstall tools in AppSupport/Box/?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.