Add .Net 2.0/3.5 to Windows 10

When connected to a domain and using WSUS for Windows Updates; adding features to Windows 10 (without local install media) causes an exception. To work around this, open regedit and navigate to the following key:

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

Change the entry for UseWUServer from 1 to 0.
Exit Registry Editor and reboot the PC.

Now add the required feature, using the command line:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

Once the feature is added and Windows is restarted, GPO will probably set the registry key back to 1 but to be sure go back into Registry Editor and change the entry back.

See this for adding .NET 2.0/3.5 using an offline setup: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management–dism

Advertisements

SQL Server Reporting Services (SSRS) print add-on install

To remove/install the RSClientPrint-x86.cab file for IE:

  1. Remove system attribute from C:\Windows\Downloaded Program Files;
    attrib "C:\Windows\Downloaded Program Files" -S
  2. You can now view the content of the folder to delete the files from the old version.
  3. Extract the files from the required version of SQL Server Reporting Services cab file and paste them into the C:\Windows\Downloaded Program Files directory.
  4. Add the system attribute back to the C:\Windows\Downloaded Program Files directory;
    attrib "C:\Windows\Downloaded Program Files" +S

SQL Server 2008 R2 SP2 version 10.50.3720.0