{"id":105,"date":"2015-09-05T13:35:38","date_gmt":"2015-09-05T11:35:38","guid":{"rendered":"http:\/\/www.gerjon.com\/?p=105"},"modified":"2015-09-16T16:01:58","modified_gmt":"2015-09-16T14:01:58","slug":"error-installing-net-framework-3-5-on-windows-2012-r2","status":"publish","type":"post","link":"https:\/\/www.gerjon.com\/?p=105","title":{"rendered":"Error installing .NET Framework 3.5 on Windows 2012 (R2)"},"content":{"rendered":"<p>I frequently get questions from people about problems with installing .NET\u00a03.5 features on Windows Server 2012 and 2012R2.<br \/>\nMost problems are solved when adding the sources directory from the Windows installation media (so mount the ISO) during the GUI installation.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/feature-installation.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-110\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/feature-installation.jpg?resize=300%2C212\" alt=\"feature installation\" width=\"300\" height=\"212\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/feature-installation.jpg?resize=300%2C212&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/feature-installation.jpg?w=799&amp;ssl=1 799w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/alternate-source.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-111\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/alternate-source.jpg?resize=300%2C163\" alt=\"alternate source\" width=\"300\" height=\"163\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/alternate-source.jpg?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/alternate-source.jpg?resize=1024%2C556&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/alternate-source.jpg?w=1093&amp;ssl=1 1093w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Another way to do it, is by using the following command:<br \/>\n<strong>Dism \/online \/enable-feature \/featurename:NetFx3 \/All \/Source:d:\\sources\\sxs \/LimitAccess<\/strong><\/p>\n<p>This all works fine, but sometimes the .NET framework installation still fails. you keep getting the following error: 0x800f081f. The source files could not be found. Install Error!<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/command-line-installation.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-109\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/command-line-installation.jpg?resize=300%2C153\" alt=\"command line installation\" width=\"300\" height=\"153\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/command-line-installation.jpg?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/command-line-installation.jpg?w=680&amp;ssl=1 680w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The cause for this error can be that you can\u2019t install .NET Framework 3.5 if you have additional Language Packs installed<\/p>\n<p>The only way to solve this is to remove the additional Language Packs (in my case Dutch) via lpksetup and then installing .NET Framework.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/lpksetup2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-115\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/lpksetup2.jpg?resize=300%2C175\" alt=\"lpksetup2\" width=\"300\" height=\"175\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/lpksetup2.jpg?resize=300%2C175&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/lpksetup2.jpg?w=603&amp;ssl=1 603w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/uninstall2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-116\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/uninstall2.jpg?resize=300%2C218\" alt=\"uninstall2\" width=\"300\" height=\"218\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/uninstall2.jpg?resize=300%2C218&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/uninstall2.jpg?w=624&amp;ssl=1 624w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/MUI-interface2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-117\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/MUI-interface2.jpg?resize=300%2C220\" alt=\"MUI interface2\" width=\"300\" height=\"220\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/MUI-interface2.jpg?resize=300%2C220&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2015\/09\/MUI-interface2.jpg?w=624&amp;ssl=1 624w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Dont forget to install the Language Packs again afterwards!<br \/>\nIf this doesn&#8217;t work there are two other options to try:<\/p>\n<ul>\n<li>It seems that Windows Security Update: KB2966827 could one of the causes, that .Net Framework can\u2019t install. Remove this update and then try installation again.<\/li>\n<li>As a long shot you can try installing the core version of .NET 3.5 with this command line<br \/>\n<strong>Install-WindowsFeature \u2013name NET-Framework-Core \u2013source &lt;drive&gt;:\\sources\\sxs<\/strong><br \/>\nthis also seems to do the trick sometimes with Windows Server 2012 R2.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I frequently get questions from people about problems with installing .NET\u00a03.5 features on Windows Server 2012 and 2012R2. Most problems are solved when adding the sources directory from the Windows installation media (so mount the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[22,21],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-remote-desktop-services","category-xenappxendesktop"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p59CpB-1H","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=105"}],"version-history":[{"count":0,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}