Hello Mateusz Nowakowski ,
Thank you for posting in Q&A forum.
To my knowledge, in a domain environment, if you want to restrict the use of removable storage devices but need to whitelist certain devices, it can indeed be achieved through group policy. But the use of storage devices can only be allowed or denied based on their hardware ID.
The following are the basic steps to implement whitelist control for removable storage devices through group policy:
- Open the Group Policy Editor (for example, by running gpedit.msc).
- Navigate to Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions.
- Enable the policy to "Prevent installation of devices not described by other policy settings," and add the Hardware IDs of the devices you wish to allow.
- Enable the policy to "Allow administrators to override device installation restriction policies," so that administrators can intervene when someone attempts to install an unauthorized device.
If you're hoping to "require administrator access to install a pendrive," unfortunately, this cannot be achieved through GPO.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.