How to skip Analytics window in DEP Enrolment

user-DeoLuXvBmb
New Contributor III

I know you can skip different setup assistant windows, but we still get an Analytics window that we'd like to hide.

https://developer.apple.com/documentation/devicemanagement/setupassistant

Has anyone come up with a way to hide the Analytics window?

1 ACCEPTED SOLUTION

user-DeoLuXvBmb
New Contributor III

Thanks, this ended up working for us in the end.

<?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>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>SkipCloudSetup</key>
            <true/>
            <key>SkipSiriSetup</key>
            <true/>
            <key>SkipPrivacySetup</key>
            <true/>
            <key>SkipiCloudStorageSetup</key>
            <true/>
            <key>SkipTrueTone</key>
            <true/>
            <key>SkipAppearance</key>
            <true/>
            <key>SkipTouchIDSetup</key>
            <true/>
            <key>SkipScreenTime</key>
            <true/>
            <key>SkipAccessibility</key>
            <true/>
            <key>SkipUnlockWithWatch</key>
            <true/>
            <key>SkipSetupItems</key>
            <string>Diagnostics</string>
            <key>PayloadIdentifier</key>
            <string>com.example.mysetupassistantpayload</string>
            <key>PayloadType</key>
            <string>com.apple.SetupAssistant.managed</string>
            <key>PayloadUUID</key>
            <string>0dfccedc-e28f-4df5-bca7-a0807deab543</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Setup Assistant</string>
    <key>PayloadIdentifier</key>
    <string>com.example.myprofile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>4a66b685-604a-4558-92c7-ae3e082cf0ae</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

View solution in original post

10 REPLIES 10

Fluffy
Contributor III

I can't help with troubleshooting the Setup Assistant configuration profile from Jamf Pro, but I can recommend an alternative if you can't find a solution.

iMazing Profile Editor has a payload for Setup Assistant to skip different windows. One of witch is the privacy consent window (SkipPrivacySetup), which I would assume is the analytics. You can save the profile and upload it to Jamf Pro.

mainelysteve
Valued Contributor II

Below are the skippable panes in the setup assistant for MacOS. Make sure App Analytics is checked as well as Privacy. Does this appear on all or some of your Macs?

Screen Shot 2022-05-13 at 9.09.23 AM.png

Hey @mainelysteve 


We've already set that and we have also done the solution suggested by @Fluffy but still get the analytics screen after creating a user account through JAMF Connect.

Check out this post and use the linked tool(it's a Mac app so you'll need an Apple ID or use VPP to install) to create a custom setup assistant profile. 

user-DeoLuXvBmb
New Contributor III

Thanks, this ended up working for us in the end.

<?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>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>SkipCloudSetup</key>
            <true/>
            <key>SkipSiriSetup</key>
            <true/>
            <key>SkipPrivacySetup</key>
            <true/>
            <key>SkipiCloudStorageSetup</key>
            <true/>
            <key>SkipTrueTone</key>
            <true/>
            <key>SkipAppearance</key>
            <true/>
            <key>SkipTouchIDSetup</key>
            <true/>
            <key>SkipScreenTime</key>
            <true/>
            <key>SkipAccessibility</key>
            <true/>
            <key>SkipUnlockWithWatch</key>
            <true/>
            <key>SkipSetupItems</key>
            <string>Diagnostics</string>
            <key>PayloadIdentifier</key>
            <string>com.example.mysetupassistantpayload</string>
            <key>PayloadType</key>
            <string>com.apple.SetupAssistant.managed</string>
            <key>PayloadUUID</key>
            <string>0dfccedc-e28f-4df5-bca7-a0807deab543</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Setup Assistant</string>
    <key>PayloadIdentifier</key>
    <string>com.example.myprofile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>4a66b685-604a-4558-92c7-ae3e082cf0ae</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

JAP
New Contributor

Hi,

I note with interest that this approach worked for you - I can't reproduce it. The analytics window continues to show for me regardless of using the SkipSetupItems key in our profile. All the other screens are skipped properly, this is the only one that remains.

Were you trying to skip this on the 'out-of-the-box' setup assistant process or for new users on an existing device? We are trying to remove any of the setup screens for when a user first logs in, but this one is proving difficult (impossible?!).

What version of MacOS were you using - not currently having any joy on Monteray.

 

Thanks,

 

J.

 

carlschilling
New Contributor

I also can't produce the same result as reported by @user-DeoLuXvBmb. The app analytics screen continues to show for new users on our macs. Regardless of using SkipSetupItems in the profile. Same experience as @JAP and we are also on Monterey. Every other screen is skipped using the configuration profile in my screenshot below. How frustrating.. anyone got any ideas? We are also using Jamf Connect and would like to eliminate this step from the login process. It does say that SkipSetupItems is "Available in iOS 14 and later." so does that mean we have no way to skip it on macOS or am I reading that incorrectly? 

Setup Assistant Managed screenshotSetup Assistant Managed screenshot

carlschilling
New Contributor

Update: I messed around for two hours and have found a solution... Just need to add a configuration profile that includes Security and Privacy > General > Send diagnostic and usage data to Apple, and sharing crash data and statistics with app developers set to Restrict. Then the app analytics screen no longer appears for new user logins.

Hi Carlschilling,

That's great - works for me too! So for those not necessarily using Jamf or a specific alternative MDM, this should be a matter of setting a restrictions (com.apple.applicationaccess) payload profile with the following key:

<key>allowDiagnosticSubmission</key>
<false />

 

Thanks,

J.

 

tylermilner
New Contributor

I was able to skip the "Analytics" screen during macOS "Setup Assistant" that happens the first time you log in with a new user account using iMazing Profile Editor to create a configuration profile. In addition to adding a "Setup Assistant" configuration and checking all of the boxes to skip all of the steps, I also had to add a "Submit Diagnostic Information" configuration with the "Automatically Submit Diagnostic Information" setting unchecked. Then, after installing the updated profile, I was no longer presented with any "Setup Assistant" screens when logging in to a new user account for the first time. 🎉 For context, this was tested on a macOS 12.6 VM on an M2 MacBook Pro with iMazing Profile Editor 1.7.0 (265503).