Tema: Re: kaip atjungti win XP funkcija autorun
Autorius: vytjon
Data: 2008-12-05 23:18:05
Raimondas wrote:
> kuri idejus CD ar flesha ismeta langa kuris klausia ka toliau daryti? Aciu 

   Jeigu jau hardwariškai atjunginėt - galima atjungti CD įrenginio 
duomenų ar maitinimo kabelį, užklijuoti USB jungtį. Tačiau gal verčiau 
tai programiškai daryti? Pvz. pasirašai .reg failą pagal pavyzdį:


Windows Registry Editor Version 5.00

;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
;"NoDriveTypeAutoRun"=dword:000000dd
; default dword:00000145
;   0x1  Disables AutoPlay on drives of unknown type.
;   0x4  Disables AutoPlay on removable drives.
;   0x8  Disables AutoPlay on fixed drives.
;   0x10 Disables AutoPlay on network drives.
;   0x20 Disables AutoPlay on CD-ROM drives.
;   0x40 Disables AutoPlay on RAM drives.
;   0x80 Disables AutoPlay on drives of unknown type.
;   0xFF Disables AutoPlay on all types of drives.
; If you want to disable more than one type of drive, sum the hex values.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000dd