How to Reset Offline File Cache

Sometime our helpdesk need to reset offline file cache on Windows because corrupted.

I created a batch script (I do not used powershell because somewhere winrm is not configured):

You can pass as parameter the hostname/ip address of computer where you need to reset the cache. Use “.” to specify that you want to reset cache on local computer.
You need admin rights and a reboot of remote computer is required after the cache reset.

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