Ran into this issue recently and thought I would post a solution to it.   When attemption to reset IIS on a web server the following error can occur.  The simple way to solve this is to run the command <strong>regsvr32 iisrstap.dll </strong>at the command prompt to re-register IIS.

Run IISRESET and you should be good to go!