Jump to content


goffries

Create sysprepped VHD with SCCM 2012 R2

Recommended Posts

I manage a SCVMM 2012 sp1 environment and I would like to use SCCM 2012 r2 to manage, update and publish new VHD's. However I am having trouble creating a sysprep'd VHD. The task sequence seems to complete without issue up to the shutdown command which is the last step in the sequence. I have pasted what I believe the issue is below.

 

Failed to execute command line 'shutdown -s -t 300' .
The system cannot find the file specified. (Error: 80070002; Source: Windows) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)

 

It seems to be unable to find the shutdown.exe, Is there something obvious that I'm missing here? Any idea on how to fix it?

 

Any assistance would be great.

Share this post


Link to post
Share on other sites

First of, I would use a task sequence step to perform that action. Reason for that is simple, as your task sequence will never complete successfully. In SP1 there is a new variable introduced, name SMSTSPostAction, use that instead. For the usage of that variable see: http://www.petervanderwoude.nl/post/how-to-perform-an-action-directly-after-the-task-sequence-is-finished-with-configmgr-2012/

 

Back to your issue, a shutdown, is a shutdown. There is nothing in ConfigMgr that would change a shutdown in something else... I do have seen virtual environments where they automaticaly (and directly) started virtual machines after they where shutdown...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.