How to Delete inactive user Profiles

Excluding the graphical but manual interface, you can used DELPROF2 or GPO.

DelProf2

This batch delete users profile on PCs (PC01, PC02, PC03) older that 15 days

Note: DelProf2 is the equivalent of delprof tools but with support extended to the latest OS. Fortunately he have the same syntax.

Group Policy

Opening Group policy editor, go to:
Computer Configuration/Policy/Administrative Templates/System/User Profile
and enable the option “Delete user profiles older than a specified number of days on system restart” specifying the days.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s