View Full Version : Disable USB in Windows XP?
ESC201
04-11-2008, 07:01 PM
Hi all, I'm currently working on a java program that when loaded, goes fullscreen and plays a video or music (I haven't decided yet). Problem is, I don't want the user to be able to exit out of the program until the song or video is completed. However, any user with the smallest amount of intelligence would hit ctrl alt delete and end the task or process or hit alt and minimize the window. My idea for a solution to this is to disable usb inputs to the system and then restart them when the video/song is complete. I'm designing this for xp so is there a service that I can stop that will disable usb? Or something else? Any help or a point in the right direction is awesome. Thanks!
archangel.amael
04-11-2008, 07:08 PM
Windows XP ????
Are you sure you are in the right place?
Wouldn't your question be better served by the windows xp or java communities?
Or am I missing something here?:confused:
ESC201
04-11-2008, 07:25 PM
Well, I doubted that a programming forum would help me disable usb on a fullscreen program. It seems quite malicious. But yea your probably right, I should hit up sun's forums and see what happens. Sorry bout that mate.
archangel.amael
04-11-2008, 07:29 PM
Well, I doubted that a programming forum would help me disable usb on a fullscreen program. It seems quite malicious. But yea your probably right, I should hit up sun's forums and see what happens. Sorry bout that mate.
No need to apologize :) Just seems to me that you would get better help at a forum or whatever for windows xp or java as opposed to a linux pentest disto forum.
just my 2 cents.
thorin
04-11-2008, 08:40 PM
Hi all, I'm currently working on a java program that when loaded, goes fullscreen and plays a video or music (I haven't decided yet). Problem is, I don't want the user to be able to exit out of the program until the song or video is completed. However, any user with the smallest amount of intelligence would hit ctrl alt delete and end the task or process or hit alt and minimize the window. My idea for a solution to this is to disable usb inputs to the system and then restart them when the video/song is complete. I'm designing this for xp so is there a service that I can stop that will disable usb? Or something else? Any help or a point in the right direction is awesome. Thanks!
My solution to your prevention mechanism is to connect a PS/2 keyboard.
However, I'm sure you can programmatically disable keyboard input. In fact a quick session of google'fu will give you lots of results. Including:
http://www.codeproject.com/KB/vb/LockKeyboard.aspx
As other have tried to point out you'll likely get better answers on Usernet/google groups or technet.
ESC201
04-13-2008, 06:40 AM
My solution to your prevention mechanism is to connect a PS/2 keyboard.
However, I'm sure you can programmatically disable keyboard input. In fact a quick session of google'fu will give you lots of results. Including:
http://www.codeproject.com/KB/vb/LockKeyboard.aspx
As other have tried to point out you'll likely get better answers on Usernet/google groups or technet.
I figured I would work on PS/2 inputs after knocking down usb. No need to now though, that code works perfectly. I made a few modifications and it works exactly as I need it to. Thanks you sir. :)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.