How to disable USB mouse and keyboard

Jaime Stuardo 66 Reputation points
2020-08-01T20:44:05.953+00:00

Hello,

I have developed an application for a Tablet PC with Windows 10 Home. The application is to be used unattended, so I need to avoid a user to connect a mouse or keyboard to any of the available USB ports and finally accessing the computer.

How can I do that?

Thanks
Jaime

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,677 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Jenny Feng 14,096 Reputation points
    2020-08-03T03:52:32.5+00:00

    Hi,

    Since you are using the Windows 10 Home, the GPO method maybe not helpful.

    From the hardware, you could physically remove them or fill them with something.

    Or you could disable the use of USB storage devices by Registry Editor:
    Running regedit in the Run dialog box.
    Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR, and then locate the DWORD value named ''Start'' on the right-side pane. The default value data of Start is ''3''. Double-click on Start, and set its value data to ''4''.
    Restart Windows 10 to see if it works.

    Hope above information can help you.

    1 person found this answer helpful.

  2. ali abbasi 96 Reputation points
    2020-08-01T21:15:37.477+00:00

    you need to disable your usb port through the registry and group policy here is two Separate link that might be useful for you

    1-https://www.maketecheasier.com/disable-usb-ports-windows10/
    2-https://www.isumsoft.com/windows-10/how-to-disable-use-of-usb-storage-devices-in-windows-10.html


  3. Anonymous
    2020-08-01T21:19:25.953+00:00

    Easiest method may be to check the bios setup for these options.

    --please don't forget to Accept as answer if the reply is helpful--


  4. Sean Liming 4,591 Reputation points
    2020-08-02T20:04:35.067+00:00

    You could use group policy to block USB keyboard and mouse from being connected. There is a section on my paper that discusses the idea: https://annabooks.com/Articles/Articles_IoT10/Windows-10-IoT-DeviceBlock-Rev1.4.pdf