Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample profile which includes a removal password payload
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Time Machine configuration -->
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.apple.TimeMachine</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>DoNotOfferNewDisksForBackup</key>
<true/>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>MCXToProfile.9f9a0b1f-7b17-4656-92aa-b7046ad88d00.alacarte.customsettings.905bcd92-fe37-4a99-9265-a0a26ff30a41</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>905bcd92-fe37-4a99-9265-a0a26ff30a41</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
<!-- Password authorization for profile removal -->
<dict>
<key>Description</key>
<string>Enter the password in the RemovalPassword key to remove this profile</string>
<key>PayloadType</key>
<string>com.apple.profileRemovalPassword</string>
<key>PayloadUUID</key>
<string>5933EF14-6BB8-4BD4-BCF4-0C20B25B52CB</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadEnabled</key>
<true/>
<key>RemovalPassword</key>
<string>PasswordGoesHere!</string>
</dict>
</array>
<key>PayloadDescription</key>
<string>Turn off requests to use new disks for Time Machine</string>
<key>PayloadDisplayName</key>
<string>Disable Time Machine Disk Requests</string>
<key>PayloadIdentifier</key>
<string>9f9a0b1f-7b17-4656-92aa-b7046ad88d00</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>9f9a0b1f-7b17-4656-92aa-b7046ad88d00</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.