Block CD/DVD drive in windows

Here you can learn about, how to block CD/DVD drive of any windows PC.

Follow these simple steps:


Block CD/DVD Drive:

1st way

  1. Go to run or press Windows+R key from keyboard.
  2. Type regedit
  3.                  
                              
    1_run.png (399?206)

  4. Go here "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CDRom"

  5. 1_cdrom.png (812?518)

  6. Here you can see "Start" REG_DWORD having data 0x00000001 (1). This indicates that your CD/DVD drive is unlock.
  7. To block CD/DVD drive change "Start" value to by double click on that.
  8. Now your CD/DVD drive is blocked. Re-start your PC if it doesn't work.
  9. To un-block CD/DVD Drive change value 4 to 1.
There is another simple way to do this. Put all this in a batch file and run that.

2nd way

  • create a batch (.BAT) file and edit it with 

  • reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CDRom" /f /v "Start" /t REG_DWORD /d "4"

  • To Un-Block CD/DVD drive change command with

  • reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CDRom" /f /v "Start" /t REG_DWORD /d "1"


    This is very useful idea where there is security a major concern. 
    Author Profile

    pallav

    Pallav Kumar

    @pallav
    Software Engineer
    Delhi, India

    Leave a Comment

    message*