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 8675477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:57:33+00:00 2026-06-12T19:57:33+00:00

How may I completely lock the system via C-Sharp code like the Bundespolizei-Virus does?

  • 0

How may I completely lock the system via C-Sharp code like the
Bundespolizei-Virus does? I´m trying to secure my computer with a little software that locks the system when nothing happens for 5 minutes and only unlocks when the user entered the right password.

It´s not my goal to write an own virus or something like that, it´d just be nice to know how.

I don´t want to lock it as windows does because I want to show my own User Interface.

It´d also be useful when writing a program for public computers where users only should work with this program and have no possibilities to access the operating system in any way.

  • 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-06-12T19:57:35+00:00Added an answer on June 12, 2026 at 7:57 pm

    On Windows, just set a screensaver password with a timeout for 5 minutes. That’s as secure as you can get.

    [Updated]

    Ah, you’ve updated the question. So you don’t want the standard windows lock screen? Well it depends on how secure you want it to be. As I said in a comment above, you’ll not be able to intercept CTRL+ALT+DEL unless you hook into the security subsystem. You used to be able to do this by writing a custom GINA DLL, but since Vista this is deprecated. Now you need to do this with custom “Credential Providers”;

    http://msdn.microsoft.com/en-us/magazine/cc163489.aspx

    If you don’t want to take this route, you could also use “Policy” to lock a machine down to a point, but there’s always a way around a user-mode app. If the user can bring up task manager then they can run anything on the box usually.

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

Sidebar

Related Questions

I may be completely off on this, but I swear I remember reading somewhere
So I'm new to linq so be warned what I'm doing may be completely
I am completely new to iOS development so I may be doing this wrong
No The JIT compiler may transform the bytecode into something completely different anyway. It
Hi I am completely new to Java, so sorry if my question may sound
May I know how could I pass the value of driver from code behind
May I know a way to change the Google Map marker color via Javascript..
This may be a completely dumb question, but I've seen a couple examples declaring
I would like my thread to shut down more gracefully so I am trying
I may be completely imagining this, but I could have sworn there was a

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.