[go: up one dir, main page]

0% found this document useful (0 votes)
55 views4 pages

Install NET Framework Manual Colorful

This document provides a step-by-step guide for installing .NET Framework 3.5 from local CAB files on Windows Server. It includes instructions for preparing the environment by adjusting group policy settings, disconnecting from the internet, and modifying registry settings, followed by the installation process using Command Prompt. Finally, it outlines the final steps to verify the installation and revert any temporary changes made during the process.

Uploaded by

Salim Alsenani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views4 pages

Install NET Framework Manual Colorful

This document provides a step-by-step guide for installing .NET Framework 3.5 from local CAB files on Windows Server. It includes instructions for preparing the environment by adjusting group policy settings, disconnecting from the internet, and modifying registry settings, followed by the installation process using Command Prompt. Finally, it outlines the final steps to verify the installation and revert any temporary changes made during the process.

Uploaded by

Salim Alsenani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

nual: Installing .NET Framework 3.

5 from Local CAB Files on Windows Server 2

1. Preparing the Environment

1.1 Adjusting Group Policy Settings

1. Open Local Group Policy Editor:

- Press Win + R, type gpedit.msc, and press Enter.

2. Navigate to the Following Path:

- Computer Configuration -> Administrative Templates -> System.

3. Configure the Policy:

- Find and double-click on 'Specify settings for optional component installation and component

repair'.

- Set the policy to Enabled.

- Enter the path to your local source files, e.g., C:\sources\sxs.

- Uncheck the option that says 'Download repair content and optional features directly from

Windows Update instead of Windows Server Update Services (WSUS)'.

4. Apply the Changes:

- Click Apply, then OK to save the changes.

1.2 Disconnecting from the Internet

To ensure that the system does not attempt to download files from the internet during the

installation, you can disconnect the server from the network temporarily:

1. Physically Disconnect the Network Cable: Unplug the Ethernet cable if possible.
nual: Installing .NET Framework 3.5 from Local CAB Files on Windows Server 2

2. Disable Network Adapter: Alternatively, disable the network adapter:

- Go to Control Panel -> Network and Internet -> Network Connections.

- Right-click on your network connection and select Disable.

1.3 Modify the Registry Settings

Modifying the registry can help prevent the system from using Windows Update or WSUS during

installation:

1. Open Registry Editor:

- Press Win + R, type regedit, and press Enter.

2. Navigate to the Registry Key:

- HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.

3. Modify the 'UseWUServer' Value:

- If the key UseWUServer exists, double-click it.

- Set the value to 0 to disable WSUS temporarily.

- If it doesn't exist, you can skip this step.

4. Close the Registry Editor:

- Exit the Registry Editor after making the changes.

2. Installing .NET Framework 3.5 Using Local CAB Files

2.1 Obtain the Correct CAB Files


nual: Installing .NET Framework 3.5 from Local CAB Files on Windows Server 2

Ensure you have the correct .cab files for .NET Framework 3.5. These files are typically found on

the Windows Server 2019 installation media or downloaded from a trusted source. Copy these .cab

files to the C:\sources\sxs directory on the server.

2.2 Running the Command to Install CAB Files

1. Open Command Prompt as Administrator:

- Right-click on the Start button and select 'Command Prompt (Admin)' or 'Windows PowerShell

(Admin)' to open an elevated Command Prompt.

2. Run the Installation Command:

- Use the following command to install all .cab files from the C:\sources\sxs directory:

for %f in (C:\sources\sxs\*.cab) do dism /online /add-package /packagepath:"%f"

3. Wait for the Process to Complete:

- The installation may take some time depending on the number of packages. Monitor the output

for any errors.

3. Final Steps

1. Re-enable Network Connection:

- If you disabled the network adapter or unplugged the cable, re-enable the network connection or

plug the cable back in.

2. Verify Installation:

- You can verify that .NET Framework 3.5 is installed by checking installed features in Server

Manager or running the following command:


nual: Installing .NET Framework 3.5 from Local CAB Files on Windows Server 2

DISM /Online /Get-Features /Format:Table | findstr NetFx3

- Look for Enabled status next to .NET Framework 3.5.

3. Revert Any Temporary Changes (if applicable):

- If you modified registry settings or group policy settings, consider reverting them to their original

state to comply with your organization's IT policies.

You might also like