Solved

Remprof Will not Delete User Profiles Windows 7

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
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 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 give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

735 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