Solved

Remprof Will not Delete User Profiles Windows 7

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

So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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 the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

831 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