bat script to c:\windows\system32 and run from command prompt, it works fine on test machine.īut how would I implement it using SCCM because our client machines doesn't have pstools? Used "psexec -i -s cmd" to open a cmd in system context manually and copied.
#ELEVATED PERMISSIONS ARE REQUIRED TO RUN DISM WINDOWS#
Same commands worked before for Windows 732bit machine but not it fails on x32 and 圆4 bit both. I would greatly appreciate if anybody could provide me any clues 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. CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c)
CPackageManagerCLIHandler::Private_ProcessFeatureChangeĭISM DISM Package Manager: PID=3200 Failed while processing command enable-feature. CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)ĭISM DISM Package Manager: PID=3200 Failed to get the Feature List from the command line.
I am deploying program with option Run with Administrative Rights under Environment Tab of program propertiesĭISM DISM Package Manager: PID=3200 Unknown features were specified on the command-line. It fails with error 740 Elevated permissions are required to run DISM
Trying to deploy cmd /c EnableFeatures.cmd with following commands in fileĭism /online /enable-feature /featurename:RemoteServerAdministrationToolsĭism /online /enable-feature /featurename:RemoteServerAdministrationTools-Rolesĭism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-ADĭism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DSĭism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns