<p>J’ai été agacé par le Microsoft AutoUpdater depuis longtemps aussi. Trop souvent, il a interrompu mon travail de manière intrusive. J’ai donc décidé de le désactiver et voici comment j’ai procédé :</p>
<ul>
<li></li>
</ul>
<p>Ouvrez Terminal</p>
<ul>
<li></li>
</ul>
<p>Désactivez-le :</p>
<p>`# disable the service<br>
launchctl disable gui/$(id -u)/com.microsoft.update.agent</p>
<h1><a name="p-22764-check-that-the-service-is-disabled-1" class="anchor" href="#p-22764-check-that-the-service-is-disabled-1" aria-label="Heading link"></a>check that the service is disabled</h1>
<p>launchctl print-disabled gui/$(id -u) | grep microsoft</p>
<pre><code class="lang-auto">
Alternativement, si vous ne souhaitez pas désactiver la mise à jour automatique mais changer l'intervalle de vérification :
`# check current config content
plutil -p /Library/LaunchAgents/com.microsoft.update.agent.plist
backup
cp -a /Library/LaunchAgents/com.microsoft.update.agent.plist /somewhere/to/backup/
update the interval, e.g. 43200 seconds (i.e. 12 hours)
sudo plutil -replace StartInterval -integer 43200 /Library/LaunchAgents/com.microsoft.update.agent.plist
</code></pre>