Answered by:
Can not install rewrite module on windows 10 10041 build IIS10

Question
-
User-1647870105 posted
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '23144'
DownloadManager Information: 0 : Number of bytes after possible decompression: '77129'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Information: 0 : Adding product 'UrlRewrite2'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Using cached file at C:\Users\user\AppData\Local\Microsoft\Web Platform Installer\installers\UrlRewrite2\CBB23944AF77F69E9B31357B114ADEBE12B3B1CE\rewrite_amd64_en-US.msi instead of downloading from http://download.microsoft.com/download/6/7/D/67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_amd64_en-US.msi
DownloadManager Information: 0 : Starting EXE command for product 'URL Rewrite 2.0'. Commandline is: 'C:\Windows\sysnative\net.exe stop was /y'. Process Id: 6220
DownloadManager Information: 0 : Install exit code for product 'URL Rewrite 2.0' is '2'
DownloadManager Information: 0 : Ignoring exit code '2' for product 'URL Rewrite 2.0'
DownloadManager Information: 0 : Starting EXE command for product 'URL Rewrite 2.0'. Commandline is: 'C:\Windows\sysnative\net.exe stop wmsvc'. Process Id: 16512
DownloadManager Information: 0 : Install exit code for product 'URL Rewrite 2.0' is '2'
DownloadManager Information: 0 : Ignoring exit code '2' for product 'URL Rewrite 2.0'
DownloadManager Information: 0 : Starting EXE command for product 'URL Rewrite 2.0'. Commandline is: 'C:\Windows\sysnative\cmd.exe /C reg.exe save "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" "C:\Users\user\AppData\Local\Temp\__rewrite_netfx35_sp_level.txt" /y'. Process Id: 1020
DownloadManager Information: 0 : Install exit code for product 'URL Rewrite 2.0' is '0'
DownloadManager Information: 0 : Ignoring exit code '0' for product 'URL Rewrite 2.0'
DownloadManager Information: 0 : Starting EXE command for product 'URL Rewrite 2.0'. Commandline is: 'C:\Windows\sysnative\cmd.exe /C reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" /v SP /t REG_DWORD /d 0 /f'. Process Id: 15560
DownloadManager Information: 0 : Install exit code for product 'URL Rewrite 2.0' is '0'
DownloadManager Information: 0 : Ignoring exit code '0' for product 'URL Rewrite 2.0'
DownloadManager Information: 0 : Starting MSI install for msi 'C:\Users\user\AppData\Local\Microsoft\Web Platform Installer\installers\UrlRewrite2\CBB23944AF77F69E9B31357B114ADEBE12B3B1CE\rewrite_amd64_en-US.msi', commandline: 'ACTION=INSTALL REBOOT=ReallySuppress'
DownloadManager Information: 0 : MSI install return value for product 'URL Rewrite 2.0' is '1603'
DownloadManager Error: 0 : Install return code for product 'URL Rewrite 2.0' is Failure (IIS Version 7.0 or greater is required to install IIS URL Rewrite Module 2.)
DownloadManager Information: 0 : Product URL Rewrite 2.0 done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : URL Rewrite 2.0 installation log: C:\Users\user\AppData\Local\Microsoft\Web Platform Installer\logs\install\2015-03-23T12.13.49\rewrite_amd64_en-US.txt
DownloadManager Information: 0 : Product: UrlRewrite2, Install Status: InstallCompleted-Failure, Install Time: 00:00:00.2382013Could anyone suggest how to install url rewrite on windows 10?
Monday, March 23, 2015 5:20 AM
Answers
-
User1094081913 posted
Have found a way round this - definite cheat please use at own risk!
Firstly closed IIS Manager, then changed the IIS MajorVersion in the registry to 9, installed urlrewrite from the MSI with no problems and changed the registry version back to 10.
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
Value: MajorVersion
On restarting IIS Manager, the URL Rewrite module was there and ready to use .... just have to remember what rules to put back in now.
One additional problem I had previously was that on uninstalling IIS and reinstalling it, the first binding for every site was lost, resulting in a blank Features View and unusable sites. Those with more than one binding lost the first http port 80 one, but retained others like https. After restoring bindings, there were other settings lost like classic ASP "enable parent paths", but all the sites, application pools and virtual directories remained intact.
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Friday, March 27, 2015 8:00 AM
All replies
-
User1183424175 posted
Hi,
I've tested it in win 10 with iis and install successfully. You can try installing latest updates of OS and clear web PI installer cache and then install it again.
In addition, you can try directly download msi instead of using web PI.
Download URL Rewrite Module 2.0
http://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads
Hope it can help you.
Monday, March 23, 2015 10:49 PM -
User-1647870105 posted
It worked for me on previous build windows 10 9926 but for 10041 does not work.
It downloaded last updates, cleared cache but problem still here.
Even I tried run msi installer but problem the same
Any other suggestions?
Friday, March 27, 2015 4:34 AM -
User1094081913 posted
I have the same problem (my build is 10041 not 10042) and was able to install it before on Win10. In fact it was an annoyance that after each new Win10 build none of the application pools would start until I uninstalled and reinstalled UrlRewrite,.
I believe the new install problem is because the IIS version in the latest Win10 build is now IIS10.0 and I suspect (just a theory) that the code to check the version is using an alphabetical comparison which would work fine up to 9.99!
I have tried uninstalling and reinstalling all of IIS (with all the reboots in between) as suggested on another forum but this did not help.
So please MS can we have a quick rebuild of urlrewrite that will install on IIS10
Friday, March 27, 2015 6:07 AM -
User-2064283741 posted
Not installed the tech preview yet but I would have thought the same about the version numbering problems.Friday, March 27, 2015 7:10 AM -
User1094081913 posted
Have found a way round this - definite cheat please use at own risk!
Firstly closed IIS Manager, then changed the IIS MajorVersion in the registry to 9, installed urlrewrite from the MSI with no problems and changed the registry version back to 10.
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
Value: MajorVersion
On restarting IIS Manager, the URL Rewrite module was there and ready to use .... just have to remember what rules to put back in now.
One additional problem I had previously was that on uninstalling IIS and reinstalling it, the first binding for every site was lost, resulting in a blank Features View and unusable sites. Those with more than one binding lost the first http port 80 one, but retained others like https. After restoring bindings, there were other settings lost like classic ASP "enable parent paths", but all the sites, application pools and virtual directories remained intact.
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Friday, March 27, 2015 8:00 AM -
User-419076972 posted
THX! Solve big trouble
Sunday, April 19, 2015 5:47 PM