Accidentally deleted my account in Windows 7 Pro

Posted on 2014-08-20
Last Modified: 2014-08-21

I just installed a fresh copy of Windows 7 32bit Pro version and I created a local account during the installation. Later on, I got confused and thought  this machine was already joined the domain so I went ahead deleted that account. Now I cannot access this laptop anymore. I have to type type the user name and password which not exist anymore.

Is any way I can by pass the login?
Question by:Shawyen
    LVL 14

    Accepted Solution

    Do you have the login information for the local administrator account? Otherwise you'll probably have to reinstall.

    You could try booting into Safe Mode and/or performing a system recovery.
    LVL 23

    Assisted Solution

    Have you tried system restore .... it backs up local profiles so it might do the job.

    Author Comment

    I have login information, but the account is deleted. I will try booting into Safe Mode and do system recovery and let you know.
    LVL 10

    Assisted Solution

    You can try this procedure...
    1. Set your BIOS so that it uses the DVD drive as its primary boot device.
    2. Boot the machine with your Windows 7 Repair CD or with your Windows 7 installation DVD.
    3. Press a key when prompted to boot from the DVD.
    4. Select System Restore when prompted.
    5. Set Windows back to a point before you changed the password that you forgot
    LVL 87

    Assisted Solution

    Boot the PC using the UBCD, it includes an "Offline Registry and password reset" tool, and with that you can enable the built-in administrator account of Windows 7, which is by default hidden. After that boot back into windows, and logon as "Administrator". Then you can create a new account for yourself, log off, then back on, with the account you just created, and after that you can disable the Administrator account again.
    LVL 87

    Expert Comment

    Sorry, forgot to post the link to the UBCD:
    LVL 77

    Assisted Solution

    by:David Johnson, CD, MVP
    the problem isn't a forgotten password but a deleted account?

    how in the world did you delete an account that was in use? (the one you were logged in as?

    Safe mode should allow you to login as the administrator and from there you can
    net user username /add and if you want
    net group administrators username /add

    Author Closing Comment

    Thank you for all of your suggestions I will try one by one. I will try Hiren's Boot CD as well.

    Author Comment

    Restore did it. Thanks a lot!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Too many email signature changes to deal with?

    Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

    Suggested Solutions

    Title # Comments Views Activity
    looking for a driver 20 44
    Updates not working for MS Windows 7 12 77
    Always hangs on opening 8 29
    Windows Update not working. 8 25
    When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now