Category: Users and Profile Issues

Replace Windows profile for an existing user
article #1457, updated 1083 days ago

The scenario: a user has a corrupt Windows profile. We don’t want to delete the profile because it may have valuable data. We need to give the user a new one.

  1. Log into the PC as a different user, an administrator.
  2. Run regedit. Paste the following in the registry location bar near the top: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  3. And hit Enter. Then Find (Edit/Find, or Ctrl-F) the username of the user you are working on.
  4. In the left pane, rename the container to .OLD
  5. Rename the user’s folder in C:\Users to .OLD as well.
  6. Log off, and log on as the user.

Categories:      

==============

Set local user password to never expire
article #1349, updated 1808 days ago

This, in Powershell:

Set-LocalUser -Name "pcunlocker" -PasswordNeverExpires 1

Categories:      

==============

User spins forever trying to sign into Windows
article #1329, updated 1907 days ago

When you encounter a user account that spins forever trying to sign in on a computer that already has a local copy of their profile, here is a few steps to resolve the issues quickly without either data loss or the need to create a new Windows profile:

  1. Sign in on an account with Local Administrator rights
  2. Navigate to “C:\Users”
  3. Locate the profile folder of the user unable to sign in.
  4. Rename the folder (Usually I add “.old”)
  5. Sign out
  6. Sign in as the user who’s profile has not been working
  7. While signed in on this temporary profile, navigate back to “C:\Users”
  8. Rename their profile folder back to what it was originally
  9. Sign out
  10. You should now be able to sign in normally to that user with their profile intact.

Contributed by the excellent Joe Busby.

Categories:      

==============

Pin to Taskbar for All Users in Windows
article #1287, updated 2059 days ago

So we have a terminal server or other multi-user Windows machine, Windows 7/2008R2 or later. We want to pin one or more icons to the taskbar, for all users. We discover that this is not something extremely easy to do :-) We can, at least reasonably easily, set up the same taskbar icon set for all users, thusly:

  1. Log into the one machine, and set up the taskbar as you would like it to appear for all.
  2. Export the following registry key:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband]
    to a file named TaskBarPins.REG. Put it in a permanent folder outside of user space, e.g. C:\AutoSettings, it will be imported automatically at every login.
  3. Create SetTaskBarPins.VBS in C:\AutoSettings, containing the following text:
Option Explicit
On Error Resume Next
Dim objShell, ProgramFiles, sRegFile
Set objShell = CreateObject("WScript.Shell")
sRegFile = """C:\AutoSettings\SetTaskBarPins.REG"""
objShell.Run "Regedit.exe /s " & sRegFile, 0, True
Set objShell = Nothing
  1. Create a shortcut to C:\AutoSettings\SetTaskBarPins.VBS in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp.

The next time any user logs into this machine, nothing will appear to have been changed. But when they log off and then log on after that, their taskbar will be the same as the one you exported.

Categories:      

==============

Cannot log in as new user to Windows 7
article #1009, updated 2938 days ago

Sometimes it will happen that the Default profile is corrupt. This will make it impossible to log in on a PC as a new user, the system will be unable to create a new user profile. Here is a solution:

http://www.winhelponline.com/blog/fix-user-profile-service-failed-logon-new-user-profile-error-windows-7/

Categories:      

==============

Migrate User Profiles in Windows
article #901, updated 3291 days ago

Not tested yet, but looks very intriguing:

http://www.profilemigrator.com/e/pm/shop

Categories:      

==============

Delete user profiles entirely from command line
article #120, updated 3512 days ago

Currently a third-party app does it well:

https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/

DELPROF was part of the Server 2003 Resource Kit, also here:

http://www.microsoft.com/downloads/details.aspx?familyid=901a9b95-6063-4462-8150-360394e98e1e&displaylang=en

Categories:      

==============

Unlock user's AD account using CMD
article #743, updated 3707 days ago

Try:

NET USER <USERNAME> /DOMAIN /ACTIVE:YES

Categories:      

==============

Resolving a Temporary Profile Problem
article #376, updated 4033 days ago

Here is a detailed fix:

http://theonlinetutorials.com/how-to-resolve-windows-xp-temp-profile-problem.html

The gist of it is, one browses in ‘regedit’ to here:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList

and one will find that the GUID key for the profile, is suffixed ‘.bak’, and replaced. One needs to remove the replacement, rename the .bak removing the suffix, and restore the ‘state’ entry from ‘8100’ hex (which means temporary) to ‘100’ hex (normal).

If the profile itself is corrupt and the goal is to replace it altogether, just remove all of the keys with the username within, including the .BAK if it exists.

Categories:      

==============

Transfer Profiles from XP to Windows 7 - Windows Easy Transfer
article #147, updated 4622 days ago

This works quite well from XP to 7.  Does not transfer applications. 

http://windows.microsoft.com/en-us/windows7/products/features/windows-easy-transfer

Categories: