‎11-18-2014 11:06 AM - last edited on ‎04-01-2024 03:54 PM by Mercedes_O
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
‎07-30-2019 07:18 PM
‎07-19-2022 12:56 AM
Trying to figure that out myself or a better way in lansweeper @DaveDischord
‎09-14-2018 09:36 AM
‎09-13-2018 03:10 PM
‎09-07-2017 08:14 PM
‎04-07-2017 07:36 PM
‎05-19-2016 11:06 PM
@echo off
setlocal
set PSPATH=\\<network path to action folder>
set PC=%1
%PSPATH%\delprof2.exe /c:\\%PC% /d:90 /ntuserini /ed:admin* /i
timeout 20
‎05-10-2016 06:28 PM
‎03-25-2015 11:47 AM
@echo off
setlocal
set PSPATH=\\path-to-your-actions-folder
set PC=%1
%PSPATH%\delprof2.exe /u /i /c:\\%PC% /d:90
timeout 10
{actionpath}\delprof2.cmd {smartname}
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now