enable cd autorun

vbs code to enable cd autorun if it is disabled.
ankur3020Asked:
Who is Participating?
 
Robberbaron (robr)Connect With a Mentor Commented:
put this in a file  CO_ON.VBS

reg HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom /v AutoRun /t REG_DWORD /d 1

this turns CD autorun on, wether currently disabled or not.

it is possible to test for current status but no point.
0
 
ankur3020Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.