Long time reader. windows-noob.com is one of the best resources available for using SCCM by far.
Anyways, here's my issue and I'm a bit stumped.
I am attempting to automate our build and capture using Powershell.
Everything is working without issue so far except when I attempt to change the data source in SCCM for the image.
I have a reference image from three months ago: Windows7x64ENTSP1_2014_11.wim Quarterly build and capture completes and new WIM file is created and housed in the same directory as previous WIM file but with different year/month on filename: Windows7x64ENTSP1_2015_02.wim I run:
set-cmoperatingsystemimage -id <ID number> -path <network path to new WIM>Result:
: ConfigMgr Error Object:
= "Failed to read image property from the source WIM file due to error
Set-CMOperatingSystemImage -Id 40200497 -Version 2015_02 -Path "\\<path>
CategoryInfo : NotSpecified:
I had thought it an access/permissions issue so I set the permissions to EVERYONE to test.
This did not correct it.
Tried adding SYSTEM as well to no avail.
I CAN complete this process by point and click in the console without issue so my guess is that when running the command in Powershell, it is trying to use another account to complete the action or is it expecting some local resource to be available?
As a further test, I updated to the latest ADK but alas, this did not correct it either.
It is obviously referencing a CPP file that is in turn expecting a resource or something but I cannot find anything regarding this error.
Though the error code 80070032 appears in numerous postings elsewhere, they tend to not be in relation to the Powershell command.
Any help out there would be fantastic!