Site Overlay

Deleting User Profile Files with Powershell

Deleting User Profile Files with Powershell Deleting user profile files with Powershell

Hello, it is possible to do this with PowerShell, but there is a more practical method.

DOWNLOAD and run the delprof application published by Microsoft on the computer where you want to delete the "User Profile" files. Administrator will automatically delete all users except the user profile file of windows itself.

http://arifakyuz.com/download/delprof.msi

The directory where the application will be installed is:
C:Program Files (x86)Windows Resource KitsTools

The following command:
DELETES INACTIVE IN THE LAST FIVE DAYS

delprof /d:5
image
image 3
Arif Akyüz Content Producer Cyber Security Expert

Arif Akyüz
Content Producer & Cyber Security Expert
[email protected]