3/6/13

Delete old user profiles

Here's a group policy that deletes a user profile after a specific number of days. This is a great policy to use if you have several user profiles that use a workstation and then never use that workstation ever again.


Instructions:
To configure this setting, type start search and hit Enter to open the Group Policy Editor. Next under Computer Configuration, expand Administrative Templates > System > User Profiles.gpedit.msc in
Now in the right hand side details pane, double-click on  navigate to Delete user profiles older than a specified number of days on system restart to open its configuration box.
Here, if you enable this policy setting, the User Profile Service will automatically delete on the next system restart all user profiles on the computer that have not been used within the specified number of days.
If you disable or do not configure this policy setting, User Profile Service will not automatically delete any profiles on the next system restart.