Console di ripristino di emergenza: consenti la copia di dischi floppy e l'accesso a tutte le unità e cartelle: valore del Registro di sistema SetCommandComputerHKLM\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole

Categoria
Impostazioni sicurezza › Criteri locali › Opzioni di sicurezza
Ambito
Configurazione computer
Origine
Windows 11 (versione 26H2 · 26300.9457)

Registro

SetCommand

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole]

; Opzioni (usarne solo una)
; Abilitato
"SetCommand"=dword:00000001
; Disabilitato
"SetCommand"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole" /v "SetCommand" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole" /v "SetCommand" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' -Name 'SetCommand' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' -Name 'SetCommand' -PropertyType DWord -Value 0 -Force | Out-Null