Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Disabling CD ROM Drive

- - - - -

  • Please log in to reply
4 replies to this topic

#1
tiredoflogins

tiredoflogins

    Lurking in the dark

  • Members
  • Pip
  • 64 posts
:o I got this script to disable my CD rom drive.

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]"Type"=dword:00000001
"Start"=dword:00000004
"Group"="SCSI CDROM Class"
"ErrorControl"=dword:00000000
"Tag"=dword:00000002
"DependOnGroup"=hex(7):53,43,53,49,20,6d,69,6e,69,70,6f,72,74,00,00
"Autorun"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Enum]
"0"="Root\\LEGACY_CDROM\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001


How do I enable it?

Help me!


How to remove advertisement from MSFN

#2
prathapml

prathapml

    Follow the rules please :-)

  • Patrons
  • 6,791 posts
  • OS:Windows 8 x64
  • Country: Country Flag
I believe this is what will enable it back:
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"Start"=dword:00000002
What had happened was that the service had been set to "disabled". Now, the above will set it to "Automatic" start - i.e., on demand.

Do post back on whether it works or not. :)

#3
tiredoflogins

tiredoflogins

    Lurking in the dark

  • Members
  • Pip
  • 64 posts
Hi there,
Nopes it hasn't worked. I am not able to see the drive in my explorer.


#4
jaclaz

jaclaz

    The Finder

  • Developers
  • 13,396 posts
  • OS:none specified
  • Country: Country Flag
You could try to use this nifty utility from Nirsoft:

http://nirsoft.multiservers.com/
To enable/disable service from command line or batch file.

NIRCOMLINE
http://nirsoft.multi...nircomline.html

service {\\Computer} [action][service name]
Changes the status and the startup type of services and drivers.
The parameters:
{\\Computer}: Optional. Specifies the name of the remote computer. If you omit this parameter, the local computer is used.
[action]: The action you want to do. This parameter may contain one of the following values:
start: Starts the specified service or driver.
stop: Stops the specified service or driver.
pause: Pauses the specified service or driver.
continue: Continues the specified service or driver.
restart: Stops and then starts again the specified service or driver.
auto: Changes the startup type of the specified service or driver to Automatic.
manual: Changes the startup type of the specified service or driver to Manual.
disabled: Changes the startup type of the specified service or driver to Disabled.
boot: (Only for drivers) Changes the startup type of the specified driver to 'Boot'.
system: (Only for drivers) Changes the startup type of the specified driver to 'System'.
[service name]: The name of the service or driver.

Examples:
service start schedule
service \\remote stop schedule
service restart w3svc
service {\\Computer} [action] [service name]
Changes the status and the startup type of services and drivers.
The parameters:
{\\Computer}: Optional. Specifies the name of the remote computer. If you omit this parameter, the local computer is used.
[action]: The action you want to do. This parameter may contain one of the following values:
start: Starts the specified service or driver.
stop: Stops the specified service or driver.
pause: Pauses the specified service or driver.
continue: Continues the specified service or driver.
restart: Stops and then starts again the specified service or driver.
auto: Changes the startup type of the specified service or driver to Automatic.
manual: Changes the startup type of the specified service or driver to Manual.
disabled: Changes the startup type of the specified service or driver to Disabled.
boot: (Only for drivers) Changes the startup type of the specified driver to 'Boot'.
system: (Only for drivers) Changes the startup type of the specified driver to 'System'.
[service name]: The name of the service or driver.

Examples:
service start schedule
service \\remote stop schedule
service restart w3svc


But before that, try interactively with the in built Service Manager or (better) with this other Nirsoft utility:
SERVIWIN
http://nirsoft.multi...s/serviwin.html

With which is easier to manage dependencies.
(I suspect that setting the start as automatic does not actualy start the service if there are any stopped depencies or until reboot, so you should try starting the service manually, see if it works, then reboot)
if it doesn't work, check dependecies first, than experiment with the other possible settings, i.e. 0 or 1 for the "Start" key
BOOT_START             0x00000000
SYSTEM_START           0x00000001
AUTO_START             0x00000002
DEMAND_START           0x00000003
DISABLED               0x00000004
jaclaz

#5
Astalavista

Astalavista

    MSFN loyalist

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
very nice...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN