Windows Registry Editor Version 5.00

; ==========================================================================
; SafeSetup - Microsoft Edge lockdown for a filtered child account
; ==========================================================================
; What this does: closes the common ways a child bypasses Microsoft Family
; Safety web filtering in Edge - adding a new (un-signed-in) profile, using
; guest mode, using InPrivate, or signing in with a non-family account.
;
; These keys live under HKEY_LOCAL_MACHINE, so a Standard (non-admin) child
; account CANNOT change or remove them. You must run this as an administrator.
;
; BEFORE YOU IMPORT:
;   1. Edit the RestrictSigninToPattern line below - replace the example with
;      YOUR child's exact Microsoft account address. In a .reg file every
;      backslash must be doubled, so a literal dot is written \\.  ->
;      child@outlook.com  becomes  "child@outlook\\.com"
;      The pattern is a case-sensitive regular expression.
;      To allow more than one account (e.g. yours as well as the child's),
;      list them as alternatives separated by | inside brackets, anchored
;      with ^ and $ so nothing longer can also match:
;        "RestrictSigninToPattern"="^(child@outlook\\.com|parent@outlook\\.com)$"
;      Only the child's account is filtered by Family Safety, so keep that
;      list to accounts you are happy to have un-filtered on this PC.
;   2. Back up first (regedit -> File -> Export) or create a restore point.
;   3. Double-click this file, confirm the prompts, then restart Edge.
;
; To UNDO everything later, import edge-family-lockdown-undo.reg (in this
; same folder), or delete the values under the Edge policy key.
; ==========================================================================

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
; Disable guest browsing (no filtering in guest mode)
"BrowserGuestModeEnabled"=dword:00000000
; Block "Add profile" so a child can't create an un-filtered profile
"BrowserAddProfileEnabled"=dword:00000000
; Force sign-in: Edge cannot be used without signing into a profile
"BrowserSignin"=dword:00000002
; Disable InPrivate windows
"InPrivateModeAvailability"=dword:00000001
; Only allow THIS account to sign into Edge (edit before importing!)
"RestrictSigninToPattern"="child@outlook\\.com"

; --- Step 9: SmartScreen in Edge. The child owns their Edge profile and could
; otherwise switch SmartScreen off, or click "continue anyway" past a block.
; Keep SmartScreen on
"SmartScreenEnabled"=dword:00000001
; Block potentially unwanted apps at download time
"SmartScreenPuaEnabled"=dword:00000001
; No way past a SmartScreen warning page
"PreventSmartScreenPromptOverride"=dword:00000001
; No way past a SmartScreen download warning
"PreventSmartScreenPromptOverrideForFiles"=dword:00000001

; --- Step 8: stop Edge resolving names over HTTPS with a provider of its own,
; which would skip a DNS filter set on the router or the PC.
"DnsOverHttpsMode"="off"

; --- Proxies: any account can point itself at a proxy in Settings, and Edge
; follows it past the DNS filter. "direct" makes Edge ignore it.
"ProxySettings"="{\"ProxyMode\": \"direct\"}"

; --- Extensions: a VPN or proxy extension routes Edge around every filter with
; no administrator password. Developer tools off also stops one being loaded
; from a folder ("Load unpacked") without the store.
"DeveloperToolsAvailability"=dword:00000002

; Block every extension. Edge disables ones already installed. To allow a
; specific extension, add its ID under ExtensionInstallAllowlist the same way.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallBlocklist]
"1"="*"
