Trouble installing SMTP on Server 2012 Standard Core


i asked this on windows 2012 forum, advised ask on form.

i have server core instance administrating via powershell remoting. has iis , sql 2008r2 functioning correctly , want add smtp. i've verified running 2012 standard edition:

ps c:\users\jdearing\documents> ciminstance win32_operatingsystem|select caption    caption  -------  microsoft windows server 2012 standard

i try install smtp following command: 

add-windowsfeature smtp-server,rsat-smtp -source:wim:d:\sources\install.wim:1 -debug -verbose

it fails with:

add-windowsfeature : request add or remove features on specified server failed.  installation of 1 or more roles, role services, or features failed.  source files not downloaded.  use "source" option specify location of files required restore feature. more information on specifying source location, see  http://go.microsoft.com/fwlink/?linkid=243077. error: 0x800f0906      + categoryinfo          : invalidoperation: (@{vhd=; credent...name=localhost}:psobject) [install-windowsfeature], exception      + fullyqualifiederrorid : dismapi_error__cbs_download_failure,microsoft.windows.servermanager.commands.addwindowsfeaturecommand  debug: call getalterationrequeststate provider method failed error(s): request add or remove features on specified server failed.  installation of 1 or more roles, role services, or features failed.  source files not downloaded.  use "source" option specify location of files required restore feature. more information on specifying source location, see  http://go.microsoft.com/fwlink/?linkid=243077. error: 0x800f0906

the iso mounted d: drive , image 2012 standard server cor indeed 1:

 ps c:\users\jdearing\documents> get-windowsimage –imagepath d:\sources\install.wim      index       : 1  name        : windows server 2012 serverstandardcore  description : windows server 2012 serverstandardcore  size        : 7,178,226,690 bytes    index       : 2  name        : windows server 2012 serverstandard  description : windows server 2012 serverstandard  size        : 11,999,889,351 bytes    index       : 3  name        : windows server 2012 serverdatacentercore  description : windows server 2012 serverdatacentercore  size        : 7,172,264,095 bytes    index       : 4  name        : windows server 2012 serverdatacenter  description : windows server 2012 serverdatacenter  size        : 11,995,265,169 bytes
doing wrong?

hi,

your link broken. also, can't reproduce issue. able add smtp server entering pssession , running this:

ps c:\> enter-pssession helios [helios]: ps c:\> add-windowsfeature smtp-server


output:

success restart needed exit code      feature result
------- -------------- ---------      --------------
true    no             success        {feature administration tools, smtp server...

edit: tried add-windowsfeature smtp-server,rsat-smtp , worked fine.

edit2: noticed you're running core, i'm using gui installation. still, smtp listed supported core here:
http://technet.microsoft.com/en-us/library/jj574158.aspx

wednesday, june 12, 2013 11:27 pm
moderator


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group