How to prevent folders from roaming with a profile in Windows 2000 (315415)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q315415

SUMMARY

This step-by-step article describes how to use a group policy to prevent specific folders that are contained in a roaming-user profile from being copied to the server.

A roaming-user profile is stored on a Windows 2000 Server-based computer and is loaded onto the client workstation when the user logs on. This profile defines the Windows 2000 environment, and includes all user-specific settings such as program items, screen colors, and network and printer connections. When the user logs off the computer, the profile is copied to the server computer.

You can use a group policy to prevent certain folders from being copied to the server when the user logs off the client computer.

back to the top

Create a Group Policy Object

You can modify an existing Group Policy object (GPO) or create a new one. To create a new GPO:
  1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  2. In the console tree, right-click your domain, and then click Properties.
  3. Click the Group Policy tab, and then click New.
  4. Type the name that you want to call this policy (for example, Modify Roaming Profile), and then press ENTER.
  5. Click Properties, and then click the Security tab.
  6. Click to clear the Apply Group Policy check box for the security groups that you want to prevent from having this policy applied. Click to select the Apply Group Policy check box for the groups to which you want to apply this policy. When you are finished, click OK.
back to the top

Exclude Folders from Roaming Profiles

Edit the GPO to exclude specific folders in roaming profiles:
  1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  2. In the console tree, right-click your domain, and then click Properties.
  3. Click the Group Policy tab, click the GPO that you want to work with, and then click Edit.
  4. Under User Configuration, expand Administrative Templates, expand System, and then click Logon/Logoff.
  5. In the Policy list, double-click Exclude directories in roaming profile.
  6. Click Enabled.
  7. In the Prevent the following directories from roaming with the profile box, type the appropriate folder names, separated by semicolons (;).

    NOTE: By default, Windows 2000 profiles are stored in the Documents and Settings\user name folder (where user name is the name of the user to whom the profile belongs) on the local computer. This is considered as the "root" folder of the profile, and is not included when you specify folders to exclude. For example, to prevent the desktop from roaming with the profile, type desktop in the Prevent the following directories from roaming with the profile box. Ensure that a semicolon separates each entry in the list.
  8. When you are finished excluding folders from roaming profiles, click OK.
  9. Close the Group Policy snap-in, click Close, and then quit the Active Directory Users and Computers snap-in.
back to the top


REFERENCES

For additional information about Group Policies, click Start, click Help, click the Index tab, type group policy in the Type in the keyword to find box, and then press ENTER.

For additional information about related topics, click the following article numbers to view the articles in the Microsoft Knowledge Base:

814592 How to prevent folders from roaming with a profile in Windows Server 2003

188692 How to prevent certain folders from uploading to central profile

back to the top






Modification Type:MinorLast Reviewed:1/25/2005
Keywords:kbenv kbHOWTOmaster kbnetwork KB315415 kbAudITPro