Solved

Delete specific user profile on multiple 2003 servers

Posted on 2007-11-30
4
593 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

617 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