Skip to main content

Disabling AutoPlay in Windows

By default in Windows, AutoPlay kicks in when one inserts a CD-ROM, DVD, or USB drive containing some content - e.g. documents, images, music, or video.  Depending on your version of Windows and the content on the device, Windows may auto-run an installer (e.g. an Office install CD) or ask you what to do (e.g. open a folder to view files, play the music files with Media Player).

Some people find this feature annoying.  Another, more important issue is that the Conficker worm uses the feature to automatically jump from an infected USB drive onto the host PC.

To turn of the feature please follow one of the two methods...

Windows XP:

  • Download TweakUI.exe... http://www.artifact.ie/applications/tools
  • Install TweakUI.exe and then run the application
  • Expand (click +) "My Computer", then expand "AutoPlay"
  • Click on the "Types" option on the left and un-tick all boxes
  • Also, click on the "Drives" option on the left and un-tick all boxes
  • Click OK

image

Windows Vista:

  • Open the Control Panel (Start | Control Panel)
  • Click on “Play CDs or other media automatically”
  • Un-tick the tick-box called "Use Auto Play for all media and devices"

image

image

Comments

Bridge Cameras said…
This disabling tip is really good.

Popular posts from this blog

Resolve WSUS Server issue that gives "Cannot save configuration because the server is still processing"

This is a pretty infuriating error and can sometimes crop up as a result of running a "wsusutil reset" command. First of all, give the server some time, and then a bit more...  but you've probably already done this. These steps may help to resolve the situation: - Install Microsoft SQL Management Studio (free download) - Run SQL Management Studio and start to connect to the WSUS database - Enter this in the "Server Name" box:  \\.\pipe\MICROSOFT##WID\tsql\query - Expand the "Databases" tree - Right-click on "SUSDB" and choose "New Query" - Paste this query in:     UPDATE tbSingletonData     SET ResetStateMachineNeeded = 0 - You should see a message like "1 row affected", which is good - Quit SQL Management Studio - Open "Services" and restart the "WSUS Service" - Now, open WSUS

Re-arm ESXI Evaluation License

Needed to get a little more time out of my ESXI trial so that I could migrate it to Hyper-V. This pair of commands came in very handy and gave another 60 days: rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg reboot To use them, you need to: Put your ESXI server into Maintenance Mode Enable Secure Shell access (SSH) Enable Console Access Then ssh to the server (in Windows 11 you can just type ssh username@serveripaddress and then enter password) Otherwise, you could use something like PuTTY ( https://www.putty.org/ ) Hope this helps.  

Print Management Console Missing

I've encountered a few Windows 11 machines lately, some brand new, that haven't had the Print Management Console installed. Trying to run it from the Run menu using "printmanagement.msc" didn't work either. The fix is to run this from a command prompt:  dism /Online /add-Capability /CapabilityName:Print.Management.Console~~~~0.0.1.0