Home > Administration > Error (TakeOwnerAndDeleteKey) generated when creating a mandatory profile

Error (TakeOwnerAndDeleteKey) generated when creating a mandatory profile

Just a quick post, but I recently came across the below error while generating a mandatory profile and went about investing some time with Microsoft.

Before I go further, do you know how the correct procedure to create a mandatory profile in server 2008 R2? Are you sure? Because this hidden / badly documented article tucked away on Technet was news to me!

Now that that’s out of the way, after running the sysprep command and restarting you may receive the following error in the setupact.txt file and wonder, like me if this is something to be worried about.

2011-08-19 14:05:22, Info [Shell Unattend] CopyProfileDirectory from C:\Users\Administrator succeeded.
2011-08-19 14:05:22, Error [Shell Unattend] TakeOwnerAndDeleteKey failed (0x80070002)
2011-08-19 14:05:22, Info [Shell Unattend] CopyProfile succeeded

Fear not, having spoken to Microsoft (ref:111082230465165) this error can occur if the profile is deleted before the process has caught up, resulting in this strange, but harmless error. Your user profile is still a model template to be used as you see fit.

Edit:

For a really good write up on how to create a mandatory profile in server 2008 R2 / Windows 7 head over to myvirtualvision.com by @KBaggerman.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: