Search %AppData% and open the folder. Then from the AppData folder navigate to Local\\Microsoft\\Windows\\Burn. Finally, right-click the Temporary Burn Folder and select delete. Restart your computer and try writing files to your DVD or CD.