Solved

Remprof Will not Delete User Profiles Windows 7

Posted on 2012-03-12
3
2,173 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

758 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

17 Experts available now in Live!

Get 1:1 Help Now