How to blow away MCX using casper?

donmontalvo
Esteemed Contributor III

The jamf binary can be used to add mcx, curious if there's a way to remove mcx?

The reason I ask, sometimes there are hidden functions that don't show when pulling up the jamf binary help pages.

$ jamf -help mcx

Usage:   jamf mcx

Usage:   jamf mcx -username <username>

     -username       The username of the account that Managed Preferences are being applied to.

Notes:   When run without the -username flag, Managed Preferences are applied for the Computer Level.

$

TIA
Don

--
https://donmontalvo.com
2 ACCEPTED SOLUTIONS

hkim
Contributor II

what's wrong with https://jamfnation.jamfsoftware.com/discussion.html?id=5171 ?

View solution in original post

ToriAnneke
Contributor II

For every MCX preference I make, I create one called "REVOKE - blah blah blah" and I have it to "Make This Preference Unmanaged"

Then I have an MCX Revoker Managed Preference Profile where I manually Scope it to the machine I want to revoke MCX's from.

Reboot and usually works.

If not, then I do the deep cleaning method in Terminal.

View solution in original post

4 REPLIES 4

hkim
Contributor II

what's wrong with https://jamfnation.jamfsoftware.com/discussion.html?id=5171 ?

donmontalvo
Esteemed Contributor III

Thanks @hkim, we wanted a response from JAMF on whether the binary offers that function, in case it's one of the hidden ones.

--
https://donmontalvo.com

ToriAnneke
Contributor II

For every MCX preference I make, I create one called "REVOKE - blah blah blah" and I have it to "Make This Preference Unmanaged"

Then I have an MCX Revoker Managed Preference Profile where I manually Scope it to the machine I want to revoke MCX's from.

Reboot and usually works.

If not, then I do the deep cleaning method in Terminal.

donmontalvo
Esteemed Contributor III

@pvader Interesting, we'll have a look at this.

--
https://donmontalvo.com