TW
I am unable to log in to my computer.
I am unable to log in to my computer. I have Vista home and when I boot up I get the message "unable to log on to user profile". I am unable to get past this at all. There is only one user account on this computer. can any one tell how to by pass this
so I can log on. Also is it repairable? if so will I loose anything. Many thanks Twtim2
This thread is locked. You can vote as helpful, but you cannot reply or subscribe to this thread.
Report abuse
Details (required):
Thank you.
Reported content has been submitted

Answer
MA
It would have been more helpful to have the exact text of the error message but the gist of it is that your user account has become corrupted. The easiest way to handle this is to make a new user account and then copy the data from the old account to the
new one. Because you didn't have your computer set up optimally as described at the end of this post, you'll have a bit more work to do to straighten things out.
1. Boot into Safe Mode. Do this by repeatedly tapping the F8 key as the computer is starting up. This will get you to the right menu where you can use your arrow key to select Safe Mode [enter]. The built-in Administrator account is disabled by default in Vista. However, if no other administrative accounts exist on the system it may be enabled. If it is, you will see an icon for Administrator on the Welcome Screen in Safe Mode. Log into Administrator.
2. If If you don't see the icon for the Administrator account in Safe Mode, then the built-in Administrator account is still disabled and you'll need to do some more work. If you have a Vista installation DVD (not a recovery DVD) you can boot the system with it. Select the default language, then choose "Repair your computer". Then select "Command Prompt". At the command prompt type:
net user administrator /active:yes [enter]
[Note: Do not type the brackets!]
If you don't have a Vista installation DVD (only have a recovery disc), the computer mftr. may have given you the Vista System Repair option (not a System Recovery!) on the diagnostic menu. This diagnostic menu is the same one where you can choose Safe Mode. Or you can make a bootable Vista Repair DVD from the file at this link:
http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/
Note: All the Neosmart recovery disc downloads are torrent files. There is a good explanation of torrent files at the Neosmart website. You will need a torrent client such as muTorrent to get the files. The torrent client will download the .iso file with which to create the bootable DVD. You will need third-party burning software such as Nero, Roxio, or the free ImgBurn (www.imgburn.com ) to burn the .iso as an image, not as data.
Now remove the rescue CD/DVD you made, reboot the system into Windows, and log into the built-in Administrator account you enabled.
3. Try a System Restore to when things were working. If you can log into your own user account, you're finished. Otherwise continue at Step 4.
4. The critical files are under %systemdrive%\users\user-account\ntuser. The ntuser.dat file is actually a registry hive. Run Regedit elevated and select HKEY_USERS and "load hive" from the menu. Now navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
There is one line for each profile. If a profile is bad, check:
a) That the key name doesn't end in ".bak" (remove .bak if there)
b) That the RefCount value is 0 (change it if different)
c) That the State value is 0 (change if different)
Make any necessary changes, close Regedit and try to log in as that user.
5. If that doesn't fix your profile, it is corrupted. At that point you should make a new Standard user account and copy your data to it. Do not delete the old account until you have retrieved the data you need!
Once everything is working, log into the extra administrative account you will make per the suggestions below and disable the built-in Administrator account again for security purposes:
Start Orb>Search box>type: cmd
When cmd appears in Results above, right-click it and choose "Run as administrator" [OK]. Now you will get the command prompt. At the command prompt type:
net user administrator /active:no [enter]
Exit the command prompt.
General Recommendations For Setting Up Users In Vista
You absolutely do not want to have only one user account. Like XP and all other modern operating systems, Vista is a multi-user operating system with built-in system accounts such as Administrator, Default, and Guest. These accounts should be left alone as they are part of the operating system structure.
You particularly don't want only one user account with administrative privileges on Vista because the built-in Administrator account (normally only used in emergencies) is disabled by default. If you're running as Administrator for your daily work and that account gets corrupted, things will be Difficult. It isn't impossible to activate the built-in Administrator to rescue things, but it may be more work than you want to do. Best not to get into a bad situation to begin with.
The user account that is for your daily work should be a Standard user, with the extra administrative user (call it something like "CompAdmin" or "Tech" or the like) only there for elevation purposes. Running as a Standard user is best practice for security purposes and will help protect your computer from infection. After you create "CompAdmin", log into it and change your regular user account to Standard. Then log back into your regular account.
If you want to go directly to the Desktop and skip the Welcome Screen with the icons of user accounts, you can do this:
Start Orb>Search box>type: netplwiz [enter]
Click on Continue (or supply an administrator's password) when prompted by UAC
Uncheck the option "Users must enter a user name and password to use this computer". Select a user account to automatically log on by clicking on the desired account to highlight it and then hit OK. Enter the correct password for that user account (if there is one) when prompted. Leave it blank if there is no password (null).
MS-MVP - Elephant Boy Computers - Don't Panic!
Elephant Boy Computers - Don't Panic!
1. Boot into Safe Mode. Do this by repeatedly tapping the F8 key as the computer is starting up. This will get you to the right menu where you can use your arrow key to select Safe Mode [enter]. The built-in Administrator account is disabled by default in Vista. However, if no other administrative accounts exist on the system it may be enabled. If it is, you will see an icon for Administrator on the Welcome Screen in Safe Mode. Log into Administrator.
2. If If you don't see the icon for the Administrator account in Safe Mode, then the built-in Administrator account is still disabled and you'll need to do some more work. If you have a Vista installation DVD (not a recovery DVD) you can boot the system with it. Select the default language, then choose "Repair your computer". Then select "Command Prompt". At the command prompt type:
net user administrator /active:yes [enter]
[Note: Do not type the brackets!]
If you don't have a Vista installation DVD (only have a recovery disc), the computer mftr. may have given you the Vista System Repair option (not a System Recovery!) on the diagnostic menu. This diagnostic menu is the same one where you can choose Safe Mode. Or you can make a bootable Vista Repair DVD from the file at this link:
http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/
Note: All the Neosmart recovery disc downloads are torrent files. There is a good explanation of torrent files at the Neosmart website. You will need a torrent client such as muTorrent to get the files. The torrent client will download the .iso file with which to create the bootable DVD. You will need third-party burning software such as Nero, Roxio, or the free ImgBurn (www.imgburn.com ) to burn the .iso as an image, not as data.
Now remove the rescue CD/DVD you made, reboot the system into Windows, and log into the built-in Administrator account you enabled.
3. Try a System Restore to when things were working. If you can log into your own user account, you're finished. Otherwise continue at Step 4.
4. The critical files are under %systemdrive%\users\user-account\ntuser. The ntuser.dat file is actually a registry hive. Run Regedit elevated and select HKEY_USERS and "load hive" from the menu. Now navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
There is one line for each profile. If a profile is bad, check:
a) That the key name doesn't end in ".bak" (remove .bak if there)
b) That the RefCount value is 0 (change it if different)
c) That the State value is 0 (change if different)
Make any necessary changes, close Regedit and try to log in as that user.
5. If that doesn't fix your profile, it is corrupted. At that point you should make a new Standard user account and copy your data to it. Do not delete the old account until you have retrieved the data you need!
Once everything is working, log into the extra administrative account you will make per the suggestions below and disable the built-in Administrator account again for security purposes:
Start Orb>Search box>type: cmd
When cmd appears in Results above, right-click it and choose "Run as administrator" [OK]. Now you will get the command prompt. At the command prompt type:
net user administrator /active:no [enter]
Exit the command prompt.
General Recommendations For Setting Up Users In Vista
You absolutely do not want to have only one user account. Like XP and all other modern operating systems, Vista is a multi-user operating system with built-in system accounts such as Administrator, Default, and Guest. These accounts should be left alone as they are part of the operating system structure.
You particularly don't want only one user account with administrative privileges on Vista because the built-in Administrator account (normally only used in emergencies) is disabled by default. If you're running as Administrator for your daily work and that account gets corrupted, things will be Difficult. It isn't impossible to activate the built-in Administrator to rescue things, but it may be more work than you want to do. Best not to get into a bad situation to begin with.
The user account that is for your daily work should be a Standard user, with the extra administrative user (call it something like "CompAdmin" or "Tech" or the like) only there for elevation purposes. Running as a Standard user is best practice for security purposes and will help protect your computer from infection. After you create "CompAdmin", log into it and change your regular user account to Standard. Then log back into your regular account.
If you want to go directly to the Desktop and skip the Welcome Screen with the icons of user accounts, you can do this:
Start Orb>Search box>type: netplwiz [enter]
Click on Continue (or supply an administrator's password) when prompted by UAC
Uncheck the option "Users must enter a user name and password to use this computer". Select a user account to automatically log on by clicking on the desired account to highlight it and then hit OK. Enter the correct password for that user account (if there is one) when prompted. Leave it blank if there is no password (null).
MS-MVP - Elephant Boy Computers - Don't Panic!
Report abuse
Details (required):
Thank you.
Reported content has been submitted
3 people found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Question Info
Last updated March 25, 2025 Views 15,366 Applies to: