I needed to install .net 2.0 to install the Windows 7 USD DVD Download Tool.

In windows Programs and features, I select ‘.NET Framework 3.5 (includes .NET 2.0 and 3.0)’ and it tried to install, ending in access denied.

I found this page from Microsoft to fix it, for most home users method 3 will work.

https://support.microsoft.com/en-gb/kb/2734782

But the command line needs adjusting as I still received an access denied error, even with an elevated command prompt.

The original command is:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess

Adjusted to:

Dism /online /enable-feature /featurename:NetFx3 /Source:<drive>:\sources\sxs /LimitAccess

I have removed /All (as this still caused the access denied, I didn’t need the sub features of.net), if you are using the latest windows 10 download tool then you can include x86 and x64 version on the same USB so the /Source command could be either of these:

/Source:<drive>:\sources\sxs

or

/Source:<drive>:\x86\sources\sxs
/Source:<drive>:\x64\sources\sxs