Command to enable windows7. Netframework 3.5


Recently, I tested the installation and use of a system installation package in various environments. When it is used under Windows 7, after the installation of IIS, I found that. Net Framework 3.5 is not automatically checked; The command did not execute successfully.

You can open the built-in. Net framework 3.5.1 (executed in the CMD window) under windows7 with the following command

dism /online /enable-feature /featurename:NetFx3 

Disable the built-in. Net framework 3.5.1:

dism /online /disable-feature /featurename:NetFx3

Dism / online / get features to get feature names

Note:Netfx3 is the function name,Feature names are case sensitive.



Common windows commands:

Win + R: services.msc — Open Services

Mstsc — Remote Desktop

Control.exe — opens the control panel

Inetmgr — open IIS

Iisreset — restart IIS.

Recommended Today

Fairy plug-in in IntelliJ idea (necessary for writing code)

Recommended reading:Java Xiaobai advanced architect learning route Plug in directory 1. Alibaba Java Coding Guidelines 2.GsonFormat 3.A8Translation 4.Maven Helper 5.Free Mybatis plugin 6.Grep Console 7.Lombok 8.Nyan progress bar 9.FindBugs-IDEA 10.Key Promoter X 11.JavaDoc 12.ignore 13.RainbowBrackets 14.Activate-power-mode 15.CodeGlance 16.GenerateAllSetter 17.RestfulToolkit 18.JRebel 19.Json Parser 20.aiXcode & codota Introduction Full name of ideaIntelliJ IDEA, is an integrated environment […]