User profile Management under Windows (i)

Source: Internet
Author: User
Tags configuration settings to domain

User profile Definitions Save the user's work environment. Depending on your work environment, Windows supports three types of configuration files:

Local user profile

Roaming User Profiles

Force user Profile

In addition, the system provides support for the default local configuration file, the default domain profile, and so on.


One, local user profile

When the user first registers the computer, the system establishes a local profile for the user on the local disk. The user's work environment settings, such as the Start menu, documents, and so on, are stored in this folder. The user's work environment is set up using the contents of this folder when users are flexible at the next login.

Features: Users can modify their own configuration file content

1. folder where user profiles are stored

%systemdriver%\ User Folder

You should select Show hidden files, folders, and drives when viewing.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8A/90/wKioL1g0MYKQ522SAAHMd1GNi6M212.jpg-wh_500x0-wm_3 -wmp_4-s_1176449211.jpg "style=" Float:none; "title=" snapshot 1.jpg alt= "Wkiol1g0mykq522saahmd1gni6m212.jpg-wh_50"/>


Browse to the folder where the user name is located:

Some files with shortcut arrows, in essence, are some directory joins, that is, files linked to another location.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8A/90/wKioL1g0MYeQLp7tAAIgAzs2DBo225.jpg-wh_500x0-wm_3 -wmp_4-s_3226012191.jpg "style=" Float:none; "title=" snapshot 3.jpg alt= "Wkiol1g0myeqlp7taaigazs2dbo225.jpg-wh_50"/>

The user can enter dir/ad to display the join information in the command line state.

There is a <junction>, which is represented as a directory join, followed by the specific location of its link.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8A/95/wKioL1g0jXLgDvDCAAINxk50_zo126.jpg-wh_500x0-wm_3 -wmp_4-s_2863403591.jpg "title=" snapshot 031.jpg "alt=" Wkiol1g0jxlgdvdcaainxk50_zo126.jpg-wh_50 "/>

Browse to AppData and the results are as follows: These three folders also hold some information about the user.

Windows uses local and Locallow folders to store non-roaming application data (similar to registry local_machine) and some space-consuming application data that is too large to roam. The roaming folder is used to save roaming user application data, such as personalization settings for each user.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8A/94/wKiom1g0MYmy7MgrAADeWWo9SKs126.jpg-wh_500x0-wm_3 -wmp_4-s_360073070.jpg "style=" Float:none; "title=" snapshot 4.jpg alt= "Wkiom1g0mymy7mgraadewwo9sks126.jpg-wh_50"/>

Browse to the roaming folder:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8A/90/wKioL1g0MwjDHYQZAADNL-hfwyU333.jpg-wh_500x0-wm_3 -wmp_4-s_3808296498.jpg "style=" Float:none; "title=" snapshot 001.jpg "alt=" wkiol1g0mwjdhyqzaadnl-hfwyu333.jpg-wh_50 "/ >

Browse its Windows folder: This is where some of the user's Windows settings information is stored

such as the Start menu, SendTO (Send To), Libraries (library), etc., users can directly under these files related operations (such as creating folders, etc.) to change the user configuration settings.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8A/94/wKiom1g0MwvyaLk1AAFcLbbUnU8038.jpg-wh_500x0-wm_3 -wmp_4-s_1206042706.jpg "style=" Float:none; "title=" snapshot 002.jpg "alt=" wkiom1g0mwvyalk1aafclbbunu8038.jpg-wh_50 "/ >

The following is the contents of the Appdata\local file, temp user temporary folder, the user can delete the content under this file.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8A/90/wKioL1g0Mw_hgiCgAAEWHpkV8C0878.jpg-wh_500x0-wm_3 -wmp_4-s_2896781877.jpg "style=" Float:none; "title=" snapshot 003.jpg "alt=" wkiol1g0mw_hgicgaaewhpkv8c0878.jpg-wh_50 "/ >

2. View the type of user profile

Select the Settings button for the user profile under System properties:

You can view the configuration file name, size, type, status, and creation time.

If a user has more than one type of profile, you can also modify the period type (that is, what profile the user starts the next time)

The user can also copy the current profile to another user, which preserves the consistency of the configuration file

(After the creation of the mandatory configuration file, a copy of the configuration file is used)

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/94/wKiom1g0MYWzuLW6AAHTTka9j3g673.jpg-wh_500x0-wm_3 -wmp_4-s_528880888.jpg "title=" snapshot 2.jpg "alt=" wkiom1g0mywzulw6aahttka9j3g673.jpg-wh_50 "style=" float:none; "/>

3, the establishment of user configuration files

user profile settings are established when a user logs on to the computer for the first time. It is set up primarily by the%systemdriver%\ user \default (local default profile) and the%systemdriver%\programdata two folders

Note: In older versions of the operating system, these folders do not use this name, and the default user and all Users folders. For compatibility, the Windows 2008 and other operating systems also retain the two folders.


Second, roaming User configuration file

Local user profiles vary by computer. If a user wants to log on to any computer and is able to use the same profile (that is, the same work environment), it is necessary to use a roaming user profile or a mandatory user configuration file.

Features: Profile information is stored on a network server (not on the local computer); Only for domain users (because only domain users can log on to individual computers in the domain)

Roaming User Profiles (Roaming user profile): Because Domain users log on to any computer within the domain, they can have a unified working environment when they read the same roaming user profile to a network server. When the user logs off, the system saves the configuration file changes to the roaming user profile on the network for the next user logon.


Test environment: Server: Windows server r2,dcsrv01,dc,fromheart.com, used to store roaming user profiles

Client: Windows 7, join to Domain


Roaming user Profile setup process:

1. Create a shared folder

Create a folder on the server to hold the profile, share it as a profile, and set the share permissions to read/write permissions.

2. Set configuration file path

On the server (DC), use an administrator to log on to the computer, open Active Directory Users and Computers (Dsa.msc), select Users, and browse to the Profiles tab.

is a setting for the administrator himself.

Configuration file path: \\DCSrv01\ profile \administrator

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/90/wKioL1g0Mo2SyaKmAAGhJoIPbvg904.jpg-wh_500x0-wm_3 -wmp_4-s_3789826798.jpg "title=" snapshot 1.jpg "alt=" Wkiol1g0mo2syakmaaghjoipbvg904.jpg-wh_50 "/>

3. View Results

When a user logs on with any computer in the domain, you can see the following information:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8A/90/wKioL1g0M1rwTmFvAADZ2Y-taTs691.jpg-wh_500x0-wm_3 -wmp_4-s_3600505677.jpg "style=" Float:none; "title=" snapshot 004.jpg "alt=" wkiol1g0m1rwtmfvaadz2y-tats691.jpg-wh_50 "/ >

At this point the user has two types of profiles, and the user can change the profile type.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/90/wKioL1g0M1_SUCRqAAEBad4Jqw0621.jpg-wh_500x0-wm_3 -wmp_4-s_2370571313.jpg "style=" Float:none; "title=" snapshot 005.jpg "alt=" wkiol1g0m1_sucrqaaebad4jqw0621.jpg-wh_50 "/ >

At the same time, under the shared file of the server, the system automatically establishes a Administrator.v2 folder named 650) this.width=650; "Src=" http://s2.51cto.com/wyfs02/M00/8A/94/ Wkiom1g0m6utnftfaadurxoy2ei726.jpg-wh_500x0-wm_3-wmp_4-s_3032402056.jpg "style=" Float:none; "title=" Snapshot 2.jpg "alt= "Wkiom1g0m6utnftfaadurxoy2ei726.jpg-wh_50"/>


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/94/wKiom1g0M7HDXCkjAAFLZJK_giY886.jpg-wh_500x0-wm_3 -wmp_4-s_3821276872.jpg "style=" Float:none; "title=" snapshot 3.jpg alt= "Wkiom1g0m7hdxckjaaflzjk_giy886.jpg-wh_50"/>

4. User's handling of roaming user Profiles

If the user is logged on with a computer for the first time, it is empty under the pre-logon roaming configuration folder because the user has not previously logged on to any of the computers in the domain. At this time, when logging in, its working environment is set by default;

If the user logged on to this computer before, that is, logged in as a local user, although not logged in as a domain user (roaming user profile is empty), at this time the user logged in, their working environment is set by their local user profile;


If the roaming user profile on the network cannot be accessed due to a network failure, for reasons such as a domain user logging on, at this point:

If the user is the first time to log on with this computer, because there is no previous login, there is no local user profile, and the network roaming user profile is not accessible, the user will be set with default, when the user logs off, the system does not store profile information on the network, nor stored locally;

If a user has previously registered with this computer, there is a local user profile, at which time the user uses a local user profile to set up a working environment, and when the user logs off, the configuration file (change) is stored to the local profile. The next time a user logs on to a domain with this computer, even if the roaming user profile is accessible at this time, but because the local profile is newer, the user will still use the local user profile, but when the user logs off, the locally newer enabled profile is written to the roaming user profile on the network. For use by the next user login.


If the user has a local profile, a roaming profile, when the user logs on:

If it is newer locally, the local configuration file is read, if it is newer on the network server, just read on the network, and if the two are the same, the system uses local to improve the access speed.





This article is from the "Start from the Heart" blog, please be sure to keep this source http://ycrsjxy.blog.51cto.com/618627/1875640

User profile Management under Windows (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.