your machine may open a connected flash drive automatically.

But, youd better stop opening flash drives automatically in Windows 10 to protect your setup data safe.

Perhaps, you think it is innovative and time-saving.

How to Recover Data from a RAW USB Flash Drive on Windows?

But, you better know that it is also dangerous.

Then, it may damage your machine no matter your system is locked or not.

See this information, you may ask this question: how the hackers attack your system in this situation?

This experiment can be back to July 2017.

But, to keep your setup and its data safe, youd better stop opening flash drives automatically Windows10.

just see the following introduction.

Then, you should probably inputautoplayand chooseAutoPlay Settingsfrom the search result.

Step 2: You will enter theAutoPlaysettings screen.

Then, you should probably turn to button toOFFto shut the autoplay setting.

Besides, youd better turn off Autoplay for both removable drive and memory card.

Way 2: Using Group Policy Level

AutoPlay vs. AutoRun

What is AutoPlay?

This is the AutoPlay dialogue.

On the other hand, AutoRun can be treated as an INF file to install a program.

Here, we think youd better block both of these two features to keep your machine data safe.

Then, you’re gonna wanna inputgpediton the search bar.

After that, chooseEdit Group Policyoption from the search result.

Step 2: You will see a new page.

Here, it’s crucial that you go toComputer Configuration>Administrative templates>Windows Components>AutoPlay Policies.

Step 3: Then, it’s crucial that you chooseTurn off AutoPlayoption underAutoPlay Policies.

After that, it’s crucial that you ensure thatAll Drivesis selected underOptions.

At last, click onApplyto save the changes.

Then, you should probably chooseDo not execute any autorun commands.

Next, select Apply to save the changes.