Prerequisite installation failed: RewriteModule
Error: Prerequisite installation failed: RewriteModule during Skype for Business Server 2015 deployment on Windows Server 2016
What is the RewriteModule?
IIS URL Rewrite 2.1 enables Web administrators to create powerful rules to implement URLs that are easier for users to remember and easier for search engines to find. By using rule templates, rewrite maps, .NET providers, and other functionality integrated into IIS Manager, Web administrators can easily set up rules to define URL rewriting behavior based on HTTP headers, HTTP response or request headers, IIS server variables, and even complex programmatic rules. In addition, Web administrators can perform redirects, send custom responses, or stop HTTP requests based on the logic expressed in the rewrite rules. Source: https://www.iis.net/downloads/microsoft/url-rewrite
How to fix it?
Just update the MajorVersion DWORD value to 7.
Where MajorVersion is located?
The path is HKLM\Software\Microsoft\InetStp
Post updating the value do run “gpupdate /force” from command prompt:
Do use command prompt as Administrator.
Posting running GPUpdate, you can re-run the deployment wizard:
Install completed successfully: