# Delete Inactive User Profiles

> Automatically delete inactive User profiles on Windows Devices with Applivery to improve system performance and reduce storage consumption.

Source: https://docs.applivery.com/en/device-management/windows/policies/delete-inactive-user-profiles/  •  Last updated: 2026-03-24

**Key topics:** Windows User Profile Management, Automatic Profile Deletion, Applivery Device Management, Storage Optimization, System Performance, Windows, Applivery, User Profile Service

---

**TL;DR:** Automatically delete inactive Windows user profiles to optimize system performance and storage using Applivery's device management policies.

Windows **User Profile Management** includes a setting that allows admins to automatically **delete user profiles** that have been inactive for a specified number of days upon system restart. This feature helps organizations maintain cleaner systems by removing old, unused profiles, which can reduce storage consumption and improve overall system performance.

When enabled, the **User Profile Service** will check all profiles on the Device during the next restart and delete those that have not been accessed within the configured time frame, measured in 24-hour periods since their last use. This automatic cleanup ensures that only active users maintain profiles on the system, reducing clutter and potential security risks associated with stale profiles.

If this Policy is disabled or not configured, user profiles will remain unchanged, meaning all profiles, regardless of activity, will persist on the system.

In managed environments, this Policy can be centrally configured and deployed across Windows Devices, enabling IT teams to enforce consistent user profile maintenance and optimize device health and storage management effectively.

## Automatic deletion of inactive profiles

Once in the [**Applivery Dashboard**](https://dashboard.applivery.io/), head to **Policies** 1. Choose the Policy where you want to add this configuration.

Next, in the left-hand menu, select **\+ Add configuration** 2, and search for **User Profiles** 3.

![user profiles](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/830de90e-fe34-4a70-9b18-97a5de1e9376.png)

Locate the **Delete user profiles older than a specified number of days on system restart > Cleanup Profiles** setting, and specify the number of days after which inactive user profiles will be deleted automatically on system restart.

![delete user profiles](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/191c5af9-fe1d-405f-be53-989afe6ab97c.png)
