PDA

View Full Version : CDR wont recognize disk?


blakegallagher
04-15-2004, 05:01 PM
Howdy all. The problem Im having is that whenever I put a CD in my CD/R drive wont pick up the label on the cd. If you put in a cd and open it you can see the files but you cant see the size of a cd or any of the other things that should be listed in the properties section. IF you boot with the CD in the drive then it will show up as it should. After boot it will keep the same cd label as whatever it started out with in the drive. I Have no clue what could be causing this and any help would be appreciated. I need to make a boot cd so I can flash my Bios but as this is the only "floppy" drive I have I need to fix this problem first.

Thanks for any help/advice

Blake

ski
04-16-2004, 08:14 AM
Is 'Auto Insert Notification'(or similar) enabled for the drive?

Sylvander
04-16-2004, 11:50 AM
Every little helps, so here goes:

When you open Windows Explorer and right-click on the CD-Drive:
1. Explorer searches the registry for the values needed to construct the "Context Menu".
2. You then click on "Properties" and Explorer then searches the registry for the values used to construct the "Properties" window.

Step 1 works ok?
Step 2 doesn't?

On my PC I used "File Monitor" to record the programs which were accessing which files during step 2.
Below are 2 sections of that record which I think may be informative.

15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer Attributes F: SUCCESS GetAttributes
15:42:09 Explorer FindOpen F: NOMORE
15:42:09 Explorer FindOpen F: NOMORE
--------------------------------------------------------------------
15:42:09 Explorer Attributes C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS GetAttributes
15:42:09 Explorer Directory C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS QUERY
15:42:09 Explorer Open C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS OPENEXISTING READONLY DENYNONE
15:42:09 Explorer Seek C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS End Offset: 0 / New offset: 0
15:42:09 Explorer Close C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS CLOSE_FINAL
15:42:09 Explorer Open C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS OPENEXISTING READONLY DENYWRITE
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 0 Length: 64
15:42:09 Explorer Seek C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Beginning Offset: 128 / New offset: 128
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 128 Length: 248
15:42:09 Explorer Seek C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Beginning Offset: 128 / New offset: 128
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 128 Length: 448
15:42:09 Explorer Directory C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS QUERY
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 16384 Length: 1536
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 16384 Length: 4096
15:42:09 Vsmon Attributes C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS GetAttributes
15:42:09 Explorer Read C:\WINDOWS\SYSTEM\DISKCOPY.DLL SUCCESS Offset: 12288 Length: 512
15:42:11 Explorer Attributes C:\WINDOWS\SYSTEM\DISKTOOL.DLL NOTFOUND GetAttributes
15:42:11 Explorer Attributes C:\WINDOWS\SYSTEM\DISKTOOL.DLL NOTFOUND GetAttributes

This seems to me to show that Explorer [the Windows shell?] is using "Diskcopy.dll" to "GetAttributes" for the CD in the CD-drive [F: drive in my case]. Is "Diskcopy.dll" [or a replacement] on your system?
Perhaps you could re-run Windows [which version?] "Setup.exe" to "repair" the installation and thus make certain that "Explorer.exe" and "Diskcopy.dll" are not corrupted?

I ran "Regmon.exe" to see if I could spot where the registry settings [used to construct the "Properties" window] were being retreived from, but I'm not good enough at reading this and couldn't see anything meaningful to me.
Here is possibly the registry value telling Explorer what is to be used to retreive the information:

21.23150880 Explorer QueryValueEx 0xC184DEB0\{59099400-57FF-11CE-BD94-0020AF85B590}\InProcServer32 SUCCESS "C:\WINDOWS\SYSTEM\diskcopy.dll"
21.23167600 Explorer QueryValueEx 0xC184DEB0\{59099400-57FF-11CE-BD94-0020AF85B590}\InProcServer32\ThreadingModel SUCCESS "Apartment"
21.23247360 Explorer QueryValueEx 0xC1BE2A00\ C:\WINDOWS\SYSTEM\DISKCOPY NOTFOUND

I'd guess that the information used to make the properties window must be recorded on the CD,
as is shown here http://www.pctechguide.com/09cdr-rw.htm#Formats
Then it must be READ from the CD and stored in the registry.
Then when required it must be retreived from the registry and displayed by the "Properties" window being constructed [by Explorer?].
On 2nd thoughts, perhaps the values are not stored in the registry, but the registry tells Explorer that "diskcopy.dll" is to be used to retreive the values and it gets them direct from the "SUA" on the CD.

blakegallagher
04-16-2004, 01:27 PM
OK as to ski, Im not sure if it is on and couldent find where it was at to check but I would imagine that it was on. As far as diskcopy.dll I ran a search and found it. Im running windows XP pro edition. trying the repair option is a good idea that Im going to try, ill let yall know how it goes.


thanks tons for the help and anymore will be appreciated.
Blake

ski
04-16-2004, 02:56 PM
This explains how to do it in XP:
http://www.real-knowledge.com/autoplay.htm