locked
Install roles and features W2k8R2 RRS feed

  • Question

  • I have 3 questions on SCCM install roles and features step.

    1. ServerManagercmd.exe is depreciated in windows 2008 R2, so why is it still being used in SCCM/MDT2010 install roles and features step?

    2. The task says 'Note:  Items supported by each operating system are different; those that are not supported will be ignored."
        However some features if selected such as the "Powershell" will cause the entire roles and features step to fail.
        Why is this?

    3. Some features are not included from the roles and features in SCCM such as the powershell ISE.. is it possible to update/refresh the roles and features in      SCCM to add this step without having to run custom command line steps.

    Thanks
    Wednesday, January 6, 2010 2:43 AM

Answers

  • Thanks Niall,
    Yes and if you check the C:\Windows\Temp\servermgr.log you will see some more detail,  saying something like feature powershell not recognized failing(dont have the exact log with me at the moment as i have rebuilt the server in question since).

    Also its not just the powershell feature, under RSAT->Role Admin->AD Domain Services Tools, there was another one that caused the same issue (Active Directory Domain Controller Tools i believe).


    As for point 3.
    "3. i would guess you'll have to script that, or wait until we get an update from the MDT folks"

    That's what i thought but was hopeful of a better solution.. in the meantime i will just have to use a command line task like below.

    C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe -command "&{Import-Module ServerManager;Add-WindowsFeature PowerShell-ISE}"


    Thursday, January 7, 2010 12:37 AM

All replies

  • good questions, and i'll try and reply...

    1. it is depreciated but it still works.

    2. i will test this and report back, but you can see that it does not say that windows powershell is 2008 specific (for example it lists .NET 3.5.1 as Windows 2008R2 specific

    3. i would guess you'll have to script that, or wait until we get an update from the MDT folks

    cheers
    niall

    My step by step SCCM Guides
    Follow me on Twitter
    Wednesday, January 6, 2010 4:58 PM
  • i've just deployed Server 2008 R2 and included the powershell feature in the task sequence, it also failed out the Roles and Features

    the ZTIOSROLE.log shows the following useful info:



    <![LOG[Microsoft Deployment Toolkit version: 5.0.1641.0]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[The task sequencer log is located at C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No roles were requested.]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Role services requested for installation:]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  ADDS-Domain-Controller]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Features requested for installation:]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NET-Framework]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NET-Framework-Core]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NET-Framework]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NET-Framework-Core]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  PowerShell]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Preparing to install roles for Windows Server 2008 using ServerManagerCmd]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Saved role answer file to C:\Windows\TEMP\Roles.xml]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[About to execute command: C:\Windows\sysnative\ServerManagerCmd.exe -inputpath "C:\Windows\TEMP\Roles.xml" -LogPath C:\Windows\TEMP\ServerMgr.log]LOG]!><time="18:57:59.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ERROR - Role installation with ServerManagerCmd.exe failed, rc = 4]LOG]!><time="18:58:19.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
    <![LOG[FAILURE: 4: Server 2008 R2 Role Installation]LOG]!><time="18:58:19.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="2" thread="" file="ZTIOSRole">
    <![LOG[ZTIOSRole processing completed successfully.]LOG]!><time="18:58:19.000+000" date="01-06-2010" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">

    at least this ties in with what you've seen, I wonder will we get some input from the MDT team on this ?

    cheers
    niall

    My step by step SCCM Guides
    Follow me on Twitter
    Wednesday, January 6, 2010 6:40 PM
  • Thanks Niall,
    Yes and if you check the C:\Windows\Temp\servermgr.log you will see some more detail,  saying something like feature powershell not recognized failing(dont have the exact log with me at the moment as i have rebuilt the server in question since).

    Also its not just the powershell feature, under RSAT->Role Admin->AD Domain Services Tools, there was another one that caused the same issue (Active Directory Domain Controller Tools i believe).


    As for point 3.
    "3. i would guess you'll have to script that, or wait until we get an update from the MDT folks"

    That's what i thought but was hopeful of a better solution.. in the meantime i will just have to use a command line task like below.

    C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe -command "&{Import-Module ServerManager;Add-WindowsFeature PowerShell-ISE}"


    Thursday, January 7, 2010 12:37 AM