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.

158 points

why the fuck did they re-enable autoplay? it was a terrible idea when they did it years ago and they quickly disabled it.

permalink
report
reply
75 points

People are becoming even more tech illiterate.

permalink
report
parent
reply
80 points

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.

permalink
report
parent
reply
25 points

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

permalink
report
parent
reply
26 points

on this point…

I heard from someone in my local area that it’s getting to the point where people don’t even know how to use a mouse and keyboard.

this is the iPad generation…

permalink
report
parent
reply
25 points

There’s been several articles in the past 10 years pointing out that kids going for IT and CompSci degrees in college/uni are often not aware of file structures. The thought is that they are so used to just saving something on a mobile device, and when they want to use/send/view it, the apps just comb the whole system and present files that fit the required extension formats.

permalink
report
parent
reply
11 points

I just checked a freshly installed Windows 11 and the autoplay is off by default.

So to follow up on the point you are trying to make: People are illiterate because they react loudly without checking what they react about. It’s enough for them to get a few online upvotes in a world where they don’t matter otherwise.

permalink
report
parent
reply
2 points

Including the Dev team at Microsoft I guess.

permalink
report
parent
reply
22 points

I just checked a freshly installed Windows 11 and the autoplay is off by default.

So to follow up on the value of your question: People react loudly without checking what they react about. It’s enough for them to get a few online upvotes in a world where they don’t matter otherwise.

permalink
report
parent
reply
8 points

Because people in general want things to be ‘easy’ far more than they they care about security risks they don’t understand. If they cared about security at all, they wouldn’t be plugging random USB sticks into their computers in the first place.

permalink
report
parent
reply
2 points
*

You are remembering that the executable features of autorun.inf is disabled, which is still true. Autoplay (if enabled) as it exists currently only applies for discovered media file types and makes your default configured media player responsible for handling them. It would not be possible to execute arbitrary tasks unless you had an ACE exploit for the installed media player.

permalink
report
parent
reply
-2 points

Because people get all their music from MP3s downloaded via limewire, and store them on usb drives apparently.

Such a modern operating system! Forward thinking Microsoft.

permalink
report
parent
reply
56 points

Uhhh… Shouldn’t you just not plug random shit into your computer?

permalink
report
reply
21 points

Think of it as a seatbelt. You don’t plan on crashing your car, but shit happens. It’s even possible a brand new USB drive from a “reputable” company could have something on it.

permalink
report
parent
reply
15 points

You forgot the lack of mental capacity in the average windows victim.

permalink
report
parent
reply
11 points

It’s surprising how many people will plug in a random USB drive that they find. Apparently that’s how the CIA got the Stuxnet virus into Iran’s system and nerfed their centrifuges back in the day.

permalink
report
parent
reply
4 points
*

Usb killer: you guys do things with the computer?

permalink
report
parent
reply
4 points

[rubber duckies intensify]

permalink
report
parent
reply
1 point

Yeah but maybe someone else does it

permalink
report
parent
reply
53 points

Why the fuck is the non execute setting, a principal safety feature, restricted to the pro and ent versions!?

Fuck you Microsoft.

permalink
report
reply
7 points

There is also a registry hack for this but I have not looked into it or tested it. (And I agree with your sentiments re: Microsoft.)

permalink
report
parent
reply
6 points

Registry changes are too confusing for normal computer users. The year of the Windows desktop is a pipe dream held dearly by the utterly deranged.

permalink
report
parent
reply
51 points

permalink
report
reply
47 points

It’s even worse than that. If you plug a USB device into a computer, it can pretend to be a keyboard and mouse, and do malicious things that way.

Do not plug any random device into your hardware.

permalink
report
reply
28 points

Yep, plug it into your coworker’s computer to test it first.

permalink
report
parent
reply

You Should Know

!youshouldknow@lemmy.world

Create post

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you’re a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post’s text body, you must include the reason “Why” YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That’s it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.

Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

Community stats

  • 4.5K

    Monthly active users

  • 185

    Posts

  • 3.1K

    Comments