Windows – Why is desktop.ini “Ready to Be Written to the Disc” of any CD or DVD inserted under Windows 7

cd-burningcompact-discdesktop.inidvd-burningwindows 7

I have a netbook with an external CD/DVD burner running Windows 7 Starter. Whenever I put any CD or DVD (doesn't have to be blank) in the drive and navigate to its path in Windows Explorer, it tells me under "Files Currently on the Disc":

Files Ready to Be Written to the Disc
(1) desktop.ini 23/03/2011

I can't recall ever doing anything that I would've expected would send any files to be written the CD/DVD.

The contents of the .ini file doesn't look suspicious:

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21815

Is this some Windows 7 feature I didn't know about? A known glitch? Likely the result of some accidental and unnoticed drag and drop? How do I undo it? Is it safe to just delete the desktop.ini via Windows Explorer?

Best Answer

Here is what happened:

  1. In the process of a burning a CD/DVD or preparing to burn a CD/DVD, you entered the special "Burn DVD" folder Windows uses as a staging area and changed the sort order, arrangement, or other layout/view option to be different than the default view.
  2. A hidden "desktop.ini" file is created automatically to hold this new layout information, so the next time you view the folder it will remember your preference. This is normal behavior for any folder on your file system, and if you go looking for it you can find this file all over the place.
  3. After burning the CD, this file was cleared out along with everything else. However, your layout was still non-standard, and so it is recreated when the folder is closed.
  4. You now have a file sitting in the special staging folder, and that trips up the "File waiting to be burned to CD" notice.