IIS 5 & IIS 6
Last post Aug 21, 2017 03:23 AM by Yuk Ding
Aug 18, 2017 07:34 PM|OULIWEI|LINK
I have corrupt machinekeys. is it possible to remove and reinstall IIS to recreate the keys without re-configuring all my websites? I have many.
Aug 19, 2017 01:03 AM|terridonahue|LINK
Would just creating new machine keys work for you. This
script is specific to server farms to make it easy to sync the key but I would think it will work for what you need as well.
Aug 21, 2017 03:23 AM|Yuk Ding|LINK
As long as you backup the configuration file, you could just reinstall IIS to recreate the new machinekey. To backup the configuration file, you could use this command:
%windir%\system32\inetsrv\appcmd.exe add backup "My Backup Name"