Setting up Windows Deployment Services – Capture a Windows 7 Image

Well guys it took me a lot of time (and google sessions) to solve this issue.

Having installed the Windows 7 OS and installed the complete office surrounding including additional software. After all this work started windows update so the machine is updated to the latest versions. So far so good. mmmmm now the trouble started. Starting the sysprep “Windows could not finish configuring the system error after sysprep /generalize“. Used some workarounds found on the “net” but no one gives a permanent working solution.

So we have to investigate this to get it working:

First of all I started to disable a nasty windows service (you can always enable it after deploying) The service is called (Windows Media Player Network Sharing Service) and cause sysprep to fail.

I started over again, now it seems to be running. The system is shutting down. After powering on again to see it working I received

Windows could not finish configuring the system. To attempt to resume configuration restart computer”

errorwin7

Ye restart and restart and restart it will never finish.

So I have to rollback my image again, and start digging again. After reading some google results I came on Dave Stork’s article. That saved me a lot of time.

So the final way to go:

  1. Use a third party tool to format your disk.
  2. Install Windows 7 do NOT create the additional partion from 100 Mb.
  3. Install all your software, and Installed al the updates.
  4. Disable the windows service called Windows Media Player Network Sharing Service.
  5. Reboot your system.
  6. Open a elevated Dos Prompt and run slmgr -rearm.
  7. Reboot again.
  8. Open a elevated Dos Prompt and run sysprep.exe /oobe /generalize /shutdown.

Now your ready to capture your image! Good luck

This entry was posted in WDS, Windows Server 2008 and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *