4

Is there a way to extract files from the c:\windows\csc folder in Windows 7 professional?

3 Answers 3

6

You can download the CSCCMD tool v1.1 from Microsoft Support (or try finding it on the Internet may be easier), and then follow the following support document from Microsoft using the /Extract switch (The syntax is near the bottom).

for example: csccmd /EXTRACT /RECURSE /TARGET:c:\csc-files

http://support.microsoft.com/kb/884739

11
  • 1
    YOu can get the tool here: jacksontechnical.com/article.htm?id=34 or here: megaupload.com/?d=5EUO5R6K
    – KCotreau
    Jul 6, 2011 at 17:07
  • 1
    Thanks for the warm welcome, if we join our forces we can solve every tech problem EVER! ;) It is addicting though, racking up the points, I'll have a beer when I hit the 1000 mark! :) Jul 6, 2011 at 18:39
  • @Ruairi Fullam LOL addicted...me too. I have only been a member for 36 days now. :) I want 20K.
    – KCotreau
    Jul 6, 2011 at 18:51
  • 3
    I'm sorry, the file you link to does not work in Windows 7 professional: the ordinal 54 could not be located in the dynamic link library CSCDLL.dll
    – jao
    Jul 6, 2011 at 20:29
  • i thought i upvoted first and wanted to undo that. it wasn't meant to downvote. but i cannot undo the downvote now unless the answer is edited
    – jao
    Jul 7, 2011 at 6:00
1

Working Solution

On the command line:

vssadmin List Shadows

This will show you a list of your shadow copies (the shadow of the CSC folder will not be locked). Look for and copy the highest numbered original address.

Secondly we make a link to the shadow copy:

mklink /D C:\LatestShadow \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy417\

The rightmost part of that should be the original address you copied before

Next use robocopy to get all the files out of the cache

mkdir C:\CSC_copy
robocopy C:\LatestShadow\Windows\CSC C:\CSC_copy /E /COPY:DT

You should end up with a copy of all the cache files in C:\CSC_Copy.

1

Use this command to grant full access

cd %systemroot%
takeown /f csc /r /a /d y
icacls csc /grant Everyone:(F) /t /l /q

then reboot.

vssadmin List Shadows

This will show you a list of your shadow copies (the shadow of the CSC folder will not be locked). Look for and copy the highest numbered original address. Secondly we make a link to the shadow copy:

mklink /D C:\LatestShadow \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy417\

The rightmost part of that should be the original address you copied before Next use robocopy to get all the files out of the cache

mkdir C:\CSC_copy
robocopy C:\LatestShadow\Windows\CSC C:\CSC_copy /E /zb /copyall 

then took ownership of the files in the C:\CSC_Copy

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .