Error 87 Installing .net
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLearnDownloadsCommunity Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: unable to install files which need .net framework 3.5 in win 8 pro Windows Server > Server Virtualization Question 1 Sign in to vote when i try to install files needing .net framework 3.5 it shows me the error that the windows do not have this feature and needs to download it from windows update. then it shows error code 0x800F0906. when i tried the solution given by microsoft which is "Or, you can use the Windows installation media as the file source when you enable the .NET Framework 3.5 feature. To do this, follow these steps: Insert the Windows 8 or Windows Server 2012 installation media.At an elevated command prompt, run the following command: Dism /online /enable-feature /featurename:NetFx3 /All /Source:
Learning Resources Microsoft Tech Companion App Microsoft Technical Communities Microsoft Virtual Academy Script Center Server and Tools Blogs TechNet Blogs TechNet Flash Newsletter TechNet Gallery TechNet Library TechNet Magazine TechNet Subscriptions TechNet Video TechNet Wiki Windows Sysinternals Virtual Labs Solutions Networking Cloud and Datacenter Security Virtualization Downloads Updates Service Packs Security Bulletins Microsoft Update Trials Windows Server 2012 R2 System Center 2012 R2 Microsoft SQL https://social.msdn.microsoft.com/Forums/windowsserver/en-US/98ec9901-a6f6-4dc3-bea2-2f123638b9ac/unable-to-install-files-which-need-net-framework-35-in-win-8-pro?forum=servervirtualization Server 2012 SP1 Windows 8.1 Enterprise See all trials » Related Sites Microsoft Download Center TechNet Evaluation Center Drivers Windows Sysinternals TechNet Gallery Training Training Training Catalog Class Locator Microsoft Virtual Academy Free Windows Server 2012 courses Free Windows 8 courses SQL Server training e-Learning overview Certifications Certification overview MCSA: https://blogs.technet.microsoft.com/aviraj/2012/08/04/windows-8-enable-net-framework-3-5-includes-net-2-0-and-3-0-i-e-netfx3-feature-in-online-offline-mode/ Windows 8 Windows Server Certification (MCSE) Private Cloud Certification (MCSE) SQL Server Certification (MCSE) Other resources TechNet Events Second shot for certification Born To Learn blog Find technical communities in your area Support Support options For small and midsize businesses For enterprises For developers For IT professionals From partners For technical support Support offerings For home users More support Microsoft Premier Online Microsoft Fix It Center TechNet Forums MSDN Forums Security Bulletins & Advisories International support solutions Log a support ticket Not an IT pro? Microsoft Customer Support Microsoft Community Forums Technet Menu English Sign in Search for: Skip to content Home Library Wiki Learn Gallery Downloads Support Forums Blogs TechNet Products Products Windows Windows Server System Center Internet Explorer Office Office 365 Exchange Server SQL Server SharePoint Products Lync See all products » IT Resources Resources Curah! curation service Evaluation Center Learning Re
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://stackoverflow.com/questions/21753387/error-87-the-all-option-is-not-recognised-in-this-context-using-dism-to-enable About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join https://devhammer.net/blog/installing-net-framework-3-5-in-windows-8-consumer-preview/ the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Error 87 the all option error 87 is not recognised in this context” using DISM to enable IIS up vote 2 down vote favorite 2 I am trying to use a bat to enable IIS to run an asp.net application on a windows 7 (professional) 64bit machine and seem to be constantly encountering this issue. I am running the bat file as an administrator. The entry in my bat file I am error 87 installing using is as follows: %systemroot%\sysnative\dism /online /enable-feature /all /featurename:IIS-ASPNET45 According to the documentation I have read the all switch should enable all parent features needed to needed to run ASP.net 4.5. I've also tried using just IIS-ASPNET and IIS-ASPNET40 all received the same error. Error 87 the all option is not recognised in this context I originally tried to do each feature needed to run my application individually but encountered similar issues. iis batch-file dism share|improve this question edited Feb 13 '14 at 14:47 David Ruhmann 7,59311633 asked Feb 13 '14 at 11:49 user3305823 1112 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote You have 2 problems. The first is that the /all flag was introduced in Windows 8, and so nonexistent in Windows 7. The second is that the IIS-ASPNET45 feature also isn't a part of Windows 7, because .Net 4.5 came out after it did. What you need to do is: Enable the specific features you need for IIS explicitly using DISM: dism.exe /NoRestart /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-DefaultDocument /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ManagementConsole /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-RequestFiltering /FeatureName:IIS-Security /FeatureName:IIS-StaticContent /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerRole Register ASP.Net 4.5 (assuming .Net 4.5 is already installe