Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

PDQ Deploy and Windows Features

This is probably an easy one (and probably answered many times)...can I get Deploy to turn on a Windows Feature in Windows 10?  If so, what are the steps?

Specifically, I need a package that will enable .Net 3.5 on some Windows 10 machines.

0

Comments

4 comments
Date Votes
  • Powershell Step:

    Add-WindowsCapability -Online -Name NetFx3~~~~

    Yes, the tildes are required.

    0
  • Meh, don't do that. Doesn't work as intended I'm finding. Might need to go the DISM route. BRB, testing.

    0
  • Thanks...I found a Package in the Package Library that worked for .Net 3.5. 

    0
  • Bingo. 

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:C:\temp\microsoft-windows-netfx3-ondemand-package.cab

    In my testing I had to use a source file. So you could use a Copy Step to copy over the microsoft-windows-netfx3-ondemand-package.cab file from your installation media's Sources/SXS folder.

    Powershell step to run the code above. 

    Second Powershell step to cleanup the file copied previous:

    Remove-Item C:\temp\microsoft-windows-netfx3-ondemand-package.cab -Force
    0