Reprint (slightly modified): Disable mobile hard drive or USB flash drive for automatic playback

Source: Internet
Author: User
  1. Shift Key Method

When you insert a mobile hard disk, press and hold the Shift key, and the mobile hard disk will not play automatically.

  2. Strategy Group close Method

Click Start-run. In the open box, type gpedit. msc, and click OK to open the Group Policy window. In the left pane, under "Local Computer Policy", expand "Computer Configuration-manage template-System", and double-click "Disable automatic playback" under the "Settings" title in the right pane ". Click the "Settings" tab, select the "enabled" Check button, click "All Drives" in the "Disable automatic playback" box, click "OK", and close the Group Policy window.

  3. Service closure method

Right-click "my computer", select "manage", and find "services and applications-services" in "Computer Management ", in the right pane, find the "Shell Hardware Detection" service, which provides notifications for automatic playback of hardware events, double-click it, and click "stop" in "status, then, change "Start type" to "disabled" or "Manual.

  4. Disk Operation Method

This method is effective and useful for Windows XP. Open "my computer", and you will see your drive letter in "Hard Disk" or under "with removable storage devices". Generally, the drive letter of the mobile hard disk will be in "Hard Disk, USB flash drives or digital cameras are stored in "removable storage devices. Right-click the drive letter that needs to disable the automatic playback function, select "attribute", and select the "automatic playback" tab in the pop-up form, here, you can set different operations for the "music file", "image", "video file", "mixed content", and "music CD" types, select "do not execute Operation" to disable the automatic operation function. After "OK", the setting takes effect immediately. This method is also used for DVD/CD drives.

  5. Registry

Open the Registry Editor, expand to the primary key under [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ exploer], and find "NoDriveTypeAutoRun" in the right pane ", this key determines whether to perform the autorun function of the CDROM or hard disk. For how to set the key value, continue. The value type is DWORD. There are 8 digits in total.
  
Each digit represents a device:

Device Name Number of digits Device Name Description
Drive_unknown 0 Unrecognized Type Device
Drive_no_root_dir 1 Drive without root directory
Drive_removable 2 Removable Drive
Drive_fixed 3 Fixed drive
Drive_remote 4 Network drive
Drive_cdrom 5 Optical Drive
Drive_ramdisk 6 RAM disk
Reserved Bit 7 Location reserved for future devices
The value "0" indicates that the device is running, and "1" indicates that the device is not running.

If you want a device not to run, enter 1 in the corresponding number of digits. Otherwise, enter 0. Note that the high position is on the left hand side. As we write numbers daily, 3 in 3000 is in the fourth place, not the first place. Finally, you can get an eight-bit binary string similar to 11111101. Now convert it to the corresponding hexadecimal value FD and fill in the value column.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.