troubleshooting Question

Is there a way to run the Dism command in group policy>

Avatar of exeterdeafacademy
exeterdeafacademy asked on
Active DirectoryWindows 8IT AdministrationWindows BatchInstallation
3 Comments2 Solutions1161 ViewsLast Modified:
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\sources\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!!
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros