Solved

Remprof Will not Delete User Profiles Windows 7

Posted on 2012-03-12
3
2,218 Views
Last Modified: 2012-03-12
I am trying to delete some old user profiles from a Windows 7 machine using the Microsoft tool, Remprof. When I run with no options it lists the profiles without issue, but it won't let me delete. If I run, remprof /d, under each profile it returns the error:

"Profile does not match username. No action taken."

I'm not sure what this error means. The listed profile is simply [domain name]\[username]. I'm not sure what it's trying to match or get past this error. Thanks
0
Comment
Question by:leatherleaf
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
Run5k earned 500 total points
ID: 37710754
Just to clarify, Remprof may be used on Microsoft operating systems, but it isn't actually a Microsoft tool.

That being said, according to the following article it sounds like you may not be using the proper syntax:

REMPROF for 2008/ 2008 R2/ Windows 7 Released

The article states that using the "/d" option "Delete all user profiles equal to or older than the number of days specified."  Are you specifying a number of days within that command?
0
 

Author Closing Comment

by:leatherleaf
ID: 37711207
Syntax was the issue! Per usual, the problem was something small and easily overlooked.

You can use the /d: switch without specifying the number of days, but I omitted the ":"

The following command works:

remprof /d:
0
 
LVL 28

Expert Comment

by:Run5k
ID: 37711488
Glad to hear that it's resolved.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

777 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