Other Settings
From Windows Vista and Windows Server 2008, the "Don't set the always do this checkbox" Group Policy is available. If this policy is Enabled, the "Always do this..." checkbox in the AutoPlay dialog will not be set by default when the dialog is shown.
From Windows Vista, at the Dialogs and decisions point of the AutoPlay execution sequence, there is a check to see if the ⇧ Shift key is currently being held down. If so, any automatic user preferences are ignored and the AutoPlay dialog is always shown.
Read more about this topic: Auto Play, Altering AutoPlay