The idea of AutoPlay is to select which program is going to play your music, or displays your photos. For no apparent reason AutoPlay develops its own ideas of which device to connect to your media. Fortunately, this page will show you how to regain control with NoDriveTypeAutoRun in Windows 8 .
Topics for Windows 8 AutoPlay Enable | Disable
- How to Configure Windows 8 AutoPlay from the Control Panel
- What Are AutoPlay and Autorun
- Troubleshooting AutoPlay Using Group Policy Editor
- Registry Values for AutoPlay NoDriveTypeAutoRun in Windows 8
- Make the CD-ROM Available Only to Users Who are Logged on Locally
Microsoft’s Windows 8 has an AutoPlay enable / disable setting for each type media. This is how you can configure the default settings for each device or media type
Click on the Windows 8 Start ‘Orb’, Control Panel, Hardware and Sound, AutoPlay.
Quick and Easy – Turn Off AutoPlay
The first step is to remove the tick next to: ‘Use AutoPlay for all media and devices’.
More Subtle AutoPlay Configuration
Popular options to enable AutoPlay are:
Play xyz using ….
Take no action.
It is worth scrolling down the list in your Control Panel just to see the sheer scale of the media that you AutoPlay can enable or disable. There are normally 4 options for each type of media. Once you have made your selection then save, or else reset to the default.
If the above settings are just taking you around in circles try gpedit.msc.
To open the Local Group Policy Editor click on the Start Orb, type: gpedit.msc (remember the .msc extension).
Edit the Setting: Turn off AutoPlay –> Disabled.
Now you can reset it to Not Configured, which is the default state.
See more on Windows 8 Group Policy disable USB.
Troubleshooting AutoPlay Using Regedit
Since the Local Group Policy Editor is not supplied with Windows Home editions, you will need to employ regedit to achieve the same result.
Open regedit and locate the following key:
Change: NoDriveTypeAutoRun to 0x91
If necessary create this key as a DWORD.
AutoPlay Repair Wizard
This freeware download fixes defective AutoPlay configurations. Download this Repair Wizard and fix AutoPlay settings..
SolarWinds’ Orion performance monitor will help you discover what’s happening on your network. This utility will also guide you through troubleshooting; the dashboard will indicate whether the root cause is a broken link, faulty equipment or resource overload.
What I like best is the way NPM suggests solutions to network problems. Its also has the ability to monitor the health of individual VMware virtual machines. If you are interested in troubleshooting, and creating network maps, then I recommend that you try NPM now.
Autorun is a fore-runner of AutoPlay for the CD-ROM drive. Let us analyze the operating system’s reaction when you put a DVD in the caddy. Manufacturers include an autorun.inf file to specify what should auto-start when you close the caddy.
Unlike other AutoPlay media, the CD-ROM has extra hardware considerations which are dealt with by Autorun. AutoPlay helps choose which application autorun should report to. In the case of a music DVD, which program should take over from autorun and start playing the music. Alternatively, you can configure Autorun to do nothing and select manually.
This is the registry setting to check, or to turn off Autorun:
A value of 1 means enable autorun (on), while zero means disable autorun.
Note 1: Make sure that you are in the CurrentControlSet, not ControlSet001.
Note 2: There was an autorun setting for anyone still using a floppy disk!
MCN (Media Change Notification) messages from the CD-ROM driver, trigger how AutoPlay deals with a DVD. And if you suppress these messages then the DVD will not start playing automatically. The way to disable AutoPlay is by launching Regedit and adjusting the value of NoDriveTypeAutoRun or NoDriveAutoRun in the registry, this is an alternative to the Control Panel method I described earlier.
The benefit of using NoDriveTypeAutoRun, rather than NoDriveAutoRun, is that you can select which drives you wish to disable. For example, you can allow only CD-ROM drives to run AutoPlay.
Here below, is a table of the hex values to control AutoPlay on a variety of drives. The entries are a bitmapped value. To disable Windows 8 AutoPlay on a particular type of drive, set the bit representing that type of drive to 1. If you want to disable more than one type of drive, sum the hexadecimal values of the representative bits.
The default value for in Windows 8 for NoDriveTypeAutoRun is 0x91 (145). You calculate the figure by summing: 0x1 (unknown types), 0x80 (unknown types) and 0x10 (network drives). In Vista the default is 0x95 (149), the extra 4 is accounted for by the disable floppy drive setting.
Disables AutoPlay on drives of unknown type.
Disables AutoPlay on removable drives.
Disables AutoPlay on fixed drives.
Disables AutoPlay on network drives.
Disables AutoPlay on CD-ROM drives.
Disables AutoPlay on RAM drives.
Disables AutoPlay on drives of unknown type.
Disables AutoPlay on all types of drives.
Note that in Windows 8 NoDriveTypeAutoRun is in the Current_User section of the registry.
- Click on the Windows Orb, Type: ‘regedit’ in the Start Search box. (See more details on starting regedit)
- Navigate to this path:
- If necessary create a dword called NoDriveTypeAutoRun
- Set NoDriveTypeAutoRun = 000000FF
- 000000FF (decimal 255) means disable AutoRun on all drives.
- A better strategy is refer to the above table, and use a Hexadecimal calculator to compute the best value for your machine.
- There is no need to logoff; the NoDriveTypeAutoRun setting will take effect immediately.
Guy Recommends: The Free IP Address Tracker (IPAT)
Calculating IP Address ranges is a black art, which many network managers solve by creating custom Excel spreadsheets. IPAT cracks this problem of allocating IP addresses in networks in two ways:
For Mr Organized there is a nifty subnet calculator, you enter the network address and the subnet mask, then IPAT works out the usable addresses and their ranges. For Mr Lazy IPAT discovers and then displays the IP addresses of existing computers.
Local Group Policy Editor Method
You can use GPEDIT.msc to restrict the CD-ROM access to locally logged-on user only. Once you launch Gpedit.msc, navigate to this section of the Local Group Policy Editor:
Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options,
Devices: Restrict CD-ROM access to locally logged-on user only. Enabled
Registry AllocateCDRoms Method
You could also achieve the same result by editing the registry directly:
- Type ‘regedit’ in the Start Search dialog box.
- Navigate to this path:
- Modify AllocateCDRoms, else create a Reg_SZ.
Set the value to 0. Meaning make available only to local users, and NOT those connecting across the network.
It’s always interesting to see which services and programs have hitched a ride on the operating system’s startup routine. I recommend that you click Start (orb) type ‘MSConfig’ in the Search dialog box and then check the ‘Services’ and ‘Startup’ tabs.
Summary of Windows 8 AutoPlay Enable | Disable
It’s well worth visiting the Control Panel, Hardware and Sounds, just to see the range of media that you can enable or disable for AutoPlay. The purpose of AutoPlay is to select which of your programs should play by default. For example, if you insert a music DVD, AutoPlay and Autorun work together to decide which of your programs should play the sound tracks. As with most Window 7 settings, there are additional registry keys to fine tune the behavior, which you can access via regedit or gpedit.msc.
If you like this page then please share it with your friends
Microsoft Windows 8 Registry Topics