I'm trying to create a program in C# that disable mouse and keyboard on my Windows 8 VM (I don't want to kill my own computer).
What I have tried:
I found some content on Internet that proposed to use register and use this to disable keyboard :
To disable: Add a new REG_BINARY value called "Scancode Map" to "HKEY_LOCAL_ MACHINE\System\CurrentControlSet\Control\Keyboard Layout" with a data value of "00000000000000000300000000005BE000005CE000000000". Unfortunetly it doesn't work :/
Does someone have any idea ? Thank you so much for helping me :)