Hello,
I just started to learn Windows server 2012 and I'm beginner.
I have a question:
I removed DNS role by PoweShell. Then I was going to install it again by PS by this code (from CD):
PS C:\Users\Administrator> install-windowsfeature dns -source wim:d:\sorces\install.wim.2
But I got this error:
install-windowsfeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
The parameter is incorrect. Error: 0x80070057
At line:1 char:1+ install-windowsfeature dns -source wim:d:\sorces\install.wim.2+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
Exception+ FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
owsFeatureCommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No Failed {}Whats the problem?
I also tried to add it from CD and I got this error (I typed this patch: D:\sources):
http://social.technet.microsoft.com/Forums/getfile/540880