Solved

enable cd autorun

Posted on 2008-10-01
2
578 Views
Last Modified: 2012-05-05
vbs code to enable cd autorun if it is disabled.
0
Comment
Question by:ankur3020
2 Comments
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 50 total points
ID: 22623005
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
 

Author Closing Comment

by:ankur3020
ID: 31502000
thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question