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!!