Skip to content

TechDirectArchive

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

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • 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

  • taskbar1
    Hide or Remove Search Button from Windows 11 Taskbar Windows
  • Restrict Access to USB Drives
    Deny Execute Access: Restrict Access to USB Drives on Windows [Part 1] Windows
  • How to Clear Search History on Bing Chat AI
    How to Clear Search History on Bing Chat AI Windows
  • Edge browser
    Enable or disable Microsoft Edge from showing Web Content Windows
  • Customizing Windows PE
    Steps to customize Windows PE boot images Windows
  • maxresdefault
    Install and manage IP Address Management on Windows Server Windows

More Related Articles

taskbar1 Hide or Remove Search Button from Windows 11 Taskbar Windows
Restrict Access to USB Drives Deny Execute Access: Restrict Access to USB Drives on Windows [Part 1] Windows
How to Clear Search History on Bing Chat AI How to Clear Search History on Bing Chat AI Windows
Edge browser Enable or disable Microsoft Edge from showing Web Content Windows
Customizing Windows PE Steps to customize Windows PE boot images Windows
maxresdefault Install and manage IP Address Management on Windows Server 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

  • macos app switcher shortcuts
    How to enable or disable automatic software updates on Mac Mac
  • dfeef
    How to automatically resolve errors associated with failed dependencies Linux
  • screenshot 2017 06 07 11.30.45
    How to Enable or Disable Touch Screen in Windows 10 Windows
  • Banner AzLogin 1
    Azure Managing Subscriptions with PowerShell: From Login-AzAccount to Resource Control and Private Endpoint Verification for Azure File Share” AWS/Azure/OpenShift
  • cisco general
    How to update Cisco ASA Network | Monitoring
  • Fixing TPM Vulnerability
    How to fix a vulnerable Trusted Platform Module [TPM] Windows
  • AZURE Kubernetes Service Upgrade
    AZURE Kubernetes Service (AKS) upgrade minor version from 1.32.3 to 1.33.7 AWS/Azure/OpenShift
  • dd
    How to update Microsoft Defender Antivirus into the install image of Windows (install.wim) Windows

Subscribe to Blog via Email

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

Join 1,784 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.