Advertisement
Guest User

login fix

a guest
Nov 25th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. 1. Log into another user account with administrative privileges. If you neglected to make an extra administrative account do Steps 2-3. Otherwise continue at Step 4. Also see the general information about setting up user accounts in Vista at the end of this post.
  2.  
  3. 2. 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.
  4.  
  5. 3. 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:
  6.  
  7. net user administrator /active:yes [enter]
  8.  
  9. [Note: Do not type the brackets!]
  10.  
  11.  
  12. 4. 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 5.
  13.  
  14. 5. 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:
  15.  
  16. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  17.  
  18. There is one line for each profile. If a profile is bad, check:
  19.  
  20. a) That the key name doesn't end in ".bak" (remove .bak if there)
  21. b) That the RefCount value is 0 (change it if different)
  22. c) That the State value is 0 (change if different)
  23.  
  24. Make any necessary changes, close Regedit and try to log in as that user.
  25.  
  26. 6. 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!
  27.  
  28. 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:
  29.  
  30. Start Orb>Search box>type: cmd
  31. 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:
  32.  
  33. net user administrator /active:no [enter]
  34.  
  35. Exit the command prompt.
  36.  
  37. General Recommendations For Setting Up Users In Vista
  38.  
  39. 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.
  40.  
  41. 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.
  42.  
  43. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement