Is there a way to extract files from the c:\windows\csc folder in Windows 7 professional?
3 Answers
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
-
1YOu can get the tool here: jacksontechnical.com/article.htm?id=34 or here: megaupload.com/?d=5EUO5R6K– KCotreauJul 6, 2011 at 17:07
-
1Thanks 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.– KCotreauJul 6, 2011 at 18:51
-
3I'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
– jaoJul 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– jaoJul 7, 2011 at 6:00
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.
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