You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

A Windows user profile defines the look and feel of the desktop environment configured for a particular user. It contains various settings such as desktop colors, backgrounds, icon placement, and Windows Explorer settings. The default profile is a template profile that is used when a user logs on to a Windows computer for the first time. The default profile can be customized by the image creator.

Windows 7 and Windows Server 2008

Microsoft does not support copying profiles under Windows 7 and Windows Server 2008. The "Copy To" button is grayed out for all profiles except the default profile. The only supported method is built into Sysprep and this method is itself very problematic. The following steps are not supported or recommended by Microsoft but seem to work:

Enable Desktop Background

  1. Download and edit the RDP file for your imaging reservation from the VCL website to allow desktop backgrounds or else you won’t be able to change the desktop background color
    1. Right-click on the .rdp file and select Edit
    2. Click on the Experience tab
    3. Select LAN (10 Mbps or higher)
    4. Make sure the checkbox next to Desktop background is enabled

    5. Click on the General tab
    6. Click Save
  2. Login to the VCL reservation as Administrator
  3. Configure Windows Explorer to show hidden and system file
    1. Open Windows Explorer
    2. Click Organize > Folder and search options
    3. Select the View tab
    4. Select the radio button next to Show hidden files, folders, and drives
    5. Click OK

Create a Profile Setup Account

  1. Create a new local user account named ProfileSetup (Note: the name does not matter but should be something that would not match another string in the stock Windows registry. You will be searching the registry for the name of the user you use to configure the profile. Using a unique name will make this easier.)
    1. Open Control Panel > Add or remove user accounts
    2. If there is already an account named ProfileSetup and you want to start over with a new account, delete the existing account and then create a new one:
      1. Click on the ProfileSetup user
      2. Click Delete the account
      3. Click Delete Files
      4. Click Delete Account
    3. Click Create a new account
    4. Enter the account name: ProfileSetup
    5. Click the radio button next to Administrator
    6. Click Create Account
  2. Set the password for the ProfileSetup account
    1. Click on the ProfileSetup account
    2. Click Create a password
    3. Enter the password and click Create password

Configure the User Profile for the Profile Setup Account

  1. Logout as Administrator and login as ProfileSetup
  2. Customize the user profile while logged in as ProfileSetup account (configure the desktop background, arrange icons, etc).  The following tips are optional:
    1. Download and run Autoruns.  This free utility will show you all of the things that run when the computer boots, a user logs in, etc. There are several things that can probably be disabled such as Windows Mail.

Copy the Customized Profile to Default

  1. Logout as ProfileSetup and login as Administrator
  2. Rename the ProfileSetup user profile folder to Default:
    1. Open a Windows Explorer window and navigate to C:\Users
    2. Rename the original default profile folder: C:\Users\Default -> C:\Users\DefaultOriginal
    3. Rename the customized profile folder: C:\Users\ProfileSetup -> C:\Users\Default
      Note: if you are unable to rename the ProfileSetup folder, reboot the computer, login as Administrator, and try again. Run the following command from a command prompt to reboot the computer:
      shutdown.exe -r -f -t 0
  3. Copy the customized profile folder using the Windows profile copying utility:
    Note: Windows 7 only allows its built-in profile copying utility to be used to copy the default profile, not profiles of other user accounts. The profile you customized now resides in the default profile location (C:\Users\Default) so the utility can now be used to make a copy of it.
    1. Open Control Panel > System and Security > System
    2. Click Advanced system settings on the left
    3. Click the Settings... button under User Profiles
    4. Highlight Default Profile
    5. Click Copy To…
      1. Copy profile to: C:\Users\DefaultCopy
      2. Click Change under Permitted to use
      3. Enter Everyone and click OK
      4. Click OK
  4. Replace the original customized profile directory with the one created by the Windows profile copying utility
    Note: C:\Users\Default contains the original customized profile. The same profile also resides in C:\Users\DefaultCopy. The DefaultCopy folder is the one which has had the Windows profile copying utility transformations applied to it.
    1. Open Windows Explorer
    2. Delete the “C:\Users\Default folder
    3. Rename the folder: C:\UsersDefaultCopy -> C:\Users\Default
  5. Delete the ProfileSetup account:
    1. Open Control Panel > Add or remove user accounts
    2. Click on the ProfileSetup account
    3. Click Delete the account
    4. Click Delete Files
    5. Click Delete Account

Clean the Registry for the Customized Profile

  1. While logged in as Administrator
  2. Run regedit.exe
  3. Select the HKEY_USERS hive:
  4. Click the File menu and select Load Hive:
  5. Browse to C:\Users\Default
  6. Enter ntuser.dat in the File name: field (Note: this file is hidden so it normally is not displayed in the list of files)
  7. Enter a Key Name: DU

  8. Navigate to: HKEY_USERS\DU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

    You will probably see the path to the ProfileSetup account's original user profile directory saved in many of the values as highlighted below.  This can cause problems with programs which use these values.  For example, a user may save a file to the Desktop from within a program, but the saved file doesn't appear on the user's desktop.
  9. Delete all of the values under Shell Folders except for (Default) and "!Do not use this registry key":
  10. Select the DU key in the left pane
  11. Click on the Edit menu and select Find...
  12. Search the DU key for the string ProfileSetup.  In general, you want to clean up everything that references the user named ProfileSetup and the C:\Users\ProfileSetup directory.  There will probably be several places under DU where these are saved.  You will need to analyze each match.  Most matches won't cause problems.  Some will such as the Shell Folders key you previously cleaned up.
  13. IMPORTANT: Unload the Default user registry hive:
    1. Select the DU key
    2. Click the File menu and select Unload hive...

Any new local user accounts created on the computer should receive a user profile configured with the customizations you made to the Profile account.

Configure the User Account Picture (Optional)

  1. Navigate to the directory: C:\ProgramData\Microsoft\User Account Pictures
    (Note: you will need to enable "Show hidden files" to see this directory)
  2. Rename user.bmp to something such as user-original.bmp
  3. Copy the .bmp file you want used as the account picture to this directory and name it user.bmp

Force the Desktop Background to Appear on Windows 7 & Windows Server 2008 (Optional)

  1. Run gpedit.msc
    1. Navigate to User Configuration > Windows Settings > Scripts
    2. Double-click Logon
    3. Click Add
      1. Script Name: reg.exe
      2. Script Parameters: DELETE "HKCU\Remote\1\Control Panel\Desktop" /v Wallpaper /f
    4. Click OK twice
    5. Run gpupdate.exe /force

Windows XP and Windows Server 2003

Create a Profile Configuration Account

  1. While logged on as Administrator , create a local Windows user account named Profile and add it to the Administrators group
  2. Configure the profile:
    1. Log on as Profile
    2. Make desired profile, desktop, and application changes
    3. Log out

Copy the Customized Profile to "Default User"

  1. Log back on as Administrator
  2. Rename the C:\Documents and Settings\Default User directory to something like Default User Original
  3. Open the Control Panel
  4. Open System Properties
  5. Select the Advanced tab
  6. Click the Settings button next to User Profiles
  7. Select Profile's profile, click Copy To :
    Copy profile to: C:\Documents and Settings\Default User
    Permitted to use: add the Everyone group
  8. Click OK

Clean up the Profile Configuration Account

  1. Delete the Profile user
  2. Delete C:\Documents and Settings\Profile

You can then create another account and log in using it to make sure your profile settings take affect for new users. Be sure to delete it once you're done testing.

 

 

  • No labels