Zuordnung von Ordnern zu Windows-Sandbox zulassen: Registrierungswert AllowMappedFolders und 1 weitereComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox

Richtlinien-ID
AllowMappedFolders
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows 11 Pro, Enterprise oder Education mit Windows-Sandbox
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows-Sandbox

Registrierung

AllowMappedFolders

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox]

; Optionen (nur eine verwenden)
; Aktiviert
"AllowMappedFolders"=dword:00000001
; Deaktiviert
"AllowMappedFolders"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox" /v "AllowMappedFolders" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox" /v "AllowMappedFolders" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Name 'AllowMappedFolders' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Name 'AllowMappedFolders' -PropertyType DWord -Value 0 -Force | Out-Null

AllowWriteToMappedFolders

REG_DWORDComputer
Angekreuzt
1
Nicht angekreuzt
0
Element
Sandbox das Schreiben in zugeordnete Ordner erlauben.
Werttyp
REG_DWORD
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox]

; Optionen (nur eine verwenden)
; Angekreuzt
"AllowWriteToMappedFolders"=dword:00000001
; Nicht angekreuzt
"AllowWriteToMappedFolders"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Angekreuzt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox" /v "AllowWriteToMappedFolders" /t REG_DWORD /d 1 /f
:: Nicht angekreuzt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox" /v "AllowWriteToMappedFolders" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Force | Out-Null

# Optionen (nur eine verwenden)
# Angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Name 'AllowWriteToMappedFolders' -PropertyType DWord -Value 1 -Force | Out-Null
# Nicht angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Sandbox' -Name 'AllowWriteToMappedFolders' -PropertyType DWord -Value 0 -Force | Out-Null