wood burning stoves*
The moose likes Meaningless Drivel and the fly likes Hate Forced Password Screensaver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Hate Forced Password Screensaver" Watch "Hate Forced Password Screensaver" New topic
Author

Hate Forced Password Screensaver

Gerald Davis
Ranch Hand

Joined: May 15, 2002
Posts: 872
At work, the IT department has changed our system so that if we don�t use our computers for ten minutes it automatically goes into the council screen-saver and we have to retype are password to get back in. In our office there is not enough computer to go around so we often share. It is to use a someone else�s computer to find that it has a lock on it that makes it impossible to know if the other person has finished using his application.

Is there anything I can do to stop the screensaver from appearing other then manually shaking the mouse.I don't have administrative privalages so my option are limited.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

You remind me of the good ol' days when Ctrl+Alt+Del could get around screensaver passwords and I could check my email at the local electronics franchises.

Anyway, there's some simple small apps that can set your mouse to continual motion. I think one might be called GhostMouse. There are some other "prank" applications (which might be less obvious what you are doing to the average passer-by) that shake the mouse cursor, which you could set to only shake by one pixel.

I used to use these programs to trick those banner ad programs like AllAdvantage back when they were popular (1999?). Before I discovered these programs I would set my mouse on a massage chair while I was away.
[ August 31, 2005: Message edited by: Marc Peabody ]

A good workman is known by his tools.
kayal cox
Ranch Hand

Joined: Aug 19, 2004
Posts: 376
Originally posted by Marc Peabody:
Before I discovered these programs I would set my mouse on a massage chair while I was away.


Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

YOu could write a java program that uses the Robot class to continually move your mouse around while you are away from the computer. There really is no good way around it other than keeping the mouse moving.

Or, you could build a lego mindstorm robot that tabs your spacebar for you every so often.


GenRocket - Experts at Building Test Data
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 804

Gerald, you work for a council! Got the same thing sort of problems where I work Cannot even get onto JavaRanch, or gmail were I work - furniture police.

Do you write software? I ask because I know that most local authorities are now pursuing a "buy rather than make" policy .

----------------
"A problem for every solution" - The British Civil Service


Regards Pete
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 804

Open a Dos (or whatever MS calls it now) window - and then stick one of those manuals / books on the space key. Old cobol manuals or one of those (many) orange VMS manuals, that litter large IT offices, may be useful for a change
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

I work at home. I find password-protected screensavers invaluable. My daughter once deleted all my Mozilla preferences six days after the latest backup; I was not happy.


[Jess in Action][AskingGoodQuestions]
Stephen Boston
Ranch Hand

Joined: Jul 14, 2005
Posts: 165
You could be dealing with GLBA issues at work. The screen saver issue is one of the items you could get written up here at the bank for violating.

I've gotten into the habit of just locking my desktop as I start to leave my desk.


Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 804

If you could get hold of a windows version of expect - and write a small program that keeps sending characters to the keyboard.
basha khan
Ranch Hand

Joined: Jan 26, 2002
Posts: 516
Originally posted by Gregg Bolinger:
YOu could write a java program that uses the Robot class to continually move your mouse around while you are away from the computer. There really is no good way around it other than keeping the mouse moving.

Or, you could build a lego mindstorm robot that tabs your spacebar for you every so often.


.What about a Robert?.
Gerald Davis
Ranch Hand

Joined: May 15, 2002
Posts: 872
I could not find any appropriate software, so I had to create my own. It is simple it just moves the mouse programmatically by one pixel every 7 minutes. I only tested it on XP but it should work on any windows.

Here is the Code
<CODE>

Option Explicit
Public m_nID As Long
Private Declare Function SetTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Private Declare Function KillTimer Lib "user32" _
(ByVal hwnd As Long, ByVal nIDEvent As Long) As Long

Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Private Const MOUSEEVENTF_MOVE = &H1 ' mouse move
Public n As Integer, capt As String

Public Sub StartIt()
SetTimer 0, 0, 420000, AddressOf TimerProc
End Sub

Public Sub TimerProc( _
ByVal hwnd As Long, _
ByVal lngMsg As Long, _
ByVal lngID As Long, _
ByVal lngTime As Long)
' hWnd: the window handle of the window
' associated with this timer.
' lngMsg: the WM_TIMER message (275, or &H113)
' lngID: the Timer's identifier (the same value
' returned by SetTimer)
' lngTime: milliseconds since Windows started (the
' same value as returned by the GetTickCount
' API function)

' Do whatever you want done every milliseconds
' here:
If n = 1 Then
Call mouse_event(MOUSEEVENTF_MOVE, -1, 0, 0, 0)
n = 0
Else
Call mouse_event(MOUSEEVENTF_MOVE, 1, 0, 0, 0)
n = 1
End If
Debug.Print ("test")
End Sub
</CODE>
 
wood burning stoves
 
subject: Hate Forced Password Screensaver