To customize a default user profile or a mandatory user profile, you must first customize the default user profile. Then, the default user profile can be copied to the appropriate shared folder to make that user profile either the default user profile or a mandatory user profile. So what you say? It's really different in Windows7, that's what.
How to customize a default user profile in Windows 7
You can customize the default user profile by using the following Copy Profile parameter in the Unattend.xml answer file that is passed to the Sysprep.exe tool:
Microsoft-Windows-Shell-Setup\CopyProfile
To do this, follow these steps:
- Use the administrator account or an account that has administrative privileges to log on to the computer.
- Configure the settings that you want to use in the profile. This includes desktop settings, favorites, and Start menu options.
- Create an Unattend.xml file that contains the Copy Profile parameter. By using this Copy Profile parameter, the settings of the user who is currently logged on are copied to the default user profile. This parameter must be set to "true" in the specialize pass. For example, the parameter must be as follows:
<CopyProfile>true</CopyProfile>
You can use the Windows System Image Manager tool to create the Unattend.xml file. The Windows System Image Manager tool is included as part of the Windows Automated Installation Kit (Windows AIK). For more information about Windows AIK, visit the following Microsoft Web site:
- At a command prompt, type the following command, and then press ENTER:
sysprep.exe /generalize /unattend: unattend.xml
Sysprep.exe is located in the %systemdrive%\Windows\System32\sysprep directory. For more information about Sysprep, visit the following Microsoft Web site:
Note You must use the /generalize switch so that the Copy Profile parameter can be used. The /unattend option is used to point to the desired Unattend.xml file. Therefore, in this example, the Unattend.xml file is located in the sysprep directory.
How to turn the default user profile into a network default user profile in Windows 7
- Log on to the computer that has the customized default user profile by using an account that has administrative privileges.
- Use the Run command to connect to the NETLOGON shared folder of a domain controller. For example, the path resembles the following:
\\<Server_name>\NETLOGON
- Create a new folder in the NETLOGON shared folder, and name it Default User.v2.
- Click Start from the Start menu, right-click Computer, click Properties, and then click Advanced system settings.
- Under User Profiles, click Settings. The User Profiles dialog box shows a list of profiles that are stored on the computer.
- Select Default Profile, and then click Copy To.
- In the Copy profile to text box, type the network path of the Windows 7 default user profile folder that you created in step 3. For example, type the following path:
\\<Server_name>\NETLOGON\Default User.v2
- Under Permitted to use, click Change, type the name Everyone, and then click OK.
- Click OK to start to copy the profile.
- Log off the computer when the copying process is completed.
How to turn the default user profile into a mandatory user profile in Windows 7
You can configure the default local user profile to become a mandatory profile. By doing this, you can have one central profile that is used by all users. To do this, you have to prepare the mandatory profile location, copy the local default user profile to the mandatory profile location, and then configure a user’s profile location to point to the mandatory profile.
Step 1: Prepare the mandatory profile location
- On a central file server, create a new folder or use an existing folder that you use for roaming user profiles. For example, you can use the following folder name "Profiles":
\Profiles
- If you are creating a new folder, share the folder by using a name that is suitable for your organization.
Note The share permissions for shared folders that contain roaming user profiles must enable Full Control permissions for the Authenticated Users group. The share permissions for folders that are dedicated to storing mandatory user profiles should enable Read permissions for the Authenticated Users group and enable Full Control permissions for the Administrators group.
- Create a new folder in the folder that is created or identified in step 1a. The name of this new folder should start with the logon name of the user account if the mandatory user profile is for a specific user. If the mandatory user profile is for more than one user, name it accordingly. For example, the following domain has a mandatory profile, and the folder name begins with the word "mandatory":
\Profiles\mandatory
- Finish naming the folder by adding .v2 after the name. The example that is used in step 1c has the folder name "mandatory." Therefore, the final name of the following folder for this user is "mandatory.v2":
\Profiles\mandatory.v2
Step 2: Copy the default user profile to the mandatory profile location
- Log on to the computer that has the customized local default user profile by using an account that has administrative privileges.
- Click Start from the Start menu, right-click Computer, click Properties, and then click Advanced System Settings.
- Under User Profiles, click Settings. The User Profiles dialog box shows a list of profiles that are stored on the computer.
- Select Default Profile, and then click Copy To.
- In the Copy profile to text box, type the network path of the Windows 7 default user folder that you created in the "step 1: Prepare the mandatory profile location" section. For example, type the following path:
\\<Server_name>\Profiles\mandatory.v2
- Under Permitted to use, click Change, type the name Everyone, and then click OK.
- Click OK to start to copy the profile.
- Log off the computer when the copying process is completed.
- On the central file server, locate the folder that you created in the "step 1: Prepare the mandatory profile location" section."
- Click Organize, and then click Folder options.
- Click the View tab, click to select the Show hidden files and folders check box, click to clear the Hide extensions for known file types check box, click to clear the Hide protected operating system files check box, click Yes to dismiss the warning, and then click OK to apply the changes and close the dialog box.
- Locate and right-click the NTUSER.DAT file, click Rename, change the name of the file to NTUSER.MAN, and then press ENTER.
Note Previously it was possible to copy profiles by using the System Control Panel Item. This copy to default profile option is now disabled as it could add data that made the profile unusable.
Step3: Prepare a user account
- As a domain administrator, open the Active Directory Users and Computers management console from a Windows Server 2008 R2 or Windows Server 2008 computer.
- Right-click the user account to which you want to apply the mandatory user profile, and then click Properties.
- Click the Profile tab, type the network path that you created in the "step 1: Prepare the mandatory profile location" section in the profile path text box. However, do not add ".v2" at the end. In our example, the path would be as follows:
\\<Server_name>\Profiles\mandatory
- Click OK, and then close the Active Directory Users and Computers management console.
The user will now use the customized mandatory user profile.
Source: http://support.microsoft.com/kb/973289
|