|
-
Sep 20th, 2007, 04:20 PM
#1
Thread Starter
Hyperactive Member
[2005] stop computer form locking? [resolved]
my work computer automatically locks me out after 5 minutes if i don't move the mouse or touch a key.
is there a programmatic way of making the computer *think* the mouse is moving or something is happening?
/edit
i have admin rights over my box BUT this is one thing i can't change in the control panel.
Last edited by texas; Oct 4th, 2007 at 10:52 AM.
-
Sep 20th, 2007, 04:41 PM
#2
Hyperactive Member
Re: [2005] stop computer form locking?
Get a program that you turns on/off and in the timer it just resets the mouse position every 180 seconds or something.
Code:
Windows.Forms.Cursor.Position = New System.Drawing.Point(Me.Location.X + 1)
That will move the mouse along 1 pixel horizontally so it should think you moved the mouse.
Last edited by VBlee; Sep 20th, 2007 at 04:47 PM.
If a post has been usefull then Rate it! 
-
Sep 21st, 2007, 06:47 AM
#3
Re: [2005] stop computer form locking?
I'm curious as to why you can't change this in the control panel if you have admin rights.
-
Oct 1st, 2007, 09:50 AM
#4
Thread Starter
Hyperactive Member
Re: [2005] stop computer form locking?
the code worked but it didnt trick the OS
i'm thinking that windows wants an input device movement.
/hack
our network admins have some domain policy that updates our computers or when they installed windows they removed the option to edit the timeout.
Last edited by texas; Oct 1st, 2007 at 09:56 AM.
-
Oct 1st, 2007, 07:11 PM
#5
Re: [2005] stop computer form locking?
Then let's give it input from a device - in this case a harmless ctrl 'pressing' every now and then. Not through the framework but by playing directly from the keyboard. &HA3 corresponds to the Control key as defined in Winuser.h
Code:
Private Declare Sub keybd_event Lib "user32" _
(ByVal K As Byte, ByVal Bsc As Byte, _
ByVal WParam As Integer, ByVal LParam As Integer)
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
'Key Depress (ctrl)
keybd_event(&HA3, &H45S, &H1S Or 0, 0)
'Key Release (ctrl)
keybd_event(&HA3, &H45S, &H1S Or &H2S, 0)
End Sub
-
Oct 1st, 2007, 10:35 PM
#6
Re: [2005] stop computer form locking?
So, your IT department has setup this timeout so that your machine will be locked if you walk away from it. Now you circumvent this policy of your company, then you walk away from your machine and forget to lock it, and someone uses your account to do something they shouldn't. It's not really our place to tell you how to circumvent your company's legitimate security policies. If you think they are too strict then you should approach your IT department, because what you're doing could, and should, get you fired in many companies. People being lax is the biggest security issue facing the IT industry.
-
Oct 2nd, 2007, 09:51 AM
#7
Thread Starter
Hyperactive Member
Re: [2005] stop computer form locking? [resolved]
 Originally Posted by jmcilhinney
So, your IT department has setup this timeout so that your machine will be locked if you walk away from it. Now you circumvent this policy of your company, then you walk away from your machine and forget to lock it, and someone uses your account to do something they shouldn't. It's not really our place to tell you how to circumvent your company's legitimate security policies. If you think they are too strict then you should approach your IT department, because what you're doing could, and should, get you fired in many companies. People being lax is the biggest security issue facing the IT industry.
yes, mom!
-
Oct 2nd, 2007, 01:08 PM
#8
Fanatic Member
Re: [2005] stop computer form locking?
I currently maintain a 10 minute time out lock on any device that joins our domain. This is most certainly due to a security risk. Circumvention of this policy will most definitely result in losing your privileges of a computer at your desk. Fancy trying to complete your tasks with out a pc to do so?
Explain why to your supervisor.
-
Oct 2nd, 2007, 01:58 PM
#9
Re: [2005] stop computer form locking?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|