Disable removable disks via GPO

ypf 21 Reputation points
2021-06-29T07:46:09.733+00:00

Hello, I would like to use GPO control group policy to prohibit -- > removable disk: deny read permission
110089-image.png

This is my code, but can't disable removable disks. Is there a problem with the code? There is no better way. It's invalid to modify the registry directly. I took a snapshot of the registry according to the historical records. After restarting the computer, I found that the value of a key changed and could not be controlled

110221-image.png
110175-image.png

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,955 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cheong00 3,471 Reputation points
    2021-06-29T08:26:37.773+00:00

    Your code uses GPO_SECTION_USER instead of GPO_SECTION_MACHINE. Please change, run and reboot (you don't have code to enforce policy) to check if it works.


1 additional answer

Sort by: Most helpful
  1. Ronen Ariely 15,091 Reputation points
    2021-06-29T08:07:53.693+00:00

    Good day ypf-3939,

    This forum system is for discussions in English.

    For support in CHINESE you can search for CHINESE forum in the old MSDN forums.

    A better option is to write in English if you can

    Thanks

    0 comments No comments