Disable removable disks via GPO

ypf 21 Reputation points

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

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


Windows Group Policy
Windows Group Policy
A feature of Windows that enables policy-based administration using Active Directory.
2,015 questions
No comments
{count} votes

Accepted answer
  1. Cheong00 3,426 Reputation points

    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 14,146 Reputation points MVP

    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