→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Michael_V
Champion Sweeper III

This action can be used to delete old user profiles from a remote computer.

This example deletes all user profiles not used in the last 180 days.

The tool can be downloaded from the Microsoft website:
http://www.microsoft.com/en-us/download/details.aspx?id=5405

Copy "delprof.exe" to your action folder.

{actionpath}delprof.exe /q /i /c:\\{smartname} /d:180
13 REPLIES 13
Dogeron
Engaged Sweeper II
I use delprof2 which you can find at

https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/

I like to have feedback so my action is :

{actionpath}\delprof2.exe /u /i /c:\\{smartname} /d:90


for those that don't just use the /q :

{actionpath}\delprof2.exe /u /i /q /c:\\{smartname} /d:90


Enjoy.
sukaitsu
Champion Sweeper
It works fine on our clients!

Tested on:

Windows XP
Windows Vista
Windows 7
Windows 8
Windows 8.1
Windows Server 2003
Windows Server 2008
Windows Server 2008R2
Windows Server 2012
Windows Server 2012R2

Thank you,

Jeffrey
Thank you, Jeffrey Smith Enterprise Applications Security (319) 499-6310 JefSmith@geico.com
Michael_V
Champion Sweeper III
from the Microsoft site:

Delprof.exe is a command-line utility that you can use to delete user profiles on a local or remote computers running Windows 2000, Windows XP, and Windows Server 2003.
ukaussi
Engaged Sweeper
Does this work in Win7 as I thought it only worked up to XP?

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now