Senaryo Yürütme Düzeyini Yapılandır: kayıt defteri değeri ScenarioExecutionEnabled ve 1 tane daha ({dc42ff48-e40d-4a60-8675-e71f7e64aa9a})BilgisayarHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}

İlke Kimliği
WdiScenarioExecutionPolicy
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2008 R2 veya Windows 7
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Sistem › Sorun Giderme ve Tanılama › Hataya Dayanıklı Yığın

Kayıt defteri

ScenarioExecutionEnabled

-Bilgisayar

ScenarioExecutionEnabled

REG_DWORDBilgisayar
Etkin değeri
1
Devre dışı değeri
0
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}]

; Seçenekler (yalnızca birini kullanın)
; Etkin
"ScenarioExecutionEnabled"=dword:00000001
; Devre Dışı
"ScenarioExecutionEnabled"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Etkin
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

EnabledScenarioExecutionLevel

REG_DWORDBilgisayar
Etkin değeri
2
Devre dışı değeri
1
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}]

; Seçenekler (yalnızca birini kullanın)
; Etkin
"EnabledScenarioExecutionLevel"=dword:00000002
; Devre Dışı
"EnabledScenarioExecutionLevel"=dword:00000001
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Etkin
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f
:: Devre Dışı
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null