exeterdeafacademy
asked on
Is there a way to run the Dism command in group policy>
Basically I'm trying to update around 250 pc's with the .net 3.5 framework. I know that in windows 8.1 this is broken so the the only way to use the following.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:\\servername\sourc es\sxs
Easy, but I want to automate this task so that it doesn't need an elevated command prompt to run it. I tried to create a scheduled task using the run as administrator but it still doesn't work, it errors with 0x80070005 when I check the gpresult /h.
Is it possible to run the dism command as an elevated user or some other method to get this to work. I thought powershell may work but that also needs elevated privileges.
At this rate I will have to install manually on every PC!!
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:\\servername\sourc
Easy, but I want to automate this task so that it doesn't need an elevated command prompt to run it. I tried to create a scheduled task using the run as administrator but it still doesn't work, it errors with 0x80070005 when I check the gpresult /h.
Is it possible to run the dism command as an elevated user or some other method to get this to work. I thought powershell may work but that also needs elevated privileges.
At this rate I will have to install manually on every PC!!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER