Overview
Windows USB Blocker is a C# source-code project designed to control access to USB mass storage devices and Windows Registry editing on Windows systems.
The application provides two primary controls: enabling or disabling access to USB mass storage devices and enabling or disabling Registry Editor access.
It can be used as a simple data-leak prevention utility where administrators need to restrict removable storage access or limit access to Registry editing.
The project is intended for Windows environments and requires Microsoft .NET Framework 4.
The supplied source includes instructions for configuring the USB Storage Devices Policy and Registry Editor Policy settings.
This is a source-code project, making it suitable for developers who want to study, customize or integrate the functionality into a Windows application.
Features
Enable or disable USB mass storage access
Control access to USB Mass Storage Devices
Enable or disable Registry Editor access
USB Storage Devices Policy control
Registry Editor Policy control
Windows desktop source-code project
C# source code
Suitable for customizing the provided functionality
Requirements
Microsoft .NET Framework 4
Windows environment capable of running the application
Administrator-level access may be required when changing system policies
Other items by this author
| Category | Scripts & Code / C# |
| First release | 30 September 2026 |
| Last update | 30 September 2026 |
| Files included | Documentation |
| Tags | Windows USB blocker , USB blocker , USB storage blocker , USB access control , USB security , USB device control , C# USB blocker , C# source code , Windows security , USB mass storage , Registry Editor blocker , Regedit blocker , data leak prevention , removable storage security |



