Microsoft 網路伺服器: 嘗試 S4U2Self 以取得宣告資訊 的登錄值 EnableS4U2SelfForClaims電腦HKLM\System\CurrentControlSet\Services\LanManServer\Parameters
登錄
EnableS4U2SelfForClaims
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- Microsoft 網路伺服器: 嘗試 S4U2Self 以取得宣告資訊
| 項目 | 儲存的值 |
|---|---|
| 預設 | 0 |
| 已啟用 | 1 |
| 已停用 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] ; 選項 (只使用其中一個) ; 預設 "EnableS4U2SelfForClaims"=dword:00000000 ; 已啟用 "EnableS4U2SelfForClaims"=dword:00000001 ; 已停用 "EnableS4U2SelfForClaims"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 預設 reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 0 /f :: 已啟用 reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null # 選項 (只使用其中一個) # 預設 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 0 -Force | Out-Null # 已啟用 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 2 -Force | Out-Null