Deploying the .NET Framework 3.5 via Configuration Manager (ConfigMgr) is a common task for IT administrators aiming to ensure all Windows devices in their environment have the necessary runtime components for legacy or specific applications. This guide provides a clear, step-by-step approach to deploying .NET 3.5 using ConfigMgr, helping you automate and streamline the installation process across multiple machines. Before starting, ensure you have the necessary permissions and access to your Configuration Manager console, as well as the source files for the .NET Framework 3.5 installation.
What You’ll Need
- Administrative access to Microsoft Endpoint Configuration Manager (ConfigMgr) Console
- Windows Server with ConfigMgr installed and properly configured
- Source files for the .NET Framework 3.5 installation (either from Windows installation media or a network share)
- Appropriate permissions to create and deploy applications and packages in ConfigMgr
- A test device to validate deployment before mass rollout
Step-by-Step
- Prepare the Source Files: Obtain the Windows installation media or ISO that contains the .NET Framework 3.5 source files. Extract or locate the ‘sxs’ folder, which contains the necessary components for enabling .NET 3.5.
- Create a Package in ConfigMgr:
- Open the ConfigMgr console and navigate to Software Library > Application Management > Packages.
- Click ‘Create Package’ and specify a name like “.NET Framework 3.5”.
- Set the source folder to the location where you stored the Windows source files.
- Create a Program for the Package:
- Within the package, create a new program.
- Name it something like “Install .NET Framework 3.5”.
- In the command line, enter the following (adjust paths as necessary):
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source: /LimitAccess
- Configure the program to run whether or not a user is logged on and run with administrative rights.
- Distribute the Package: Right-click the package and select ‘Distribute Content’. Choose the distribution points or distribution point groups where the content should be stored.
- Deploy the Package:
- Right-click the package and select ‘Deploy’.
- Select the device collection you want to target (e.g., all Windows 10 devices).
- Set the deployment purpose to ‘Required’ for automatic installation.
- Configure the schedule and user experience settings as needed.
- Monitor Deployment: Keep track of the deployment status through the Monitoring workspace. Verify successful installation on target devices.
- Validate Installation: On a test device, confirm that .NET Framework 3.5 is installed correctly by checking in Windows Features or using PowerShell commands like
Get-WindowsFeature.
Common Mistakes
- Using incorrect source files or not including the ‘sxs’ folder, resulting in failed installation.
- Forgetting to distribute content to distribution points before deploying, causing clients to fail to download the package.
- Not running the deployment with administrative rights, which can prevent the feature from enabling properly.
- Misconfiguring the command line, such as forgetting the /LimitAccess flag or specifying the wrong source path.
- Targeting an incorrect device collection, leading to inconsistent deployment results.
Tips
- Use a test collection first to validate the deployment before rolling out broadly.
- Ensure that the source files are accessible from all distribution points to avoid download issues.
- Leverage the ‘Run with highest privileges’ option in the program settings to prevent permission issues.
- Document your deployment steps and settings for future reference or troubleshooting.
- Consider creating a detection rule in ConfigMgr to verify whether .NET 3.5 is installed, enabling status monitoring.
Troubleshooting
If the deployment does not go as planned, follow these steps:
- Check Client Logs: Review the
execmgr.logon the client machine for errors related to program execution. Also, checkAppEnforce.logif you’re deploying as an application. - Verify Source Files: Ensure the source path contains the correct ‘sxs’ folder and that the files are accessible from the distribution points.
- Test Command Manually: Run the DISM command manually in an elevated command prompt on a client machine to see if it completes successfully.
- Check Network and Distribution Point Status: Confirm that the distribution points are online and clients can access the content.
- Review Deployment Settings: Ensure the deployment schedule allows enough time for installation and that any user experience settings do not block the process.
- Update Clients: Make sure client agents are up to date and have the latest policies applied.
Frequently Asked Questions
1. Can I deploy .NET Framework 3.5 on Windows Server and Windows 10?
Yes, the method works across different Windows versions, but ensure you use the correct source files and commands compatible with each OS.
2. Do I need internet access on clients for this deployment?
No, since the deployment uses local source files, clients do not require internet access once the content is distributed.
3. How do I verify if .NET Framework 3.5 is installed after deployment?
You can check in Windows Features, or run PowerShell command: Get-WindowsFeature -Name NET-Framework-Core to confirm installation.
4. What if the deployment fails on some devices but succeeds on others?
Check client logs for errors, ensure the source files are accessible, and verify network connectivity. Deploy to a smaller test group first to troubleshoot issues.
5. Can I include this deployment in a larger task sequence?
Yes, you can integrate the installation step into a task sequence for automated OS deployment or software updates.
6. Is there a way to automate detection of successful installation?
Yes, configure detection rules in ConfigMgr based on registry entries, Windows Features, or specific files indicating .NET 3.5 is installed.
Deploying .NET Framework 3.5 using Configuration Manager effectively streamlines the process across multiple devices, saving time and reducing manual effort. Proper preparation, careful configuration, and thorough testing are key to successful deployment.