Perfect solution to the problem of Windows Server 2012 or 2016 failing to install .NET Framework 3.5 without disk

Perfect solution to the problem of Windows Server 2012 or 2016 failing to install .NET Framework 3.5 without disk

Problem Description

When using Windows Server 2012 R2 or Windows Server 2016, an error message is displayed when installing .NET Framework 3.5.1. The error message is as shown in the figure below.

Cause Analysis

The installation source files could not be found.

Solution

You can use the following PowerShell script to install it.

Find PowerShell from the Start menu, right-click it and select Run as administrator.

Enter the following script and press Enter to execute it.

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0
Restart-Service -Name wuauserv
Install-WindowsFeature Net-Framework-Core
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1
Restart-Service -Name wuauserv

Notice:

1. Windows Server 2012 and Windows Server 2016 have high memory usage. Installing other applications will increase memory consumption, which may cause insufficient memory and installation failure. Therefore, it is recommended to increase physical memory. If it is an IO optimization instance, you can enable system virtual memory as appropriate.

2. If the installation reports an error message: 0x800f081f , please check whether the public network is normal. If it is normal, the update failure may be caused by an unstable link to the Microsoft update server. It is recommended to change the time period and try again.

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • Solution to Windows Server 2012 R2 Failure to Install .NET Framework 3.5
  • Solution for Windows Server 2012 R2 or 2016 to fail to install .NET Framework 3.5.1
  • Cannot install .Net 3.5.1 on Windows Server 2012 R2 or 2016
  • Windows Server 2012 R2 Standard ASP.NET Core Environment Graphics Tutorial
  • About installing .NET Framework 3.5 on Windows Server 2012

<<:  Detailed explanation of making shooting games with CocosCreator

>>:  How to write CSS elegantly with react

Recommend

Solution to Apache cross-domain resource access error

In many cases, large and medium-sized websites wi...

Learn the common methods and techniques in JS arrays and become a master

Table of contents splice() Method join() Method r...

Common styles of CSS animation effects animation

animation Define an animation: /*Set a keyframe t...

SQL Server Comment Shortcut Key Operation

Batch comments in SQL Server Batch Annotation Ctr...

How to use bar charts in Vue and modify the configuration yourself

1. Import echart in HTML file <!-- Import echa...

MySQL Full-text Indexing Guide

Full-text indexing requires special query syntax....

MySQL 8.0.17 installation and simple configuration tutorial under macOS

If you don’t understand what I wrote, there may b...

Use of docker system command set

Table of contents docker system df docker system ...

Essential bonus items for optimizing and packaging the front end of Vue projects

Table of contents Preface 1. Routing lazy loading...

MySQL permission control detailed explanation

Table of contents mysql permission control Permis...

mysql5.6.zip format compressed version installation graphic tutorial

Preface: MySQL is a relational database managemen...

Using group by in MySQL always results in error 1055 (recommended)

Because using group by in MySQL always results in...

Detailed explanation of MySQL covering index

concept If the index contains all the data that m...

Vue uses vue meta info to set the title and meta information of each page

title: vue uses vue-meta-info to set the title an...