To stay updated on your favorite discussions, please create an account or log in. Then, click the Bookmark icon to subscribe and receive notifications.

[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

  • Sethu Laks
    Sethu Laks Staff, Moderator Posts: 313 W/ Moderator
    Solved

    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.

Answers

  • Sethu Laks
    Sethu Laks Staff, Moderator Posts: 313 W/ Moderator
    edited April 9

    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?

  • Machouch
    Machouch Posts: 4 Expert

    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

  • Machouch
    Machouch Posts: 4 Expert

    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

  • Machouch
    Machouch Posts: 4 Expert

    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

Categories