Fix a corrupted user profile

Fix a corrupted user profile

Applies to Windows 7

Your user profile is a collection of settings that make the computer look and work the way you want it to. It contains your settings for desktop backgrounds, screen savers, pointer preferences, sound settings, and other features. User profiles ensure that your personal preferences are used whenever you log on to Windows. If you tried to log on to Windows and received an error message telling you that your user profile might be corrupted, you can try to repair it. You will need to create a new profile, and then copy the files from the existing profile to the new one.

Before you create a new profile

Occasionally, Windows might not read your user profile correctly—for example, if your antivirus software is scanning your computer while you try to log on. Before you create a new user profile, try restarting your computer and logging on with your user account again.

To create a new user profile

To create a new user profile, you must first create a new user account. When the account is created, a profile is also created.

The steps that you should follow will vary, depending on whether your computer is on a domain or a workgroup. To find out, see "To check if your computer is on a workgroup or domain" in What is the difference between a domain, a workgroup, and a homegroup?

Show all

Fix a corrupted user profileMy computer is on a domain

  1. Open Microsoft Management Console by clicking the Start button Fix a corrupted user profile, typing mmc into the search box, and then pressing Enter.‌ Fix a corrupted user profile If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  2. In the left pane of Microsoft Management Console, click Local Users and Groups.

    If you don't see Local Users and Groups

    If you don't see Local Users and Groups, it's probably because that snap-in hasn't been added to Microsoft Management Console. Follow these steps to install it:

    1. In Microsoft Management Console, click the File menu, and then click Add/Remove Snap-in.

    2. Click  Local Users and Groups, and then click Add.

    3. Click Local computer, click Finish, and then click OK.

  3. Click the Users folder.

  4. Click the Action menu, and then click New User.

  5. Type the appropriate information in the dialog box, and then click Create.

  6. When you are finished creating user accounts, click Close.

Fix a corrupted user profileMy computer is in a workgroup

  1. Open User Accounts by clicking the Start button Fix a corrupted user profile, clicking Control Panel, clicking User Accounts and Family Safety, and then clicking User Accounts.
  2. Click Manage another account. Fix a corrupted user profile If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  3. Click Create a new account.

  4. Type the name you want to give the user account, click an account type, and then click Create Account.

To copy files to the new user profile

After you create the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to complete these steps, including the new account you just created.

  1. Log on as a user other than the new user you just created or the user that you want to copy files from.

  2. Open the My Documents folder by clicking the Start button Fix a corrupted user profile, and then clicking Computer. Double-click the hard disk drive that Windows is installed on (it's usually your C: drive), double-click Users, double-click the folder with the name of your account, and then double-click My Documents.

  3. Click the Tools menu, and then click Folder Options.

    If you don't see the Tools menu, press Alt.

  4. Click the View tab, and then click Show hidden files,  folders, and drives.

  5. Clear the Hide protected operating system files check box, click Yes to confirm, and then click OK.

  6. Locate the C:\Users\Old_Username folder, where C is the drive that Windows is installed on, and Old_Username is the name of the profile you want to copy files from.

  7. Select all of the files and folders in this folder, except the following files:

    • Ntuser.dat

    • Ntuser.dat.log

    • Ntuser.ini

  8. Click the Edit menu, and then click Copy.

    If you don't see the Edit menu, press Alt.

  9. Locate the C:\Users\New_Username folder, where C is the drive that Windows is installed on, and New_Username is the name of the new user profile you created.

  10. Click the Edit menu, and then click Paste.

    If you don't see the Edit menu, press Alt.

  11. Log off, and then log back on as the new user.

    If you have e‑mail messages in an e‑mail program, you must import your e‑mail messages and addresses to the new user profile before you delete the old profile. If everything is working properly, you can delete the old profile.

If the steps above do not fix the problem,  you should contact your customer support provider for assistance.  To find additional information about customer support options that apply to this computer, click the Start button Fix a corrupted user profile, click Help and Support, and then click the More support options link at the bottom of the Help window.

上一篇:理解OAuth 2.0 - 阮一峰的网络日志


下一篇:8086汇编语言学习(二) 8086汇编开发环境搭建和Debug模式介绍