Win8 64bit - delete offline files (CSC)

With reference to this KB concerning Vista and Win7

http://support.microsoft.com/default.aspx?scid=kb;EN-US;942974

 

What is the correct procedure for Win8 to delete offline files in Folder csc after "Offline Files" was deactivated?

|

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi,

 

To delete the offline files in CSC Folder, you will first have to disable Offline Files. Then, you can change the permissions of the CSC Folder and its subfolders and delete them.

 

Please refer to these steps to do so:

 

Step 1: Disable the Offline Files.

 

a.   Open Sync Center and click on Manage Offline Files on the left.

b.  Select the Disable Offline Files Button and reboot the computer.

 

Step 2: Give yourself all the permissions.

 

a.   Press Windows key + X and select Command Prompt (Admin).

b.  Type these commands and press Enter after each one.

 

cd c:\Windows

takeown /f csc /r /a /d y > NUL

icacls csc /grant Administrators:(F) /t /l /q

 

c.   Delete the folders under C:\Windows\CSC.

 

Note: You will need administrator access or password to perform these steps.

 

Please get back to us with the status of the issue.

46 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you very much for this quick and solid advice.

 

Here my result:

 

After entering  

takeown /f csc /r /a /d y > NUL

in the Admin CMD Promt I got:

ERROR: The filename, directory name or volume label syntax is incorrect.

 

Not being too squeemish, I entered:

icacls csc /grant Administrators:(F) /t /l /q

 

and then went to CSC folder to delete the stuff.

That worked, I was thankfully able to reclaim 24GB of harddisk space.

 

But I had to skip quite a few errors and the whole (synced) folder structure in CSC remains the same. I believe that this is because all and any .dav files could not be deleted and there is a .dav file in any folder, wich is why the Folder structure is still there.

 

Obviously those do not take up much space, but I would prefer to keep it tidy and delete those as well.

 

Any ideas?

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

 

Thanks for getting back to us.

 

Do you receive any error messages or codes when you try to delete the .dav files?

 

DAV stands for DVR365 Video File. DAV is an encrypted format created by a DVR365 digital video recorder, such as the DSD304, DSD308, or DSD316 DVR. It is not possible to open .dav files, using common media players.

 

I hope this information is useful. Please get back to us with the answer.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

 

I think .dav files must be something else. 1st because I don't have DAV Video files at all and certainly not in each and every Folder.

 

2nd because These are not xxx.dav files but hidden .dav files.

 

I still believe that this probaly are hidden files for the Support of WebDAV files Transfers.

 

My issue remains the same: How can I remove them? They are totylly locked.

 

 

 

Kind regards

 

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

 

Thanks for getting back to us.

 

Some webservers also create the .dav files on the computer and save them on the hard disk. To delete them, you will have to take ownership of the files.

 

Follow these steps to do so:

 

a.   Right-click on the file containing the .dav file and click on Take Ownership.

b.  You may be prompted by the UAC to enter the administrator password or to confirm to continue. Enter the password or click on Yes.

c.   Follow the prompted steps to take ownership of the file.

 

You will be able to delete the .dav files now. Please get back to us with the status of the issue.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

thanks a lot !

for windows 8  French version the second command is : takeown /f csc /r /a /d o > NUL

replace y of "Yes" by o of "Oui"

I have 638Go of cached file on my hard drive !

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you! Non English-users, please be aware that TAKEOWN command is sensitive to Win8 system language (i.e., "y" of yes has to be replaced with "s" as in "sì" in Italian, "o" as in "Oui" in French, and so on...")

Regards,

Francesco

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Worked perfectly. In the last step (delete the folder), I used windows explorer to go to the correct folder that was causing me a problem and deleted it manually. All now works, so thanks for the help!

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Works fine in Windows 10 x64

i disabled Offline files and installed the OS a month ago. BUT somehow it mirrored a random amount of files from my servers F drive ... finally my SSD has 25 GB more space!

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Dear Microsoft Staff,

I am an ZH-TW Windows 10 pro user(upgraded from Windows 7 pro) and the CSC offline files may contains some __non-ASCII__ characters or very-long-file-path.

Therefore, I got two symptoms:

(1) Takeown failed "System cannot find file specified"

(2) "icacls csc" got "Could not read ASCII %s file '%s'. See log file '%s' for details"

Yes, exactly the '%s' printed,

and of course there were still dozens of GBs capacity taken by Windows.

Any suggestions?  This issue has bothered me for 6+ months.

Thank you


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

 
 

Question Info


Last updated April 29, 2021 Views 52,839 Applies to: