Trick To Continuously pop out CD or DVD Drive

Continuously pop out CD or DVD Drive: Hey reader, solution exists is back again with windows prank commands to annoy your friends and family or the person whom you wanna prank. Like other cmd pranks, this is also a harmless computer prank that won’t play with your system files and corrupt Windows. This will just prank and make other people anxious for a while. Also, check windows trick show error message and shutdown PC.

Continuously pop out CD or DVD Drive
Trick To Continuously pop out CD or DVD Drive 2

Today in this notepad trick we will create a script to open cd tray in notepad. This can also be known as vbscript to open cd drive continuously. This is a prank and this VBScript will not harm your computer. You can use these tricks to prank your friends and annoy them. Now enough of introduction let’s jump into the steps.

Continuously pop out CD or DVD Drive Code

Copy below pasted code. Now Open Notepad and paste the following code :

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

As you had a copy and pasted cd tray continuously popping code. Now Save it as abc.vbs. or any name that you want to set but add .vbs at the end.

You had successfully created cd tray continuously popping prank file. You can mail this file creating zip file and send this as an attachment or can transfer using any media. As the person double clicks on the file to code will be executed and this vbfile will shows its effect.

How to stop cd drive from opening and closing prank

If you had accidentally tried this notepad trick in your own pc and not getting annoyed with this Continuously POP The CD/DVD Drive-notepad trick then here is the thing that you are search of. Way to stop this executed code to make disk drive open and close. The steps are described below.

  • Open task manager in windows or use  ctrl+alt+del
  • Click on process tab
  • select wscript.exe
  • click on end process.

Wrapping Up

This is the notepad tricks that you can use to create Funny Open-Close CD Drive Trick If you like this notepad prank and want some more tricks like Continuously pop out CD or DVD Drive prank, then feel to express your valuable comments in the comment section and appreciate us. Don’t forget to check other notepad tricks i.e. create simple virus using notepad. Check out our exclusive windows tricks and get knowledge of windows in-depth.

solutionexist telegram

Recommended Reading...

Avatar für Ronak Prajapati

Ronak Prajapatit is a Chemical Engineer by profession and a Part-Time blogger. He is a passionate tech blogger who likes to share his knowledge and helped to troubleshoot problems of computers and PC.

Leave a Comment