Remove Recycle Bin icon from desktop in Windows 11

Turn Off AutoPlay Service in Windows 11 - Easiest Method

 To turn off AutoPlay in Windows 11 using the Group Policy Editor, follow these steps:


πŸ”§ Method: Disable AutoPlay via Group Policy (GPO)

Applies to: Windows 11 Pro, Enterprise, and Education editions (Group Policy Editor is not available in Home edition by default)


✅ Step-by-Step Instructions

  1. Open Group Policy Editor

    • Press Windows + R to open the Run dialog.

    • Type:

      gpedit.msc
      
    • Press Enter to open the Local Group Policy Editor.

Turn Off AutoPlay Service in Windows 11 - Easiest Method
  1. Navigate to AutoPlay Settings

    • In the left pane, go to:

      Computer Configuration → Administrative Templates → Windows Components → AutoPlay Policies
      
Turn Off AutoPlay Service in Windows 11 - Easiest Method
  1. Configure 'Turn off AutoPlay' Policy

    • In the right pane, double-click on “Turn off AutoPlay”.

    • Set it to Enabled.

    • Under Options, set “Turn off AutoPlay on:” to “All drives”.

    • Click Apply, then OK.

Turn Off AutoPlay Service in Windows 11 - Easiest Method
  1. (Optional) Disable AutoPlay for CD/DVD and Removable Drives Separately

    • Also configure:

      • Set the default behavior for AutoRun

      • Disallow AutoPlay for non-volume devices

  2. Force Group Policy Update (Optional)

    • To apply the change immediately, press Windows + R, type:

      gpupdate /force
      
    • Press Enter.


πŸ”„ Effect of This Policy

  • Disables AutoPlay for all drives including USB, CDs/DVDs, and network drives.

  • Prevents AutoPlay dialog boxes from appearing when you connect a device or insert media.


πŸ§ͺ To Verify:

  • Insert a USB or CD/DVD.

  • If AutoPlay doesn’t appear, the policy is working.

Comments