If you plug a USB drive into Microsoft Windows, in many cases it will try to do things “for you” with the drive. Not a great idea. There could be malware lurking on that USB drive.

There are a couple of things you can do to help mitigate the issue. These tips assume Windows 11.

Turn off Autoplay

  • Open Settings. Press Windows + I to open the Settings app.
  • Go to Bluetooth & devices. In the left sidebar, click on “Bluetooth & devices.”
  • Select Autoplay. Scroll down and click on “Autoplay.”
  • Turn Off Autoplay. You’ll see a toggle switch labeled “Use Autoplay for all media and devices.” Turn this off.

This will turn it off completely. You can, if you want, make individual settings for different types of devices.

Deny Execute Access (Pro or Enterprise versions of Windows 11)

  • Open Group Policy Editor. Press Windows + R, type gpedit.msc, and press Enter.
  • Navigate to the Removable Storage Access Policies. Go to Computer Configuration > Administrative Templates > System > Removable Storage Access.
  • Modify Policies. You can enable the policy “Removable Disks: Deny execute access” to prevent execution from removable drives.
  • Apply and Reboot.

Note, there are some cases where you may want to execute scripts or programs from a removable drive. If that’s the case, you may not want to do this, or make a note of it so you can re-enable if needed.

  • @[email protected]
    link
    fedilink
    822 months ago

    It’s honestly impressive how we went from “only nerds know tech” in gen x to “everyone knows tech” in millennials to “only nerds know tech” in gen z.

    • The Pantser
      link
      252 months ago

      Circle of tech life? It means whatever the next gen is will be tech pros again or maybe amish

      • @SpaceNoodle
        link
        72 months ago

        That implies that boomers knew tech

        • @ViscloReader
          link
          32 months ago

          They clearly knew and know tech seeing how things are now

        • femtech
          link
          fedilink
          12 months ago

          It was just beginning so they didn’t know and didn’t need to know. Now tech is everywhere, after them you needed to know to get it to work and it was more widespread. Now it’s very widespread but so user-friendly that you don’t need to know.

          • @SpaceNoodle
            link
            12 months ago

            Right, they hadn’t even discovered fire yet.

        • @Valmond
          link
          12 months ago

          Boomer tech was like slapping the TV or calibrating the ford carburateur.