Q

Automatically delete locally cached roaming profiles

This Content Component encountered an error
How do I automatically delete locally cached roaming profiles? (We have limited drive space.) Also, is there a way to unconditionally delete a folder (i.e., a copy of a profile on local c: drive)? When I try to delete manually, it says "access denied" or "file may be in use."
To stop local caching of roaming profiles, edit the GPO and set the "Interactive Logon: Number of previous logons to cache" to 0. This is found in the Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options folder of a GPO.

To delete folders that claim "access denied," even when you are an administrator, first take ownership, then delete. If the folder is open or in use, you will not be able to delete it.

This was first published in January 2003

Dig deeper on Microsoft Active Directory Tools and Troubleshooting

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close