regedit, and
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom
Setting this value to 1 means AIN enabled, and to zero disabled.
As said before disabling AIN has many advantages- unless you run software which explicitly needs that stupid thing turned on, e.g. a packet writer.