Lukas Beran
Lukas Beran


June 2014


Bulk profile deletion on Windows machines

Lukas BeranLukas Beran

On public computers where is a lot of users (for example schools), administrators often need to clear disks and delete users profiles, because a lot of profiles can use a lot of space on disks. This problem needs to be solved, especially when you use SSD disks with a smaller capacity. For this purpose you need to clear the disk and remove all profiles for example once a year.

For this purpose you can use a tool Delprof2 from Helge Klein, which is a successor of older Delprof from Microsoft.

In this tool you can specify which profiles you want to remove or you can skip some profiles in interactive mode. Delprof2 removes all inactive profiles except special profiles (for example Default) in default. Using additional parameters you can specify advanced options like removing only local profile cache of roaming profiles or removing only profiles which has not been used for some specific time.

Available parameters:


Administrators can run the script remotely. But for the remote execution you need tu run a service Remote Registry, because the tool makes changes in a Windows registry. And you need to allow Remote Administration on Firewall.


Comments 0
There are currently no comments.