This article is intended to assist IT administrators in restricting USB access on end-user devices to enhance security.
Limiting USB access helps prevent unauthorized data transfers, reduces the risk of malware infections, and protects sensitive organizational information from being copied or compromised through external storage devices.
Prerequisite
Windows – Dual-enrolled
Steps
How to Disable USB devices on a Windows device using a
script
- Login to the SureMDM console
- Navigate to the jobs section and create a New job
- Select Windows as the operating system
- Choose the Runscript job and copy and paste the script below.
reg add “HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR” /v “Start” /t REG_DWORD /d “4” /f
Steps:
How to Enable USB devices on a Windows device using a script
- Log in to the SureMDM console
- Navigate to the jobs section and create a New job
- Select Windows as the operating system
- Choose the Runscript job and copy and paste the script below.
reg add “HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR” /v “Start” /t REG_DWORD /d “3” /f
Conclusion
The IT admins can disable and enable USB devices on the Windows devices using the script and restrict the same.
Need more help? Here’s how to get help from our experts.