Remove roaming profiles from a lot of users (how to??)

Posted on 2011-10-07
Last Modified: 2012-05-12
We have several hundred users that all have roaming profiles.  Well the days of them sharing computers are long gone - but now we have the task of removing the roaming profiles for everyone...  what's the best way to do that?  Short of going through each profile (would take hours to do) and removing their roaming profile path.

Any script to remove from all users in a specific OU?
Question by:Mystical_Ice
    LVL 39

    Accepted Solution

    Hi, you have 2 native solutions for that.

    1) use Active Directory Users and Computers console. OPen it, go to OU where those users reside, select them all and click right mouse button on selected items. Go to "Profile" tab and make changes there

    2) you can use DS Tools for that on a DC or any workstation with Administrative Tools installed. Run this command in command-line

    dsquery user "ou=OULocation,dc=domain,dc=local" -name * -limit 0 | dsmod user -profile ""

    it will clear all users profile in specified OU

    LVL 24

    Expert Comment

    The easiest way to remove the roaming profile for users is to go to Active Directory Users and Computers and find the users you want to change.

    Open their properties and go to the profile tab. Simply delete everything in the profile path text box and the next time the users log in the computer will use the local profile on the computer.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
    Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now