Disable Office Scripts in Excel for Windows Desktop: kayıt defteri değeri disableofficescriptsKullanıcıHKCU\software\policies\microsoft\office\16.0\excel\options

Bu dilde resmi metin yok (İngilizce özgün metin gösteriliyor)

İlke Kimliği
L_ExcelDisableOfficeScripts
Kapsam
Kullanıcı Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2008 R2 veya Windows 7
Kaynak
Microsoft 365 Apps / Office Administrative Templates (sürüm 5568.1000)
Kategori
Microsoft Excel 2016 › Miscellaneous

Kayıt defteri

disableofficescripts

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

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options]

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

:: Etkin
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "disableofficescripts" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "disableofficescripts" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableofficescripts' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableofficescripts' -PropertyType DWord -Value 0 -Force | Out-Null