Skip to main content
Solved

Microsoft Edge Policy DiagnosticData

  • January 29, 2025
  • 3 replies
  • 37 views

Forum|alt.badge.img+5

Hello,

I would like to hide the window that asks whether to send diagnostic data when opening Microsoft Edge.

After some research, I found the Edge Policy available in Jamf (com.microsoft.Edge). I added DiagnosticData and configured it. The profile is applied. Unfortunately, it doesn’t work—the window still opens. The other configured settings are applied.

 

Edge version : 132

 

Edge Policy :

The Diagnostic window :

Thanks

Best answer by Stephix

I found an alternative. By accepting the diagnostic data, a new file is created in ~/Library/Application Support/Microsoft Edge/First Run.

With a script that run at each session startup (Guest session in my case), it works, there’s no more window Diagnostic Data.

#!/bin/bash # Définir le chemin du dossier et du fichier dossier="/Users/Guest/Library/Application Support/Microsoft Edge" fichier="$dossier/First Run" # Créer le dossier "Microsoft Edge" s'il n'existe pas déjà mkdir -p "$dossier" # Créer un fichier "First Run" dans ce dossier touch "$fichier" # Modifier le propriétaire du dossier et de son contenu chown -R Guest "$dossier" # Définir les permissions : # - Propriétaire : lecture-écriture (rwx pour les dossiers, rw- pour les fichiers) # - Groupe et Everyone : accès interdit (---) chmod -R 700 "$dossier"

 

3 replies

Shyamsundar
Forum|alt.badge.img+13
  • Jamf Heroes
  • January 30, 2025

You need to select the option Off to hide this window


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • January 30, 2025

You need to select the option Off to hide this window


I tried, it doesn't work. I also tested the other options, same result.


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • Answer
  • January 30, 2025

I found an alternative. By accepting the diagnostic data, a new file is created in ~/Library/Application Support/Microsoft Edge/First Run.

With a script that run at each session startup (Guest session in my case), it works, there’s no more window Diagnostic Data.

#!/bin/bash # Définir le chemin du dossier et du fichier dossier="/Users/Guest/Library/Application Support/Microsoft Edge" fichier="$dossier/First Run" # Créer le dossier "Microsoft Edge" s'il n'existe pas déjà mkdir -p "$dossier" # Créer un fichier "First Run" dans ce dossier touch "$fichier" # Modifier le propriétaire du dossier et de son contenu chown -R Guest "$dossier" # Définir les permissions : # - Propriétaire : lecture-écriture (rwx pour les dossiers, rw- pour les fichiers) # - Groupe et Everyone : accès interdit (---) chmod -R 700 "$dossier"