Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form

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

Posted on 21/09/202028/03/2024 IT Expert By IT Expert No Comments on How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows
  1. Home
  2. Windows
  3. 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.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • 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

  • wsl5678uh
    Various methods to install Windows Subsystem for Linux Windows
  • WAMPServer Virtual Host
    How to create Virtual Hosts in a WAMPserver Web Server
  • Cannot Start Proctored Exam
    DbxSvc Process: How to Fix “Cannot Start Proctored Exam” Windows
  • FIX RDP Authentication Error
    Fix Remote Connection Issue: An Authentication Error Has Occurred with Code 0x80004005 Windows
  • Private and Public networks in Windows to VPN
    The differences between Private and Public networks in Windows to VPN? Network | Monitoring
  • We cannot fine camera
    Fix we could not find a camera compatible with Windows Hello Face Windows

More Related Articles

wsl5678uh Various methods to install Windows Subsystem for Linux Windows
WAMPServer Virtual Host How to create Virtual Hosts in a WAMPserver Web Server
Cannot Start Proctored Exam DbxSvc Process: How to Fix “Cannot Start Proctored Exam” Windows
FIX RDP Authentication Error Fix Remote Connection Issue: An Authentication Error Has Occurred with Code 0x80004005 Windows
Private and Public networks in Windows to VPN The differences between Private and Public networks in Windows to VPN? Network | Monitoring
We cannot fine camera Fix we could not find a camera compatible with Windows Hello Face 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

Veeam Vanguard

  • wifi
    Reveal Windows WiFi password of Network you are connected to Windows
  • Screenshot 2021 03 29 at 01.56.17
    How to prevent VLC player from reverting to the native video size on Mac Mac
  • WDS
    An error occurred while trying to start the Windows deployment services error 0x906 Windows Server
  • Featured image 8
    How to restore quarantined files in Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • upgrading Veeam BAckup and Replication to v13
    Upgrade Path and In-Place Upgrade for VBR v13 and Known Fixes Backup
  • drivelock header 002
    The push installation of the agent failed for the computer – Error message (67) The network cannot be found Security | Vulnerability Scans and Assessment
  • exchange 2016 1
    Workaround for a zero-day vulnerability on Microsoft Exchange Server Network | Monitoring
  • PowerShell Module Must Be Set To Remote Signed
    Veeam Backup and Replication: PowerShell must be Remote Signed Backup

Subscribe to Blog via Email

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

Join 1,801 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

Active Directory 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.