Enable NetFx3 - .NET 2 & 3 - Windows Features
Log In or Register to download the BES file, and more.

0 Votes

Description

<enter a description of the task here>

Property Details

ID22635
StatusAlpha - Code that was just developed
TitleEnable NetFx3 - .NET 2 & 3 - Windows Features
DomainBESC
SourceInternal
Source Release Date5/20/2016 12:00:00 AM
Is TaskTrue
Added by on 11/18/2016 3:52:51 PM
Last Modified by on 11/18/2016 3:52:51 PM
Counters 2847 Views / 68 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1130 fixlets and 534 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/* Windows 8 or later */ version of operating system >= "6.2"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists (it as version) whose("3.5"=it) of following texts of firsts "v" of names of keys of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP" of (x64 registries;x32 registries)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// disable wow64 redirection if x64 bit OS
action uses wow64 redirection {not x64 of operating system}


waithidden "{pathname of system folder}\dism.exe" /NoRestart /Quiet /online /enable-feature /featurename:NetFx3 { if ( (it contains "Win2008R2") of name of operating system ) then "" else "/all" }

// Restart Required
action requires restart

// Raw Registry Location:
// HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.14342.1000\Updates

// Related:
// https://bigfix.me/fixlet/details/823
// https://www.raymond.cc/blog/add-or-remove-windows-features-through-the-command-prompt/
// http://www.infralib.com/2013/02/running-64bit-cmd-via-32bit-sccm-client/
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
coolananth -
Hi jgstew, how to do this installation using powerhell install-windowsfeature?
jgstew -
http://stackoverflow.com/questions/4345475/how-to-programmatically-check-wcf-http-non-http-activation-components
jgstew -
for server features: `"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache"`
jgstew -
I'm not certain that a restart is really required. May want to remove that.