Today I came across an interesting problem in ConfigMgr while creating a Windows Vista image of reference computer. And again, ConfigMgr 2007 displays the error with not much intuitive help.
I’m using Microsoft Deployment Toolkit 2008 with ConfigMgr 2007 when I need to deploy an operating system. At the end of the imported Task Sequence, after the wizards creates the .wim image, it copies the image to a share specified by me. During this step I received the following error: “Error while importing Microsoft Deployment Toolkit Task Sequence. Details: The ConfigMgr Provider reported an error”.
Checking smsprov.log I have found the error code – 5. Yes, 5 :). From the log file: “Failed to make a copy of the source WIM file due to error 5”. Nice… what could I say? Shortly, error 5 is about permissions.
I started to play with share permission. Granted read permission to admin account I was using and to the ConfigMgr computer account but I had no success. Granted full control permissions to these accounts. Same error :(.
Well, the problem was because ConfigMgr is accessing local shares using NT AUTHORITYSYSTEM account and not computer account (the shared folder was on the same computer). I granted full control permissions to SYSTEM account and next time I run the task sequence to create an image of the reference computer, it was ok and the image was copied to my shared folder.