Lukas Beran
Lukas Beran

Welcome to my blog! If you're looking for tutorials, hints or tips for IT, you're right here. You will find mostly articles on Microsoft products and technologies - operating systems, servers, virtualization, networks, management, but also the cloud. Sometimes I add some other interesting things.

June 2014
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 

Categories


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:

Examples

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.

My primary focus is the security of identities, devices and data in the cloud using Microsoft services, technologies and tools.

Comments 0
There are currently no comments.