Solved

Delete specific user profile on multiple 2003 servers

Posted on 2007-11-30
4
589 Views
Last Modified: 2013-12-05
Hi,
We have a problem where the printing has stopped from an application and we have found that deleting and recreating the service account profile fixes the problem.

Therefore I need to delete a profile called PeakMobile on 180 domain controllers and am looking to be able to script it. Searching EE there have been a few suggestions to use MS delprof which is OK to delete profiles inactive for a certain period, but you cannot specify a specific profile to delete.

Any suggestions?

Open in new window

0
Comment
Question by:dmarch100
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 250 total points
ID: 20381181
For 45 Euros, this tool is worth the money.

http://www.no-nonsens.nl/products/remoteprofilecleaner/remoteprofilecleaner.html?phpid=download

The time this will save you will pay for the tool.
0
 
LVL 3

Assisted Solution

by:top_gizmo
top_gizmo earned 125 total points
ID: 20382023
If you just want to remove the profile and not a local user account you can just script deleting the profile folder.

I found but have not tested this utility that does what you want:

http://www.ctrl-alt-del.com.au/files/RemProf.zip

If you want to delete a local account you can use the net user comamnd.

Net User UserName /Delete

0
 
LVL 51

Assisted Solution

by:Netman66
Netman66 earned 250 total points
ID: 20382061
Just deleting the folder is NOT the correct way to accomplish this.  There are registry entries that need removing also.

0
 
LVL 22

Assisted Solution

by:cj_1969
cj_1969 earned 125 total points
ID: 20384212
write it yourself to do what you want.
First, make a list of the servers, a simple list in a text file is all you need.
If you are accessing service account profiles then you would need to stop any services using the account first.  You can use sysinternal PSTools to remotely stop the service(s).

Then delete the profile directory ... you could also look to script the removal of the profile info from the registry, if you can get the UID for the account then it should be easy enough.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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