Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28504

IIS install on Windows 2012 via Install-WindowsFeature

$
0
0

 Greetings everyone. On a freshly installed Windows 2012 Server core system I am attempting to automate the installation of IIS.  From within Powershell, and in an administrator command window, I have invoked the following command with it's associated results:

 

PS C:\Users\gorf> Install-WindowsFeature Web-Server,Web-WebServer,Web-Common-H
ttp,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http
-Redirect,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Performance,Web-Stat
-Compression,Web-Security,Web-Filtering,Web-Basic-Auth,Web-Digest-Auth,Web-Windo
ws-Auth,Web-App-Dev,Web-Net-Ext45,Web-AppInit,Web-ASP,Web-Asp-Net45,Web-CGI,Web-
ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt
-Compat,Web-Metabase,Web-WMI,Web-Scripting-Tools
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 source files could not be downloaded.
Use the "source" option to specify the location of the files that are required
to restore the feature. For more information on specifying a source location,
see http://go.microsoft.com/fwlink/?LinkId=243077. Error: 0x800f0906
At line:1 char:1
+ Install-WindowsFeature
Web-Server,Web-WebServer,Web-Common-Http,Web-Default-Doc, ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localh
   ost}:PSObject) [Install-WindowsFeature], Exception
    + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Wi
   ndows.ServerManager.Commands.AddWindowsFeatureCommand
Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}

I'm not sure I understand what it's asking about source.  The images are cranked out via WDS, so I'm not sure where it would look to for source components.  The WDS server has the standard REMINST share that is fully accessible by me, so there isn't any CIFS permissions issues.

 Ideas?


Viewing all articles
Browse latest Browse all 28504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>