IIS ReinstallRSS

2 replies

Last post Aug 21, 2017 03:23 AM by Yuk Ding

  • IIS Reinstall

    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.

  • Re: IIS Reinstall

    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.

    Terri Donahue
    Microsoft MVP ASPNET/IIS

    Please 'Mark as Answer' if this post helps you.
  • Re: IIS Reinstall

    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"


    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.