Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7532457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:27:35+00:00 2026-05-30T05:27:35+00:00

I want to create a program (preferably with C#) to lock the keyboard and

  • 0

I want to create a program (preferably with C#) to lock the keyboard and mouse and show a full screen message saying “Face front” to all the Windows 7 PCs in my classroom apart from the tutors. What frameworks/methods could I use to achieve this? I envisage a simple program running on my PC with a list of all the student computer names, when I click a button their screen is black and keyboard locked. Any pointers are much appreciated.

It’s not a joke, try teaching young teens in a city school with all the distractions of the internet. The PCs are connected to the network and we can have admin access to each PC, IT are happy for me to code it as they don’t have the time and as for buying something we don’t have the money, our budget was cut 20% this year. Thanks

I’m shocked this has been closed, I’m asking which technology to use, where should I start on a new programming project to help me teach. Wow thanks guys.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:27:37+00:00Added an answer on May 30, 2026 at 5:27 am

    Before I get to any solutions I’d like to say how appalled I am by some of the question comments. A school teacher educating our students is trying to find an innovative way keep the attention of his class. This person should be applauded, not ridiculed. Grow up people!

    Your going to need several pieces to put all of this together. This is not meant to be suggested as a complete solution but it should get you going in the right direction(s).

    First your going to need to think a bit like a hacker. You’ll need an agent app running on all the computers which communicates with the “master” computer/agent (client / server) to know when to lock / unlock. This could be fraught with all kinds of synchronization issues so be careful about polling intervals, etc.

    For the keyboard you’ll essentially need what will start out as a keylogger (think hacker stealing your password). Basically the app will intercept all the keyboard inputs and prevent them from doing anything. I found another question with some info to get you started (Capture and send keyboard / mouse input in C#). I’m going to stay Completely away from the whole, do you have the right to log keyboard inputs of students here. I suggest you just throw the text away and not store it anywhere or at the very least consult your school/district lawyer.

    My suggestion would be to start out with an app that takes over the whole screen (including the start menu) and is set to stay on top of all other windows. You can have a text box or something in the middle of the screen with the message you want or just hard code it.

    I would suggest resetting the mouse to some corner of the screen whenever it’s moved.

    Some things to watch out for:

    • Make a master key combination that will shut down the app in case it does something you don’t expect.
    • You WILL end up playing a cat & mouse game with your technically incline students trying to bypass your app.
    • Since this is an app running on the machine the task can simply be killed. Maybe the server should poll the clients to see if they’re shutdown. You might look into a windows service but there are special considerations for a visual window / element in a service (might not be worth the hassle).
    • Perhaps a windows service that checks to see if the app is running and launches it if it’s been shut down would be a good compromise.
    • This will only work on school computers and not students personal machines
    • Depending on the antivirus software installed this may get flagged as a keylogger/hacker tool or virus.

    Now for the disclaimers / warnings. You need to figure out the legal parts of this yourself, I’m not making any warranty or legal recommendations here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a program that requests from the user 10 grades and
I want to create a program which opens my file onClick by providing its
I created one GWT webapplication project.Inthat i want to create servlet program,but in that
I want to create a C# program to provision Windows Mobile devices. I have
I want to create a command line program using PHP. How do I design
I want to create an extremely simple iPhone program that will open a telnet
I want to create registry key through java program to add the jar file
I want to create a MSWindows Python program that would launch a new Firefox
I want to create a simple bash script to launch a Java program on
I want to create a very simple HTML/AJAX based GUI for a Python program.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.