Filled Under: , , ,

Make your CD/DVD Drive Pop Out Automatically

This program will continuously Pop out your CD/DVD Drive infinite times(Until you stop this script). This script won't harm your computer so you can use this trick on your computer. 
Image Source:


  1. Open Notepad.
    Right Click > New > Text Document
  2. Copy the below code in notepad:

    Set oWMP = CreateObject("WMPlayer.OCX.7")
    Set colCDROMs = oWMP.cdromCollection
    if colCDROMs.Count >= 1 then
    For i = 0 to colCDROMs.Count - 1
    For i = 0 to colCDROMs.Count - 1
    End If
    wscript.sleep 5000


    NOTE: Here, 5000(Highlighted Value) is the time (5 Seconds/5000 Millisecond) between Drive Pop Out. You can change this value to anything you want.
  3. Now save this file as anything.vbs.
    Click on Notepad Menu > Save As > anything.vbs.

    For example, Save the file as PopOut.vbs [.VBS Extension is Important]

  4. Now Double Click on file to Run it & See your CD/DVD Drive Pop out infinite times. (You have to close your CD/DVD drive manually)

How to Stop this Script:

To stop this script you have stop 'wscript.exe' using task manager. Click here to read complete tutorial to know How to stop VBScript using Task Manager.
If you need any kind of help related to this trick then comment below.

If you want more tricks delivered to you for free then you can join our Free Email Newsletter. You can also join us on Facebook and Twitter to get our latest posts in your feed.


Post a Comment

Have anything to add in this article? Just Comment below. Your comments and views are always appreciated.

For Off-Topic Help please refer to this page: