Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create some software for internet cafe as like client/server. And server can look at the client doing and control to restart, shutdown the client

the problem is how do I do by using VB.NET to do it
Posted

To block the keyboard in general is complex, you need to run an application as a service and write a system wide keyboard hook. Or you can make your app full screen and just remove keys like the Windows key which might be used to show the start menu physically from the keyboards you use.
 
Share this answer
 
First, you want to lock down your systems using the group policy editor gpedit.msc. This will allow you to limit what non-privileged users can do to your systems. You should read up on system policies.
In order to restart your systems remotely, use the following command (start a cmd window first) : shutdown -I. This will allow you to select a system and shut it down or reboot it.
If this sounds complicated, you may want to have a look at Windows SteadyState[^], which is very helpful in an Internet Cafe setting.
Unfortunately, there is no version for Windows 7

But Vb.Net and keyboard hooks are not suitable to control your computers.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900