問題
![](https://img2023.cnblogs.com/blog/2921243/202310/2921243-20231011173343377-1972084405.png)
解決辦法
- 找到路徑:計算機\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- 在System資料夾內建立資料夾項:\CredSSP\Parameters
- 在Parameters資料夾內,新建 DWORD(32)位值(D),檔名為 AllowEncryptionOracle,值為2
![](https://img2023.cnblogs.com/blog/2921243/202310/2921243-20231011173438452-1627531683.png)
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v CredSSP /t REG_SZ /d "" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP" /v Parameters /t REG_SZ /d "" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /t REG_DWORD /d 2 /f