Recently updated from 11 to 11.1a and rebuilt my Win7x64
unattended/image build process to include the new agent.

New sysprep image encountered errors on restore re:
Microsoft-Windows-Shell-Setup during the specialize pass.

I dug into this and traced it back to the CopyProfile setting. It
appears that the dynamic user DAU232796-0140 was still listed as the
highest numbered profile in
NT\CurrentVersion\ProfileList. The DAU account had been deleted as per
the documentation, but this registry key was left behind causing some
grief when processing the CopyProfile setting.

I've manually purged the key and created a new image -- no errors on
restore. I just wanted to give a heads up that the agent may not be
doing a thorough cleanup of the DAU accounts.