Tuesday 8 December 2015

(solved) Access Denied for Local Administrator User After Sysprep

Problem:

After VM creation VM is not fully sys-prepped and you cannot login using local Administrator User account.You see a error stating "Access is denied".
login1

Solution:

You can do following steps to solve this issue.
Insert the Offline NT Password & Registry Editor ISO and from there do the following:
  • Press enter (Select default)
  • 1 – Password reset SAM
  • 1 – Edit user data and passwords
  • 01f4 (this is my administrator user RID, enter would do this as its the default)
  • 1 – Clear (Blank) User Password
  • 2 – Unlock and enable user account
  • q – Quit editing user, back to user select
  • q – Quit (you will be asked if there is something to save)
  • y – Write files back (Default is not to save your changes)
  • n – Try again (Assume here that everything went well)
login3

Now remove the ISO and reboot into Windows, you wont’ have to enter a password,Fixeddddd.
Note: it would be a good idea to select ‘Generalize’ when sysprepping!

Have Fun!

No comments:

Post a Comment