Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Deployment as command for Enable Remote Server Administration Tools keeps failing

$
0
0

trying to deploy cmd /c EnableFeatures.cmd with following commands in file

dism /online /enable-feature /featurename:RemoteServerAdministrationTools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns

it fails with error 740 Elevated permissions are required to run DISM

I am deploying program with option Run with Administrative Rights under Environment Tab of program properties


Help..

Reviewed logs and found errors

DISM   DISM Package Manager: PID=3200 Unknown features were specified on the command-line. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)

 DISM   DISM Package Manager: PID=3200 Failed to get the Feature List from the command line. - CPackageManagerCLIHandler::Private_ProcessFeatureChange

DISM   DISM Package Manager: PID=3200 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c)

If I run .cmd file from SCCM client as administrator it works, but I have to push in environment for hundreds of machines and somehow its not running with elevated administrator rights..

Spend lot of time but getting nowhere..

I would greatly appreciate if anybody could provide me any clues

Same commands worked before for Windows 732bit machine but not it fails on x32 and x64 bit both.



Viewing all articles
Browse latest Browse all 4762

Trending Articles



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