Autorun functionality in Windows

Received a laptop with Windows 7 the other day. My friend complained that earlier when inserting a flash drive or a disk, the Windows explorer automatically opened, but now it doesn’t.

I looked in the control panel - all settings were normal. I thought maybe there were some viruses, anything can happen, but Windows was clean. I noticed that VMWare was installed on the PC, and then I remembered a wonderful key in the registry - NoDriveTypeAutoRun. This key is automatically set during the virtual machine installation.

It is located in the next registry path: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

The NoDriveTypeAutoRun key can has the next values:

0Γ—1 β€” disabling AutoRun on drives of unknown type;
0Γ—4 β€” disabling AutoRun on removable drives;
0Γ—8 β€” disabling AutoRun on fixed drives;
0Γ—10 β€” disabling AutoRun on network drives;
0Γ—20 β€” disabling AutoRun on CD-ROM drives;
0Γ—40 β€” disabling AutoRun on RAM disks;
0Γ—80 β€” disabling AutoRun on drives of unknown type;
0xFF β€” disabling AutoRun on all kinds of drives.

In my case it was set to 0xFF. I just deleted this key, and a miracle happened - the autorun started work for needed all drivers.

comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy