Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Every once in a while when I launch powershell on my Windows 7 SP1 x64 machine I get this error.

powershell error "There is no disk in the drive"

None of the buttons will get rid of the error, it just comes back, I have to close the broken powershell window to dismiss the error. A reboot will fix it for a while until it decides to come back (not a real solution). Any ideas on why powershell would intermittently look for a disk?

share|improve this question

migrated from serverfault.com Apr 20 '11 at 10:44

This question came from our site for professional system and network administrators.

    
are there any errors or warnings in your systemlog? –  wullxz Apr 21 '11 at 7:27
    
- System - Provider [ Name] Application Popup - EventID 26 [ Qualifiers] 16384 Level 4 Task 0 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2011-04-19T20:15:55.000000000Z EventRecordID 41303 Channel System –  Peter Apr 21 '11 at 20:04
    
What is drive D:? Is it a optical drive? An SATA or SAS disk? USB? Firewire? iSCSI? Is there actually a disk there? –  Bacon Bits Apr 22 '11 at 13:03
    
It's an optical drive, there are rarely disks in it. And powershell will launch fine 99% of the time with no disk in D: –  Peter Apr 26 '11 at 22:41

3 Answers 3

I noticed this happens if there is a disk in the drive at the time it is booted. If the disk is removed prior to shutting the PC down, this error will occur. The only fix I have come up with is to eject the disk when shutting down the PC, at the point when it displays the message "Shutting Down". The next time the PC is booted, there is no disk in the drive to be referenced. The other way is to manually force eject the cd/dvd tray, if the PC has no power to it, using a paper clip as a pointer in the small hole.

share|improve this answer

DAEMON Tools caused this issue for me.

Open DAEMON Tools Lite
Select Drive
Click Delete Drive
share|improve this answer

I have been seeing this issue often at my place of work. No fix have gone into place yet, but I have the users right click the drive and press eject. That will prevent you from getting the error messsage.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.