Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remprof Will not Delete User Profiles Windows 7

Posted on 2012-03-12
3
Medium Priority
?
2,371 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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 viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

671 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