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

Introduction to NFS service construction under Centos7

Table of contents 1. Server 2. Client 3. Testing ...

How to start multiple MySQL instances in CentOS 7.0 (mysql-5.7.21)

Configuration Instructions Linux system: CentOS-7...

A detailed account of the process of climbing a pit of Docker deployment service

First time writing. Allow me to introduce myself....

HTML scroll bar textarea attribute setting

1. Overflow content overflow settings (set whether...

HTML realizes hotel screening function through form

<!doctype html> <html xmlns="http:/...

JavaScript Prototype Details

Table of contents 1. Overview 1.1 What is a proto...

Basic security settings steps for centos7 server

Turn off ping scanning, although it doesn't h...

MySQL column to row conversion tips (share)

Preface: Because many business tables use design ...

How to use the EXPLAIN command in SQL

In daily work, we sometimes run slow queries to r...

Is it easy to encapsulate a pop-up component using Vue3?

Table of contents Summary put first: 🌲🌲 Preface: ...

Detailed explanation of MYSQL stored procedure comments

Table of contents 1. Instructions for use 2. Prep...

Detailed explanation of Mysql transaction isolation level read commit

View MySQL transaction isolation level mysql> ...

BUG of odd width and height in IE6

As shown in the figure: But when viewed under IE6...