Machine Key generation feature not exist in latest IIS Version

后端 未结 4 2206
逝去的感伤
逝去的感伤 2021-02-14 04:24

Answering one of the recent question on SO, i encountered this anomaly.

This msdn blog suggests using IIS to generate machine key, which looks more secure to me as Micr

4条回答
  •  悲&欢浪女
    2021-02-14 04:48

    As for mentioned by @ryanulit, you can just copy the script directly to your PowerShell window

    Steps :

    1. Open powershell window (anywhere is fine)
    2. Copy the script from the microsoft link and paste in your powershell window and press enter
    3. Type Generate-MachineKey -validationAlgorithm SHA1
    4. That's it. Your machine key description will show up in the window. PowerShell image sample from my PC

    Script Link from Microsoft http://support.microsoft.com/kb/2915218#AppendixA

提交回复
热议问题