Link to home
Start Free TrialLog in
Avatar of mwDev
mwDev

asked on

How to delete multiple user profiles at once on 2008R2?

Hello,

I understand that in 2008 that you cannot just delete a users's profile directory from C:\Users as it causes issues with 2008 R2 and that you must delete them from the System/Advanced/User Profiles window.

Does anyone know how to delete multiple profiles at once safely? The mentioned window only allows one at a time.
Avatar of myhc
myhc

You can just delete the profile, but there is a place in the registry that also need to be deleted. once this is done, then your ready.  

Now the issue is the information in a red folder in the top draw of my desk at work.  Sorry.

if someone else hasn't completed, i will post reg tomorrow.
p.s this is the same for windows7
In addition to MYHC comment:

 Posted on March 30th, 2009 in Microsoft,Server 2003,Server 2008,Vista,Windows 7,Windows XP by Gil Kreslavsky

To clear user local profile via registry :

    Press on Start > Run >Regedit
    Navigate to the following registry key :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
    Under ProfileList navigate to  binary key’s like this :S-1-5-21-3656904587-1668747452-4095529-500
    On the right side under  ProfileImagePath you’’ll see the username and profile path.
    Chose the one with the desired user and delete the long reg key like :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
Avatar of mwDev

ASKER

It still puts me manually deleting a bunch of registry keys one by one though. I was hoping there was a way to auto-remove them aside from the default and local admin for example.
thank you thiagotietze, Forgot to get info and was about to go find it again.
Avatar of mwDev

ASKER

Still looking for an easy way to bulk-delete the users!
ASKER CERTIFIED SOLUTION
Avatar of thiagotietze
thiagotietze

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mwDev

ASKER

Thanks for your reply. Yes its a Terminal server on a domain.

I'll check out those policies. I appreciate your input!
Avatar of Darius Ghassem
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.