Install the DotNET Framework v3.5 on Windows Server 2012

Source: Internet
Author: User
Tags dotnet virtual environment

Microsoft has been releasing Windows Server RTM for some time after Microsoft has provided RTM to msdn&technet subscribers as well as MPN and MVL users, a large-scale deployment and upgrade began! I believe that we will encounter some problems more or less, and today to share with you is how to install the DotNET Framework v3.5 (including v2.0 and v3.0) on Windows Server 2012.

The first thing to say about this is to review the previous situation-earlier on Windows Server R2, if you want to install the DotNET Framework v3.5 (hereinafter referred to as:. NET v3.5) simply through the "Add and remove" feature, without having to go through the Internet The relevant components are downloaded. However, there have been some subtle changes in this step on Windows Server 2012.

        goxia A recent batch deployment test for Windows 8, Windows ADK needs to be installed in the environment because VAMT 3.0 in the ADK component requires To SQL Server, so the default component installation option was maintained when ADK was installed, but after installation it was found that the automatic installation of SQL Server 2012 did not contain administrative tools and was in the English version, so the virtual environment was reset and intended to be reinstalled. The first thing to do before reinstalling ADK is to manually install the SQL Server 2012 Express with Tools Simplified Chinese version, and the installation readiness test for SQL Server is smooth but when the installation is nearing the end, the. NET v3.5 is not valid, although the progress is still can continue, but then prompted an error (PS: Then also did not screenshot, the specific error message forgot!) ), helpless cancel installation! At this time the system is suspended, a cruel and reset the virtual environment. Didn't think twists, re-dated first install. NET v3.5, as always, by adding and removing, the wizard prompts you to specify an alternate source path for the installation of. NET v3.5, but it is too simple to notice. Think as Windows 8 needs to be installed via the Internet from Microsoft download. Did not expect the next problem, the installation failed to prompt! As shown in the following:

650) this.width=650; "title=" Ws2012_dotnet_error "border=" 0 "alt=" ws2012_dotnet_error "src=" http:// Goxia.maytide.net/ftpupfiles/ws2012howto--windows-server-2012--dotn.5_e9ec/ws2012_dotnet_error_thumb.png "width = "634" height= "476" style= "vertical-align:middle;border:0px;height:auto;padding-top:0px;padding-left:0px; Padding-right:0px;background-image:none; "/>

Okay, so let's take a look at this. "Specify alternate source path", look at the detailed introduction the general meaning can be understood as such, Windows Server 2012 continues to support. NET v3.5, but the current system file library (WinSxS) does not contain. NET v3.5 , so installing. NET v3.5 requires you to specify an installation source for the installation wizard, which is different from Windows 8 because Windows 8 automatically downloads the installation from the Web when this feature is installed by default. To specify an alternate source path, you must have the installation source for Windows Server 2012, because the related components of. NET v3.5 are contained in the "SxS" subdirectory of the installation disk "Sources" root directory. To do this, simply click Specify alternate source path on the OK Installation Selection page, and type the specified path in the pop-up prompt box.where Sources is 2012 installs the Sources in the image file ,Refer to:

650) this.width=650; "title=" ws2012_install_dotnet "border=" 0 "alt=" ws2012_install_dotnet "src=" http:// Goxia.maytide.net/ftpupfiles/ws2012howto--windows-server-2012--dotn.5_e9ec/ws2012_install_dotnet_thumb.png " Width= "633" height= "476" style= "vertical-align:middle;border:0px;height:auto;padding-top:0px;padding-left:0px"; Padding-right:0px;background-image:none; "/>

In addition to being able to operate the installation in a GUI manner, we are able to use the DISM command, which applies to both Windows 8 and Windows Server 2012 (with the "/all" parameter), as follows:


Dism/online/enable-feature/featurename:netfx3/source:x:\sources\sxs


Of course, Microsoft is strongly recommending that administrators use powerful Powershell to manage their systems, and in Windows Server 2012 's Server Manager cmdlets, "install-windowsfeature" can be used to Command, refer to the following commands:


Install-windowsfeature–name Net-framework-core–source X:\sources\sxs


Note: The above command only applies to Windows Server 2012! If you want Powershell cmdlets to be suitable for client systems such as Windows 8, refer to the following command:


Enable-windowsoptionalfeature–online–featurename Netfx3–source X:\sources\sxs


650) this.width=650; "title=" install_netfx3 "border=" 0 "alt=" install_netfx3 "src=" http://goxia.maytide.net/ Ftpupfiles/ws2012howto--windows-server-2012--dotn.5_e9ec/install_netfx3_thumb.png "width=" 633 "height=" 476 "style = "vertical-align:middle;border:0px;height:auto;padding-top:0px;padding-left:0px;padding-right:0px; Background-image:none; "/>

For more detailed information, read Microsoft Windows Server Core Team blog:http://blogs.technet.com/b/askcore/archive/2012/05/14/ Windows-8-and-net-framework-3-5.aspx

Tags:microsoft, Windows, Server, PowerShell, DISM, NetFx, 3.5


This article is from "learning." "Blog, be sure to keep this provenance http://aixer95.blog.51cto.com/943421/1672143

Install the DotNET Framework v3.5 on Windows Server 2012

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.