User profile Management under Windows (ii)

Source: Internet
Author: User

continued user Profile Management under Windows (i)

Third, mandatory user configuration file

The mandatory user profile is also a roaming user profile, but it is read-only and cannot be modified by the user.

In general, the contents of this setup file are set by the system administrator beforehand.

To Create a process:

In the actual production environment, the system management will generally establish a temporary user login, according to the actual need to modify their work environment, after logging off the user, the user's profile as a template, copied to the user needs to set mandatory user profile users use.

To simplify the operation, the following is copied directly from the managed configuration file.

In Windows 2008, the "Copy to" button is available for use directly in the previous operating system. However, in Windows 2008, this button cannot be used directly, and users can download a program called Windows Enabler from the network to activate the button.


Using Active Directory Users and Computers, first set up a test user testuser;

Select the profile and select "Copy to" .....

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8A/94/wKiom1g0NCyxI0V2AADkKDZjadE624.jpg-wh_500x0-wm_3 -wmp_4-s_1036524930.jpg "style=" Float:none; "title=" snapshot 006.jpg "alt=" wkiom1g0ncyxi0v2aadkkdzjade624.jpg-wh_50 "/ >

In copy profile to: Enter the path where you want to store the mandatory configuration file (note the following. V2 "must be attached, this folder does not need to be established in advance)

Under Allow use, select Change to select the user who is using this profile.


650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/90/wKioL1g0NC_AB07LAADRGR0N3D0808.jpg-wh_500x0-wm_3 -wmp_4-s_1356656143.jpg "style=" Float:none; "title=" snapshot 007.jpg "alt=" wkiol1g0nc_ab07laadrgr0n3d0808.jpg-wh_50 "/ >

View folder results.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/94/wKiom1g0NDGiq68TAADCpkS6Mi4786.jpg-wh_500x0-wm_3 -wmp_4-s_3209137755.jpg "style=" Float:none; "title=" snapshot 008.jpg "alt=" wkiom1g0ndgiq68taadcpks6mi4786.jpg-wh_50 "/ >

Modify the hidden file Ntuser.dat of the directory to Ntuser.man.

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

Under Active Directory Users and Computers, modify the user's profile path, such as.

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

On any computer, log on as testuser to view the results.

, the user's configuration file type is mandatory.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8A/94/wKiom1g0NEPRTjUvAADJMUeH2So913.jpg-wh_500x0-wm_3 -wmp_4-s_3635659822.jpg "title=" snapshot 013.jpg "alt=" wkiom1g0neprtjuvaadjmueh2so913.jpg-wh_50 "style=" float:none; "/ >

Users can make some changes, then log off, re-login, and see the effect.


Iv. Customizing the default configuration file

Administrators can customize this file to allow all local users or all domain users to log on for the first time in a unified working environment

Method: Copy the profile of a custom user to the%systemdrive%\users\default configuration folder, and note that the user should be allowed to be everyone.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/94/wKiom1g0NDuyzQ9zAADLWJw5UPQ096.jpg-wh_500x0-wm_3 -wmp_4-s_2721470408.jpg "style=" Float:none; "title=" snapshot 011.jpg "alt=" wkiom1g0nduyzq9zaadlwjw5upq096.jpg-wh_50 "/ >

V. Default configuration file for custom domains

If the domain controller shared folder has the default User.v2 folder under Netlogon, the domain profile is used when the domain user logs on for the first time.

The Netlogon share is mapped to the%systemroot%\sysvol\sysvol\ domain name \scripts folder on the DC

Administrators can create a unified domain default profile by copying it, noting that the user should be allowed to be everyone.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/90/wKioL1g0ND6j0Yh5AADSRdfxGd8591.jpg-wh_500x0-wm_3 -wmp_4-s_1507421171.jpg "style=" Float:none; "title=" snapshot 012.jpg "alt=" wkiol1g0nd6j0yh5aadsrdfxgd8591.jpg-wh_50 "/ >

VI. User home folder

Users can point their home folders to a folder under the server share so that users cannot log on from any computer and can use these private files.

Method of Establishment:

1, first set up a shared folder on the server (such as the name "Home folder"), give everyone read/write permissions;

2, then in this shared folder for each user to establish a private folder (the user's own home folder), such as testuser to establish a folder TestUser, only give the user the full control of their own permissions.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8A/90/wKioL1g0NEviiRITAAHWOiaRB_Y493.jpg-wh_500x0-wm_3 -wmp_4-s_1829934792.jpg "style=" Float:none; "title=" snapshot 014.jpg "alt=" wkiol1g0neviiritaahwoiarb_y493.jpg-wh_50 "/ >

3, on the DC, through the Active Directory Users and Computers, open the User's Properties dialog box, set their home folder to point to the server's shared folder, \\DCSRv01\ home folder \testuser, and mapped to Z disk

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8A/90/wKioL1g0NE2Dq-FZAAC-HLq1A6o897.jpg-wh_500x0-wm_3 -wmp_4-s_1015919790.jpg "style=" Float:none; "title=" snapshot 015.jpg "alt=" wkiol1g0ne2dq-fzaac-hlq1a6o897.jpg-wh_50 "/ >

Note In, if you customize the local path, you need to specify the local computer's disk, and you cannot use the UNC network path.

4, test results. Log on to the domain as testuser, as the result.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8A/94/wKiom1g0NFHxydj2AAEzbJO_eTU706.jpg-wh_500x0-wm_3 -wmp_4-s_4083909821.jpg "style=" Float:none; "title=" snapshot 17.jpg alt= "Wkiom1g0nfhxydj2aaezbjo_etu706.jpg-wh_50"/>

Vii. logon scripts

Is the user login will automatically run the program, can be bat, CMD, EXE, VBS, JS files.

Operation Method:

1. Create a script file Logon.vbs

File content: WScript.Echo "Yingcheng City and country Home Insurance Bureau welcome you!" "

2. Copy This script file to the Netlogon shared file

Note: If you are a domain user, you need to copy this file to a shared folder on the DC under Netlogon;

If you want to use it for local users, you need to set up the Netlogon folder on the local computer before copying

3. Specify user Registration Script

In the User Properties option, enter the file name of the logon script: Logon.vbs

Note When you enter a file name, you can take a relative path, that is, a subfolder can be created in the shared folder to hold the script file. such as Testuser\logon. Vbs. This allows you to specify a different script file for different users.


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

User profile Management under Windows (ii)

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.