Sierra Window Focus Loss, Caused by SystemUIServer I've recently updated all of my labs to MacOS Sierra 10.12.6 this summer, and have discovered that they now all exhibit loss of window focus somewhat sporadically.  Using the python scripts that can be found when searching for window focus loss issues, I have narrowed down the culprit to SystemUIServer.  

Has anyone else come across this issue and if so, have you found a solution to prevent SystemUIServer from stealing window focus?
I determined that my issue was caused by one of our management profiles.  Specifically the profile used to manage Menu Extras.  For now I've pulled the profile off and my associate is working on updating the profile to hopefully fix our problem while still maintaining management.  The profile in question was the following:

    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;PayloadContent&lt;/key&gt;
    &lt;array&gt;
        &lt;dict&gt;
            &lt;key&gt;PayloadContent&lt;/key&gt;
            &lt;dict&gt;
                &lt;key&gt;com.apple.mcxMenuExtras&lt;/key&gt;
                &lt;dict&gt;
                    &lt;key&gt;Forced&lt;/key&gt;
                    &lt;array&gt;
                        &lt;dict&gt;
                            &lt;key&gt;mcx_preference_settings&lt;/key&gt;
                            &lt;dict&gt;
                                &lt;key&gt;AirPort.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Battery.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Bluetooth.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Clock.menu&lt;/key&gt;
                                &lt;true/&gt;
                                &lt;key&gt;Displays.menu&lt;/key&gt;
                                &lt;true/&gt;
                                &lt;key&gt;DwellControl.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Eject.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;ExpressCard.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;IrDA.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;PPP.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;PPPoE.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;RemoteDesktop.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Script Menu.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;TextInput.menu&lt;/key&gt;
                                &lt;true/&gt;
                                &lt;key&gt;TimeMachine.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;UniversalAccess.menu&lt;/key&gt;
                                &lt;true/&gt;
                                &lt;key&gt;User.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;VPN.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;Volume.menu&lt;/key&gt;
                                &lt;true/&gt;
                                &lt;key&gt;WWAN.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;iChat.menu&lt;/key&gt;
                                &lt;false/&gt;
                                &lt;key&gt;delaySeconds&lt;/key&gt;
                                &lt;real&gt;1&lt;/real&gt;
                            &lt;/dict&gt;
                        &lt;/dict&gt;
                    &lt;/array&gt;
                    &lt;key&gt;mcx_targets&lt;/key&gt;
                    &lt;array&gt;
                        &lt;string&gt;user&lt;/string&gt;
                    &lt;/array&gt;
                &lt;/dict&gt;
            &lt;/dict&gt;
            &lt;key&gt;PayloadEnabled&lt;/key&gt;
            &lt;true/&gt;
            &lt;key&gt;PayloadIdentifier&lt;/key&gt;
            &lt;string&gt;com.mycompany.menuextras&lt;/string&gt;
            &lt;key&gt;PayloadType&lt;/key&gt;
            &lt;string&gt;com.apple.ManagedClient.preferences&lt;/string&gt;
            &lt;key&gt;PayloadUUID&lt;/key&gt;
            &lt;string&gt;36b14197-3388-492c-b7a1-cae748143969&lt;/string&gt;
            &lt;key&gt;PayloadVersion&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
        &lt;/dict&gt;
    &lt;/array&gt;
    &lt;key&gt;PayloadDescription&lt;/key&gt;
    &lt;string&gt;Included custom settings: Menu Extras settings.&lt;/string&gt;
    &lt;key&gt;PayloadDisplayName&lt;/key&gt;
    &lt;string&gt;MenuExtra&lt;/string&gt;
    &lt;key&gt;PayloadIdentifier&lt;/key&gt;
    &lt;string&gt;com.mycompany.menuextras&lt;/string&gt;
    &lt;key&gt;PayloadOrganization&lt;/key&gt;
    &lt;string&gt;My Company&lt;/string&gt;
    &lt;key&gt;PayloadRemovalDisallowed&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;PayloadScope&lt;/key&gt;
    &lt;string&gt;System&lt;/string&gt;
    &lt;key&gt;PayloadType&lt;/key&gt;
    &lt;string&gt;Configuration&lt;/string&gt;
    &lt;key&gt;PayloadUUID&lt;/key&gt;
    &lt;string&gt;ae5c4c7c-c354-453b-bd15-d37437b46d2c&lt;/string&gt;
    &lt;key&gt;PayloadVersion&lt;/key&gt;
    &lt;integer&gt;1&lt;/integer&gt;
&lt;/dict&gt;
&lt;/plist&gt;