Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Managing Windows 7 in a Domain : Understanding User Profiles (part 1) - Standard Profiles & Roaming Profiles

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/6/2011 6:49:31 PM
A user profile is a set of data that is used to re-create the user's environment each time a user logs on. It includes several folders such as Contacts, Cookies, Desktop, Downloads, Favorites, and more. It also includes user-specific Registry settings.

As an example, Bob could use a Windows 7 system and have it configured with a left-hand mouse, the Windows 7 Landscapes theme, a weather gadget on his desktop, and several drives mapped to network shares he uses regularly. Each time Bob logs on, these settings are re-created from his profile. Sally could use the same computer with a different user account. She can reconfigure all of these settings, and they will be re-created from her profile each time she logs on, without affecting the settings for Bob.

Windows 7 profiles are stored in the %systemroot%\Users folder by default. The Users folder includes the standard profiles of any user who has ever logged on to the system and also the All Users profile and the Default User profile.


All Users

The All Users profile holds settings that affect all users. As an example, when you install an application, you are often prompted to choose to allow all users access to the program. When you select All Users, the application modifies the All Users profile, ensuring the application is available to any user who logs on to the system.


Default User

This profile is used when a user first logs on to a system. Windows 7 will copy the Default User profile to a new folder named with the user's logon name. If Bob logs on, a folder is created named Bob and includes all the data from the Default User profile. This new profile is used to re-create the same environment for the user each time Bob logs on.

There are many differences in how profiles are implemented in Windows XP and Windows 7. The changes occurred between Windows XP and Windows Vista. For example, in Windows XP the profile was located under the %systemroot\Documents And Settings\ folder. This was changed to %systemroot%\Users\ in Windows Vista and Windows 7.


If you look in the %systemroot%\Users folder, you won't see the Default User folder, but it's there—it's just hidden. By default, the only folders that a user will see in the %systemroot%\Users\ folder are the Public folder and the profile folders of any users who have logged on. There are many hidden and system-protected folders that don't show by default, and you can follow these steps to show them:

  1. Launch Windows Explorer and browse to the %systemroot%\Users\ folder.

  2. Click Organize => Folder And Search Options.

  3. Select the View tab.

  4. Select Show Hidden Files And Folders.

  5. Deselect Hide Protected Operating System Files. When prompted, if you're sure you want to display these files, click Yes. Click OK.

You will now see the All Users folder, the Default User folder, and some other folders.

1. Standard Profiles

Profiles stored in the %systemroot%\Users\username folder are referred to as local user profiles or standard profiles. The profile includes several folders and a Registry hive. Many of the folders and data are system files and hidden by default.

Figure 1 shows the user profile with hidden and system files showing.

Figure 1. User profile folder


Folders

The folders hold data and settings needed by the user. These include desktop icons and shortcuts, links and shortcuts to other folders, startup applications, and more.


Registry hive

The HKEY_CURRENT_USER portion of the Registry holds user-defined settings for the desktop, applications, printers, and more. These are stored in a file named ntuser.dat.

2. Roaming Profiles

Local user profiles work great if a user logs on to the same system all the time. However, in some organizations users may frequently log on to different systems. Mapped network drives, shortcuts on the desktop, and other elements of the user's profile are often useful if they're available to a user no matter where the user logs on. Roaming profiles can be implemented to ensure the same profile is available to a user no matter which computer is used.

Figure 2 shows how roaming profiles are used. A folder is shared on a server that is available to the user on the network, and the user's account is then configured to use this share for the profile.

When the user logs on to a computer, the profile is retrieved from the network share and copied onto the local computer. If the user makes any changes, these changes are copied up to the roaming profile on the network share. If a user then moves to a different computer and logs on, the profile is copied down to the different computer.

Figure 2. Using roaming profiles in a domain

Roaming profiles can be implemented only in a domain. The two steps used to create a roaming profile are as follows:


1. Create a share on a server.

This share needs to be accessible to users using the UNC path (\\ServerName\ShareName). If more than one user will use this share, the Authenticated Users group should be granted Full Control. It's not necessary to create the folder for each user because this can be created automatically.


2. Modify the domain user account.

The Profile tab of the user account Properties page includes a Profile Path text box. The UNC path to the share is added here and appended with the %UserName% variable, giving a full path of \\ServerName\ShareName\%UserName%. When the user logs on, a folder will be created within the share with the appropriate permissions for the user to access the folder.


Exercise: Implementing Roaming Profiles

  1. Start the domain controller and log on.

  2. Create a shared folder to store the user profiles with the following steps:

    1. Start Windows Explorer by clicking Start => Computer.

    2. Double-click the C: drive. Right-click the main Windows pane and click New => Folder. Name the folder Profiles or another name that matches your company's needs.

    3. Select Share from the Windows Explorer toolbar.

    4. Type Authenticated Users in the text box, and click Add. (You can also click Find And Search and use the Active Directory search tool to locate any group.) Change Reader to Contributor.

    5. Click Share. Click Done.

  3. Launch Active Directory Users and Computers by clicking Start => Administrative Tools => Active Directory Users And Computers.

  4. Locate a user account. Right-click the user account and click Properties.

  5. Select the Profile tab. Enter the UNC path to the share in the Profile Path text box, as shown in the following graphic. For my test bed, I created the Profiles share on DC1, so the full path is \\DC1\Profiles\%UserName%. Click OK.




If you look in the Profiles folder now, you won't see anything. However, the next time the user logs on, a folder will be created for the user in the UNC path. Figure 9.16 shows an example of what this looks like for a user. Notice that since the %UserName% variable was used, the folder was created using the user name. The V2 indicates to the operating system that this roaming profile is using the newer format of profiles that was implemented with Windows Vista.

The operating system also configures the NTFS permissions for the folder. The user and the system both have full control of the folder, but no other users are granted any access to the data in the folder.

Figure 3. Roaming profiles created for a user
Other -----------------
- Managing Windows 7 in a Domain : Identifying and Resolving Logon Issues
- Managing Windows 7 in a Domain : Authentication vs Authorization
- Managing Windows 7 in a Domain : Joining a Domain
- Accessing Resources on a Network : Identifying and Resolving Network Printer Issues
- Accessing Resources on a Network : Understanding Permissions (part 2)
- Accessing Resources on a Network : Understanding Permissions (part 1) - SIDs, DACLs & NTFS
- Accessing Network Resources (part 3) - Installing and Sharing Printers on Windows 7 & Connecting to a Shared Printer
- Accessing Network Resources (part 2) - Working with Printers on Windows 7
- Accessing Network Resources (part 1) - Pointing to Network Resources & Creating Shares on Windows 7
- Networking with Windows 7 : Troubleshooting Network Connectivity Problems
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server