Mobility Today Live is sponsored by BodyGuardz.
Mobility Today & Mobile Electronics News

    Home Hardware Store Software Forums News Reviews Podcasts Advertise Contact Us XML Feed
Login or register, it's free!
Recent Mobility Discussions
What do you think of the adv...
A software stack is made up of the operating system, the middleware and the applications. In short, the Android software stack is all the so...
by jake1496, 14 hours ago
Recent Mobility Reviews
Recent Mobility News
Mobility Today Store
Mobility Today Forums
Mobility Today Podcasts
Mobility Today Links



Welcome to the Community @ Mobility Today
Welcome to the fastest growing Mobile Technology discussion forums anywhere.
Try it out on your handheld browser, it works automatically.

Please register a username and join the other mobile enthusiasts... after all, it's free!
You can also checkout our great specials in our store

 
Thread Tools Display Modes
Old 07-17-2006, 08:04 PM   #1
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
Automatic Lock application

Here's application which automatically locks Windows Mobile 5 keys (via integrated device lock) when device enters standby. This work-arounds issue with HW6915's lock-bugs covered in previous posts,

- Use at your own risk
- Ensure that you have known good backup of all your data
- Author can not be held responsible for any kind of direct or indirect damage
caused by this softare
etc..

Autolock can be put into \windows\startup folder so it executes after soft-reset.

Manual :
- Execute autolock
- Close (=minimize application)
- If you want, you can stop monitorin power status change messages and
turn it back on (for any reason you may have ) with buttons

Todo :
- Hide window from task lists & MRU
- Prevent WM5 MM from unloading application
Attached Files
File Type: zip AutoLock.zip (4.2 KB, 691 views)
Jussi77 is offline  
Old 07-17-2006, 08:31 PM   #2
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
hmmm is it possible to prevent the ipaq from going into a forced admin screen locked state? I posted the details here. I'm hoping someone can figure out a keep alive util or other work around.

http://mobilitytoday.com/forum/showthread.php?t=12965
s4czech is offline  
Old 07-18-2006, 01:38 AM   #3
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
yes...

Quote:
Originally Posted by s4czech
hmmm is it possible to prevent the ipaq from going into a forced admin screen locked state? I posted the details here. I'm hoping someone can figure out a keep alive util or other work around.

http://mobilitytoday.com/forum/showthread.php?t=12965
it's possible and quite easy, i'll drop keep-aliver here within a day or two..
Jussi77 is offline  
Old 07-18-2006, 02:47 AM   #4
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by Jussi77
it's possible and quite easy, i'll drop keep-aliver here within a day or two..
thanks! I will be the next person who'll be waiting for this patch/hack ernestly!
zen is offline  
Old 07-18-2006, 06:53 AM   #5
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
KeepAlive

This utility prevents WM5 device entering into password lock (or suspended) state as long as utility is running...

- Use at your own risk
- Ensure that you have known good backup of all your data
- Author can not be held responsible for any kind of direct or indirect damage
caused by this softare
etc..
Attached Files
File Type: zip KeepAlive.zip (3.2 KB, 424 views)
Jussi77 is offline  
Old 07-18-2006, 08:31 AM   #6
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Quote:
Originally Posted by Jussi77
This utility prevents WM5 device entering into password lock (or suspended) state as long as utility is running...

- Use at your own risk
- Ensure that you have known good backup of all your data
- Author can not be held responsible for any kind of direct or indirect damage
caused by this softare
etc..
Cool thanks I'll try it out. This is one step closer to making life easier. It's perfect for when you require the ipaq screen to "on" for long periods of time such as GPS in the car. (with a power source hooked up)

The next goal is to find a way to keep the ipaq from going into a locked state but still having the option to save power by turning the screen off. (or going into a partal suspended state) Again, the root cause of this is an Admin "forced" policy screen lock that is way too short of a time out. It would be nice to not have to fiddle with entering a pin number just to mute/unmute the phone durring a long teleconf/phonecall.
s4czech is offline  
Old 07-18-2006, 09:22 AM   #7
roeland
Registered User
 
Join Date: Mar 2006
Posts: 406
roeland is on a distinguished road
and what about WM2003 users Jussi ?
roeland is offline  
Old 07-18-2006, 09:32 AM   #8
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
check my previous post on how to turn the lock option ... but this keepalive utility could be my backup
zen is offline  
Old 07-18-2006, 06:36 PM   #9
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
yes...

Quote:
Originally Posted by roeland
and what about WM2003 users Jussi ?
ok, there you go; following code is for PPC/WM2003(SE) and requires .NETCF (download from microsoft...)
Attached Files
File Type: zip KeepAlive_PPC2003.Zip (3.2 KB, 76 views)
Jussi77 is offline  
Old 07-19-2006, 12:40 AM   #10
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Quote:
Originally Posted by zen
check my previous post on how to turn the lock option ...
Could you please explain what you mean exactly? (and maybe a link)

I'm really hoping to find a way from keeping the admin forced screen lock from locking my screen so often with the screen off or in a semi standby state. (only an issue on the newest of wm5 devices with AKU2x rom)
s4czech is offline  
Old 07-19-2006, 02:29 AM   #11
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
Can you use Autolock and whenever you need to save power, just hit power button briefly ? (Or should standby mode still be automatic while keyboard locking is prevented ?)
Jussi77 is offline  
Old 07-19-2006, 02:35 AM   #12
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by s4czech
Could you please explain what you mean exactly? (and maybe a link)

I'm really hoping to find a way from keeping the admin forced screen lock from locking my screen so often with the screen off or in a semi standby state. (only an issue on the newest of wm5 devices with AKU2x rom)
the link is your original thread rleated to the similiar topic

anyway, it's a simple registry hack. go to \hklm\security\policies\policies,

look for the value name "00001023" and change the value from '0' to '1'.

this undo the grey-out of the lock setting, i.e. you are now able to control inactivity lock option as well as the duration of the inactivity. It works very well for me, except that this morning, when I open my 6965, somehow the option is gray out again. However, after resetting the value back to '1', and after a few sync and push mails, I have yet to see the option being gray out anymore, so will monitor further to investigate under what condition will such registry hack be reversed.
zen is offline  
Old 07-19-2006, 09:39 PM   #13
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Talking

Quote:
Originally Posted by zen
the link is your original thread rleated to the similiar topic

anyway, it's a simple registry hack. go to \hklm\security\policies\policies,

look for the value name "00001023" and change the value from '0' to '1'.

this undo the grey-out of the lock setting, i.e. you are now able to control inactivity lock option as well as the duration of the inactivity. It works very well for me, except that this morning, when I open my 6965, somehow the option is gray out again. However, after resetting the value back to '1', and after a few sync and push mails, I have yet to see the option being gray out anymore, so will monitor further to investigate under what condition will such registry hack be reversed.
wow, thanks, you rock.

I havnt see it reset back to 0, but I have a feeling it will somehow go back at some point durring a few active syns. Maybe someone can write an app that monitors that key and keeps the value set to 1.

Last edited by s4czech; 07-19-2006 at 09:48 PM..
s4czech is offline  
Old 07-19-2006, 11:12 PM   #14
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by s4czech
wow, thanks, you rock.

I havnt see it reset back to 0, but I have a feeling it will somehow go back at some point durring a few active syns. Maybe someone can write an app that monitors that key and keeps the value set to 1.
so far I have only seen it being resetted once. If it happens agian, this weekend I will probably write (my first!) utility program to check for this registry and update accordingly during system start up.
zen is offline  
Old 07-20-2006, 12:22 AM   #15
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
ok, so it was working great for a few hours. I just got back from the gym and it says

"Password policy settings require that you update your password at this time"

click OK

"Recent policy updates require that you renew your password settings. Press OK to continue"

The check box is marked (and grayed out again) I'm forced to set my password again. I chedked the 00001023 reg setting and the value is back to 0 again. I just manually set it back to 1. We'll see how long round two lasts.

It seems we need to find out another hack or else the policy will keep over writting it and forcing the set password screen to appear. For round two I increased the time out to 25 hours instead of shutting it off. Hopefuly this helps a bit.
s4czech is offline  
Old 07-20-2006, 02:30 AM   #16
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
few hours is alittle too fast. however, as what you have just done, I did not turn off the lock feature, instead I set it to 12 hours, and it has been working well for the last 36 hours.
zen is offline  
Old 07-20-2006, 01:24 PM   #17
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Quote:
Originally Posted by zen
few hours is alittle too fast. however, as what you have just done, I did not turn off the lock feature, instead I set it to 12 hours, and it has been working well for the last 36 hours.
ok, I've left it set to 24 hours and it's stayed for the past 12 hours of on and off phone/email use! Im totally happy. Thanks for finding the registry key. It really did the trick.
s4czech is offline  
Old 07-22-2006, 08:32 AM   #18
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
doesnt stick, time to brew up something?

bad news,

the key value got reset back to defaut. I can swith it back no problem. I get about 24 hours before it happens again. (not sure the exact amount of time)

good news,

no error message ever appears durring the reset.
(as long as yu only increase time and not disable it)
This means someone should be able t write an app that monitors the key and will reset the key value seconds or minutes after it's changed.

I use resco explorer with the registry plugin. It's great because resco remembers the last key you went do and goes right to it. It only takes me a copule of seconds to reset the key. This will hold me over until someone comes up with a way to auto change/monitor the key in the background.

Last edited by s4czech; 07-23-2006 at 06:26 AM..
s4czech is offline  
Old 07-23-2006, 10:34 AM   #19
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
if you post the key & value name (and what must be done to it) i can provide you a tool (5 mins of coding :-) )
Jussi77 is offline  
Old 07-23-2006, 12:22 PM   #20
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by Jussi77
if you post the key & value name (and what must be done to it) i can provide you a tool (5 mins of coding :-) )
I have create a utility (hopefuly with small footprint) to monitor the state of the registry and change to 1 if the value is set to 0.

my first windows program after 10 yrs so you got to pardon me if it's too big a footprint :P just install this CAB file and it'll copy to the start up folder and it'll thus monitor as long as you don't uninstall this utility

PS: a message box will pop up if there's the registry is set to 0, before resetting it back to 1.


edit: if you want to uninstall, run the stayunlock.exe in \windows\startup to quit the process, before going to setting > system > remove program to remove the program.

edit2: please download the zip file in the other post as I have added in shortcut link, so that uninstall will be straight forward without having to run stayunlock.exe just to quit the program.

Last edited by zen; 07-24-2006 at 01:03 AM..
zen is offline  


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:06 PM.