Topic
  • 2 replies
  • Latest Post - ‏2013-12-03T21:16:00Z by EKKH_Riff_Khan
jkieler
jkieler
2 Posts

Pinned topic DISM.exe commands not working in TEM Trying to Enabe RSAT Features and roles

‏2013-09-20T14:12:48Z |

This works when ran as a .cmd manually on the system but not through TEM to enable Remote Server Administration Tools Roles and Features on Windows 7. Can anyone assist in this?

Win 7 update for tools installs via WUSA.exe commands, but automating the enabling of Roles and Features has been a real pain.

 

C:
cd c:\windows\System32

dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-ServerManager
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-CA
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-NIS
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-LDS
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-AD-Powershell
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-DHCP
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-DNS
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-FileServices
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Dfs
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Fsrm
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-HyperV
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Roles-RDS
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-BitLocker
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-Clustering
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-GP
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-LoadBalancing
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-SmtpServer
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-StorageExplorer
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-StorageManager
dism /Online /Quiet /enable-feature /FeatureName:RemoteServerAdministrationTools-Features-Wsrm

 I have tried this via .cmd file I have also tried various ways through the Actions in TEM.

Does anyone have a resolution for this issue?

 

 

  • NoahSalzman
    NoahSalzman
    676 Posts

    Re: DISM.exe commands not working in TEM Trying to Enabe RSAT Features and roles

    ‏2013-09-20T17:18:27Z  

    Maybe add action uses wow64 redirection {not x64 of operating system} to your action script?

    Just a guess.

    https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014931992

  • EKKH_Riff_Khan
    EKKH_Riff_Khan
    4 Posts

    Re: DISM.exe commands not working in TEM Trying to Enabe RSAT Features and roles

    ‏2013-12-03T21:16:00Z  

    You can also check out: http://bigfix.me/features/

    Creating an DISM.txt is a prerequisite to adding the Windows Feature, but you should be able to automate that task to run daily/weekly.