3. Type "attrib-h-r-s autorun.inf", then click Enter.
4. Type "del autorun.inf", then click Enter. 5. Perform the same process with another drive and restart computer
Note: Sometimes the "cmd prompt" will display the error "file not found autorun.inf", or sometimes the actual hard drive or flash you do not have the autorun.inf file, so let your hard drive is still running as usual.
After deleting the autorun files from all hard drives or removable media, immediately restart the computer. Try not to open a hard drive or flash before you restart your computer, or if you do not have to repeat the above procedure once again.