Allow a shared Books folder
Autoriser un dossier Livres partagé
Explanation
This policy setting lets you decide whether Microsoft Edge stores books from the Books tab to a default, shared folder for Windows.
If you enable this setting, Microsoft Edge automatically downloads book files to a common, shared folder and prevents students and teachers from removing the book from the Books tab. For this to work properly, your students and teachers must be signed in using a school account.
If you disable or don't configure this setting, Microsoft Edge downloads book files to a per-user folder for each student or teacher.
Ce paramètre de stratégie vous permet de déterminer si Microsoft Edge stocke des livres à partir de l’onglet Livres dans un dossier partagé par défaut pour Windows.
Si vous activez ce paramètre, Microsoft Edge télécharge automatiquement les fichiers livres dans un dossier partagé commun et empêche les étudiants et les enseignants de supprimer le livre de l’onglet Livres. Pour que cela fonctionne correctement, vos étudiants et enseignants doivent être connectés à l’aide d’un compte scolaire.
Si vous désactivez ou ne configurez pas ce paramètre, Microsoft Edge télécharge les fichiers livres dans un dossier par utilisateur pour chaque étudiant ou enseignant.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\BooksLibraryHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\BooksLibrary- Value name
UseSharedFolderForBooks
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: MicrosoftEdge/UseSharedFolderForBooks
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\BooksLibrary'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseSharedFolderForBooks' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/UseSharedFolderForBooks
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\BooksLibrary'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseSharedFolderForBooks' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/UseSharedFolderForBooks
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\BooksLibrary'
Remove-ItemProperty -Path $k -Name 'UseSharedFolderForBooks' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"