[MacOS] Activator tool won't set a profile ID because there already is a subscription set

Hello,
I have no MDM, I'm trying to use my deployement utility to deploy WithSecure on MacOS platform remotely. I've managed to do it with a lot of tests. My problem is related to adding the profile ID after installation and licence input.
After using : /Library/WithSecure/bin/activator --subscription-key "XXxX-XXXX-XXXX-XXXX-XXXX" ⇒ The licence activates correctly
When I use, aftewards, : /Library/WithSecure/bin/activator --profile-id 111516686
It tells me "Product is already registered" and it does nothing.
When I put the profile in the same line as the subscription key on install (/Library/WithSecure/bin/activator --subscription-key "XXxX-XXXX-XXXX-XXXX-XXXX" --profile-id 111516686, it's ok though.
I have a problem with that because when I want to uninstall remotely, I execute the "uninstall_MacProtection" script that works correctly, but I would need to change the WithSecure profile of the mac to use a profile that authorize the uninstallation of withsecure beforehand.
(When profile isn't changed, script won't work because not authorized by the profile we set)
I hope you undestand me, sorry English second language.
Have a nice day, thank you !
Best Answer
-
Hi @Machouch
Thanks for checking and confirming. In that case, you will need to set the profile ID in the same command as the activation, like this:
/Library/WithSecure/bin/activator --profile-id <profile_id> --subscription-key <key>
Since this is the default profile, it should be set during activation and cannot be updated afterwards. However, the admin can still update the profile from the portal side.
1
Answers
-
Hi @Machouch
Thank you for reaching out to the WithSecure Community,
Have you tried rebooting the machine and using the same command to change the profile ID? If yes, and the issue remains unresolved, could you also try creating a new profile and check again?
0 -
Thank your for your answer, I didn't see it sooner.
I hadn't tryed it so I will do it as soon as possible. Thanks, I'll keep you updated !
Marwane
0 -
Hello @Sethu Laks,
I've tryed it again.
Once after reboot with another default profil.
Once with an new profile I made for testing purposes.
Once with that new profile, after a reboot.
Still the same with command line "/Library/WithSecure/bin/activator --profile-id xxxxxxxx" :
"Product is already registered"
Thank you !
Marwane
0 -
Okay, I see.
Sad it doesn't work but we'll do it manually in that case.
Thank your for you help anyway, have a nice day !
Marwane
1
Categories
- All Categories
- 4.8K WithSecure Community
- 3.6K Products
- 3 Get Support