Server 2012 core

I am configuring Server 2012
I am running command    DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore
and receiving error

Error: 0x800f080c

Feature name NetFx2-ServerCore is unknown.
A Windows feature name was not recognized.
vadimmikhalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

becraigCommented:
dism /online /enable-feature:NetFx2-ServerCore

instead of:
/Enable-Feature /FeatureName:

should be
/Enable-Feature:NetFx2-ServerCore
0
vadimmikhalAuthor Commented:
Error: 0x800f080c

Feature name NetFx2-ServerCore is unknown.
A Windows feature name was not recognized.
0
becraigCommented:
Can you run Get-WindowsFeature let's see if the feature is present ?


Also if it is not present it could possibly be bad installation media

Do you have any other machines that already have this feature installed  ?
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

vadimmikhalAuthor Commented:
So the command is DISM /Get-WindowsFeature ?
0
becraigCommented:
Just run :
Import-Module ServerManager
Get-WindowsFeature
from a powershell window

I also came across a blog indicating you should try running below:

DISM.exe /Online /featurename:NetFx2/Enable-Feature-ServerCore
0
vadimmikhalAuthor Commented:
It is not present
0
becraigCommented:
I also came across a blog indicating you should try running below:

DISM.exe /Online /featurename:NetFx2/Enable-Feature-ServerCore
0
vadimmikhalAuthor Commented:
I have ran DISM /online /get-features - there is no NetFx2
Is this NET Framework 2.0
Is there NET Framework 2.0 in Server 2012?
0
becraigCommented:
Please see below:

Using Powershell you can verify the install by running Get-WindowsFeature from within PS, you will notice something similar to this;

 
[X] .NET Framework 3.5 Features NET-Framework-Features   Installed

[X] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core Installed



http://blogs.msdn.com/b/sql_shep/archive/2012/08/01/windows-2012-and-net-3-5-feature-install.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vadimmikhalAuthor Commented:
OK I have found it ,but it doesn't look like it is installed
0
becraigCommented:
Try the following:

Import-Module ServerManager
DISM.exe /Online /featurename:NetFx2/Enable-Feature-ServerCore
DISM.exe /Online /featurename:NetFx3/Enable-Feature-ServerCore
0
Vaseem MohammedCommented:
is there any specific reason to use DISM?

In 2012 server core the source files are not available, you will have to provide the path to <DVD-ROM>:\Sources\SxS folder which contains all the source files necessary for installing roles and features.

When you login to 2012 Server Core, you will be presented with command prompt window.
type Powershell in it, and it will load powershell session.

Type : Get-WindowsFeature | where{$_.Name -like "*Net*"}

You will be presented with list of features which have "Net" word mentioned in their names.
This way you can know the exact name of feature you want to enable.
Feature ListType : Add-WindowsFeature -Name Net-Framework-Core -Source D:\Sources\SxS
Feature InstallationYou can check the list of feature again and see if is available or not.
Check List
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.