Results 1 to 10 of 10

Thread: Disabling everything

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    Bahrain
    Posts
    10

    Talking

    I want to disable everything making the computer fatique. it shouldnot even respond to the poweroff button of the machine. Access only through password.

    Any solutions?
    "Vazhga Valamudan: Vazhga Vaiyagam"

  2. #2
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    Windows Can Be Disabled, Rajasekhar. Each And Every Part Of Windows Can Be Disabled.

    Edhavadhu Doubt irundha Enakku EMail anuppu.

  3. #3
    Guest
    Disabling Windows is easy; just make a borderless form maximized on the screen (so the user can't access anything) and disable Ctrl+Alt+Del using code.

    The hard part is the power button. Since it's hardware, there's no way you can do it using software.

  4. #4
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    in most new computers, the power button runs software, so you can disable it, but holding down for 5 seconds still shuts down the PC. If it is a desktop, you can open up the computer and disconnect the switch. Then the only way to shut down the computer is via windows(your program) or to pull the power cord out!
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  5. #5
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    you could disable the button like that, but the newer atx style computers have power switches on the power supply as well as the power button (to take into account the plethora of windows crashes that stop powering down)
    But i have an idea that might help: If you could subclass your program's message handler and interrupt any wm_close messages, it would stop windows from closing, thus preventing power-down except by unplugging or the 4-second thing (which most people don't even know about)
    Surely you've seen the "... is not responding" message boxes? Well - you will probably generate one, but if you disable the mouse and keyboard, no one will be able to click the close program button on it.
    To stop the latter, pop up a message box "Warning, Hard drive data may be destroyed if power is interrupted." if you detect the close message...
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  6. #6
    Guest
    There is no way to shut off the power. It's hardware. Even if you subclass every single message of every single window you still can't prevent the user from shutting down.

  7. #7
    Addicted Member
    Join Date
    Feb 2001
    Location
    Classified
    Posts
    234
    The newer computers send a message to the OS, telling it that the power button was pushed, and it is possible to override this, BUT, when you hold the power button down for 5 seconds (this time may differ on some systems) it bypasses the OS, and shuts the computer down.

    Heh, mebe try disableing everything, and then unhook the power button inside your computer? But that would require that you open up your computer every time you want to shut down, thats kinda lame, but if you realy need to make shure its not shut down, be shure to melt the power cord into the computer, and glue the other end on a UPS backup, then, ontop of that, make shure their is no way for anyone to unplug the fuse, heh, if you did that, you may also want to check yourself into a mental clinic.
    My ICQ Status: (85634850)

    Seriously Sick Tshirts

  8. #8
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    i believe he was referring to his program running on someone else's computer?
    Hard to do that to theirs. I made the point earlier that the power buttons on new computers didn't actually do the shut down. It's how atx style computers are designed. The way i listed above would stop everything except the 4 sec(in my case) button hold in, which most people don't know about anyway.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  9. #9
    New Member
    Join Date
    Feb 2001
    Posts
    4

    Thumbs up disabling windows

    make a cover all form
    and make oit stay on top of }everyone else
    also disable ctrl alt del
    disable alt f4


    but the power and reset bottons can't be worked out because they are hardware

  10. #10
    New Member
    Join Date
    Feb 2001
    Posts
    2

    Talking

    I dont think anyone can stop me from pulling that black cord thingy on the back of the machine.

    Regards,
    Smendle

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width