Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows
  • ESNAS Virtualization 01
    How to remove Recent vSphere Client Connections Virtualization
  • Hibernation and faststartup
    Enable or Disable hibernation: How to fix the missing fast startup option on Windows Windows
  • tsx
    Error Code: 0x80070035: MDT unable to access the Log share, the Network Path was not found Windows
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • fgbv
    Export and Import Scheduled Tasks in Windows Windows Server
  • google sdk feature
    How To Install Google Cloud SDK on a Linux System Linux
  • unnamed 2
    How to create a contact in Active Directory Windows Server
  • Featured image 2
    Find and remove Malware with Microsoft Defender Offline Anti-Virus Solution

How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows

Posted on 21/09/202028/03/2024 Christian By Christian No Comments on How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows
enable DotNet Framework

You may need the .NET Framework 3.5 to run an app on Windows 10 etc. The .NET Framework is created by Microsoft and provides an environment for running applications. There are different versions available. Meanwhile, many companies develop their apps to run using the .NET Framework, and these apps target a specific version. Thus, read on to learn how to enable and disable DotNet Framework. See the following guides. “how to set PowerShell Execution Policy via Windows Settings, how to set Execution Policy via Windows PowerShell.

Various ways to install .Net Framework: You can also use these instructions for earlier Windows versions as well. On a server, you can not add the framework via Windows Programs or features. You can via the CLI, PowerShell, DISM and Server Manager etc.

Also, see how to set the PowerShell Execution Policy via Windows Registry, how to set up and install the WDS role, and how to remove the WDS role via the GUI and PowerShell.

Enable or disable DotNet Framework (NetFx3)

Part A: 1 – Command Prompt

As shown below, you can install the framework by command prompt. You can alternatively use the command this way: “DISM /Online /Enable-Feature /FeatureName:NetFx3 /All“.

DISM.exe /online /enable-feature /all /featurename:NetFx3
DISM.exe /online /enable-feature /all /featurename:NetFx4

2: Download the offline installer

The .NET Framework 3.5 SP1 offline installer is available on the .NET Framework 3.5 SP1 Download page and is available for Windows versions prior to Windows 10.

3: PowerShell

It is also possible to install .NET Framework 3.5 using Powershell. Use this command below to accomplish this.

Install-WindowsFeature NET-Framework-Core

Also, for a Windows Server installation that is not connected to the Internet, you can use Windows PowerShell to add .NET Framework 3.5 and provide access to the \sources\sxs folder on the installation media. Where \\network\share\sxs is the location of the source files. Below is the command to do this.

Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs

4: Server Manager

You can use Server Manager to enable .NET Framework 3.5 for a local or remote installation of Windows Server. You may also want to know the differences between a role and a feature. Hence, here are some ways to install Windows features to your device.

- In Server Manager, click Manage and then select Add Roles and Features to start the Add Roles and Features Wizard.
- On the Select installation type screen, select Role-based or feature-based installation.
- Select the target server.
- On the Select features screen, check the box next to .Net Framework 3.5 Features

5: Enable the .NET Framework 3.5 in Control Panel

A: Press the Windows key or the Windows key logo on your keyboard. So, here is a similar example for this step “How to Rive off the Welcome Screen and Shutdown Screen“.

  • Type “Windows Features”, and press Enter.
  • The Turn Windows features on or off dialog box appears.
  • Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0)
  • Check box, select OK, and reboot your computer if prompted.

If the steps discussed above are too confusing, follow these steps below to install .NET Framework via the Control Panel.
– From the search window, type Control Panel as shown below.

B: Alternatively, you could Press the Windows key and R at the same time. Type appwiz.cpl in the Run command box and press Enter or click OK. Visit the following guide for more on Windows Shortcut.

disable DotNet Framework

This will open up the Control Panel Window as shown below. Click on Programs as shown below

PowerShell

Next, click on Turn Windows Feature On or off as shown below

Windows

This will Open up the Windows features window. Here select .NET Framework 3.5

Control Panel

Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0)

enable DotNet Framework

Click on Ok and Windows wll start searching for updates and will prompt the window below. Then, select “let Windows Updates download the files for you” as shown below

The required files to install .NET Framework 3.5 will be downloaded as shown below

After the whole process is complete, the following Windows will be prompted. Click on close

Ensure you have your PC rebooted after installing the .NET Framework 3.5 feature.

6: DISM: You could also use DISM to install .NET Framework 3.5 in the following ways. For how to add FoD, LP, and LIP, add features, add LXPs and packages to a Windows Image,
A: Online (on a running Windows Devie): Use the following commands below to achieve this.

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:G:sourcessxs

B: Offline (On Windows Image): You can offline service an image using DISM and enable/disable a feature on the mounted ones. In this short article, let us see on how we can do the same.

To enable the feature .NET Framework 3.5 on an install.wim file, use the following commands.

dism /Image:G:\Path-to-the-mounted-wim-file\MountedZ /Enable-Feature /FeatureName:NetFx3

Part B: How to disable .NET Framework 3.5: Repeat the same steps as mentioned to enable .NET Framework 3.5. Then Uncheck the button close to .NET Framework 3.5

This will apply the changes as shown below.

I hope you found this blog post helpful. Guess you know how to enable or disable DotNet framework. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Windows 10

Post navigation

Previous Post: How to fix DISM Error 87: The package is unknown
Next Post: Creating an offline local repository in Linux

Related Posts

  • Featured image new
    How to find out who restarted Windows Server Windows
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    OOBESETTINGSMULTIPLEPAGE error on Windows 10 Windows
  • changepsswd
    How to change your Windows Computer login Password Windows
  • Mimikatz hacktool Trillix
    Windows Defender detects Endpoint Security HipHandlers.dll Security | Vulnerability Scans and Assessment
  • PIN9 1
    How to increase Windows PIN complexity Windows
  • fghj
    Windows Profile: How to determine your windows username Windows

More Related Articles

Featured image new How to find out who restarted Windows Server Windows
1 WeXxkEX0JG3oB781HD8Hrg 1 OOBESETTINGSMULTIPLEPAGE error on Windows 10 Windows
changepsswd How to change your Windows Computer login Password Windows
Mimikatz hacktool Trillix Windows Defender detects Endpoint Security HipHandlers.dll Security | Vulnerability Scans and Assessment
PIN9 1 How to increase Windows PIN complexity Windows
fghj Windows Profile: How to determine your windows username Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • ESNAS Virtualization 01
    How to remove Recent vSphere Client Connections Virtualization
  • Hibernation and faststartup
    Enable or Disable hibernation: How to fix the missing fast startup option on Windows Windows
  • tsx
    Error Code: 0x80070035: MDT unable to access the Log share, the Network Path was not found Windows
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • fgbv
    Export and Import Scheduled Tasks in Windows Windows Server
  • google sdk feature
    How To Install Google Cloud SDK on a Linux System Linux
  • unnamed 2
    How to create a contact in Active Directory Windows Server
  • Featured image 2
    Find and remove Malware with Microsoft Defender Offline Anti-Virus Solution

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.