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
The next big (webOS) thing
Maybe you've heard that Palm webOS 2.0 is coming. Many of the details are still under wraps, but webOS developers participating in Palm’s ea...
Forum: palm Pre
by David Ciccone, 2 days 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-23-2006, 08:03 PM   #21
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Thumbs up

Cool, thanks Zen I'll test it out.

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 :-) )
Hi Jussi77, I'm happy to see another ce coder interested in this. Please let us know what you think of Zen's new util. The goal is to have it keep the value set to 1 silently in the background if possible. If we have to click something due to the way MS acknowledges registry changes then that's ok too. silently is prefered though.

Here are the details once again:

HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1023

(DWORD Value) (Base Dec)
We need to keep it set to 1

The key will change back to 0 about once a day.


thanks!
s4czech is offline  
Old 07-23-2006, 11:59 PM   #22
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
hehe .. s4czech, I can imagine the level of fear you have when you hear that I have not developed windows application for more than 10 yrs

In anycase, I have modify the program slightly such that it'll make use of the notification bubble to inform user of the event where the registry has been revert back to 0 by the exchange server, instead of using pop up box. With that, it's probably as silent as it can be, as the notification bubble will dismiss automatically in 10 second if you don't hit on the dimiss softkey. (the reason why a notification message is still there is to validate that the program is still sane :P)

Basically, the code is quite simple, set the registry notification event to monitor the specific registry key in question. IF it's change to 0, the program 'wakes up' and change it to 1, and send the notification bubble message.

If you run the program again when it's already running, then it'll quit gracefully (note: a notification message is sent notifying you that the monitoring has stopped).

Quote:
Originally Posted by s4czech
Cool, thanks Zen I'll test it out.



Hi Jussi77, I'm happy to see another ce coder interested in this. Please let us know what you think of Zen's new util. The goal is to have it keep the value set to 1 silently in the background if possible. If we have to click something due to the way MS acknowledges registry changes then that's ok too. silently is prefered though.

Here are the details once again:

HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1023

(DWORD Value) (Base Dec)
We need to keep it set to 1

The key will change back to 0 about once a day.


thanks!
Attached Files
File Type: zip Zenyee.com Stay Unlock.zip (4.0 KB, 1602 views)
zen is offline  
Old 07-24-2006, 03:46 PM   #23
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
Cool, thanks for the good work. I just installed it for the first time moments ago. I'll give it the old 24 hour test and let you know how it goes. This might just be perfect then ! I love how anyone can make a work around for just about anything. Thanks again! *high five*
s4czech is offline  
Old 07-25-2006, 01:08 AM   #24
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
cool. I use phm registry to change to 0 manually, to test it and it works.

yesterday evening, i heard a notification alarm going off from my 6965, so out of curiousity, I turn on to check, and i receive the bubble message 'exchange server has just enforced security policy for activesync'. So indeed the exchange server policy enforcement had kicked in again (interestingly, seems to be 24 hrs after its last enforcement) and this time round, my little utility wakes up and reset it back to 0 again

so it's working alright. :P
zen is offline  
Old 07-25-2006, 04:16 AM   #25
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
It works! I only have to dismiss the one bubble message about security once a day now. This is WAY better then having to enter pin number dozens a times a day. It was very frustrating to buzz someone in the door via my cell phone when i have to bubble around entering a pin first. I'm ready for quick action now, YES!

Three cheers for ZEN ! ! ! (first program out of a mini 10 retirement is fantastic!)

I bet 100's of thousands of world wide frustrated wm5 users could benefit off of this app. It's one thing to protect the devices of CEO's and VP's. It's another to project a device that has no private data, only occasional corp email use. I mostly just want my contacts and calendar sync'd up. (95% personal use) I now have the best of both worlds with out having to obey a silly screen lock. If they don’t force screen locks on my laptop, why cram it down the throat of windows mobile phones right?
s4czech is offline  
Old 07-26-2006, 12:44 AM   #26
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
glad that you find it useful , and I also verified that the bubble message will beep every 24 hours (if you set the timeout to 24 hours) as I got my 2nd notification just yesterday evening again, 24 hrs after the 1st Btw, you need not dismiss the message as it'll automatically dismissed by itself in 10 sec (or was it 15? :P).

Actually, with the MSFP, they already have the capability to wipe out the device remotely, so I don't understand why they still need to do a activity lock (I mean, if I lose it, I will immediately report to my admin to trigger a wipe out)

anyway, hope this little utility helps. If I have my way, I am going to write a SMS chat utility, but workload is increasing so I probably need to wait till my next FTO to get this going.
zen is offline  
Old 07-26-2006, 03:45 AM   #27
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
so far mine beeps with the bubble message around 12:20AM. (two days in a row) I wonder how I can get the 24 hour beep to happen durring the day say around 12:20PM instead.
s4czech is offline  
Old 07-26-2006, 01:29 PM   #28
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by s4czech
so far mine beeps with the bubble message around 12:20AM. (two days in a row) I wonder how I can get the 24 hour beep to happen durring the day say around 12:20PM instead.
let's try this. make sure the stayunlock program is not running (otherwise whatever you do will be undone). Set the policy parameter to '0', i.e. security is enforced. wait till say 12noon, then you set it to 1, and then set the expiration duration to 24 hrs. see whether exchange server will re-enforce the security again 24 hrs later
zen is offline  
Old 08-02-2006, 06:03 AM   #29
s4czech
Supporter
 
s4czech's Avatar
 
Join Date: Jul 2004
Location: California
Posts: 1,745
s4czech is on a distinguished road
I didnt try that yet, but I just wanted to say everything is still working great!
I've been treating my ipaq as an appliance the past week. (as you should, meaning I'm just "using" it, and havnt given much thought this week to tweaking anything)

I'm 100% happy as is. = )
s4czech is offline  
Old 08-17-2006, 08:08 AM   #30
JDpohl
Registered User
 
Join Date: Aug 2006
Posts: 1
JDpohl is on a distinguished road
Bubble disappears but not Notification

Zen:
Thanks for the utility. I have "strange" behavior in that the bubble disappears, but the Notification tag persists?! I am curious as to how the program actually works, is it possible that you could pass along the source?
Quote:
Originally Posted by zen
hehe .. s4czech, I can imagine the level of fear you have when you hear that I have not developed windows application for more than 10 yrs

In anycase, I have modify the program slightly such that it'll make use of the notification bubble to inform user of the event where the registry has been revert back to 0 by the exchange server, instead of using pop up box. With that, it's probably as silent as it can be, as the notification bubble will dismiss automatically in 10 second if you don't hit on the dimiss softkey. (the reason why a notification message is still there is to validate that the program is still sane :P)

Basically, the code is quite simple, set the registry notification event to monitor the specific registry key in question. IF it's change to 0, the program 'wakes up' and change it to 1, and send the notification bubble message.

If you run the program again when it's already running, then it'll quit gracefully (note: a notification message is sent notifying you that the monitoring has stopped).
JDpohl is offline  
Old 08-20-2006, 09:11 PM   #31
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by JDpohl
Zen:
Thanks for the utility. I have "strange" behavior in that the bubble disappears, but the Notification tag persists?! I am curious as to how the program actually works, is it possible that you could pass along the source?

apparently it's how WM5 works!

nothing special about the code, if you have the api manual, it basically call the addnotification api ...
zen is offline  
Old 10-04-2006, 01:09 AM   #32
erid mool
Registered User
 
Join Date: Oct 2006
Posts: 1
erid mool is on a distinguished road
Error message on install

I tried to install the autolock software, but I get an error when I click on the .exe:


toka testi needs to close, we are sorry for the inconvenience.

any ideas??

thanks,
e
erid mool is offline  
Old 10-04-2006, 01:47 AM   #33
whosrdaddy
Registered User
 
Join Date: Mar 2006
Posts: 52
whosrdaddy is on a distinguished road
Jussi, I'm a little bit confused here. the "autolock" feature is already there?
(hit power for a while and click on "All keys Lock"). Or is this some other feature??
whosrdaddy is offline  
Old 10-05-2006, 12:43 PM   #34
elliott_keith
Registered User
 
Join Date: Oct 2006
Posts: 8
elliott_keith is on a distinguished road
My AutoLock

Ok, I was inspired to write my own locking program after using the AutoLock.zip application posted by Jussi.

I didn’t like the default lock that came with my hw6945 because I had to unlock it just to glance at the today screen (to see battery level, time, date, etc…)

Unlike Jussi’s program, this one is not memory resident. It uses the notification database to launch a fast native application at the wake up event. This uses the built-in device lock with a keystroke. There is also a toggling application that requires the .NET CF v2.

Originally I had just a single managed executable that would lock and do toggling but I didn’t like the startup speed when the device resumed from stand-by. The code is still there if you want to uncomment & recompile as a fully managed app. The native fast locking executable is compiled against PPC2k3 ARM, but it is so simple that it could be recompiled for any platform/processor.

I’ll probably rewrite this with the SHDeviceLockAndPrompt() function at some point, but that’ll only work on WM5+ devices.

No warranties come with this code/application. Feel free to modify and redistribute, just drop me a line if you find it useful.

Source Code (Visual Studio 2005)
http://www.intelliott.com/apps/produ...ck2_Source.zip

ARM CAB Device Installer (PPC 2K3; .NET v2)
http://www.intelliott.com/apps/produ...Lock2Setup.CAB


Thanks,
Elliott
http://www.intelliott.com

Last edited by elliott_keith; 10-05-2006 at 12:51 PM..
elliott_keith is offline  
Old 10-06-2006, 11:59 AM   #35
skossman
Registered User
 
Join Date: Feb 2006
Posts: 15
skossman is on a distinguished road
Registry Edit

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..
If I download your file, do I still have to use a registry editor to manually change the setting the first time, or will your program handle it by itself?

Also, what utility do you reccomend to backup all your data?
skossman is offline  
Old 10-09-2006, 07:26 AM   #36
skossman
Registered User
 
Join Date: Feb 2006
Posts: 15
skossman is on a distinguished road
Jussi77, still waiting to hear back from you.

Quote:
Originally Posted by skossman
If I download your file, do I still have to use a registry editor to manually change the setting the first time, or will your program handle it by itself?

Also, what utility do you reccomend to backup all your data?
I rather not mess around with the registry if I don't have to, (plus I don't have an editor to do it).
skossman is offline  
Old 10-09-2006, 08:47 AM   #37
Jussi77
Registered User
 
Join Date: Aug 2005
Posts: 201
Jussi77 is on a distinguished road
No you don't have to do anything manually with the registry - autolock does (and undos if needed) those changes,
Jussi77 is offline  
Old 10-09-2006, 11:51 AM   #38
skossman
Registered User
 
Join Date: Feb 2006
Posts: 15
skossman is on a distinguished road
net framework

Quote:
Originally Posted by Jussi77
No you don't have to do anything manually with the registry - autolock does (and undos if needed) those changes,
When I tried to unzip your file, I got a message that I needed .Net Framework. What does that mean?
skossman is offline  
Old 10-09-2006, 01:04 PM   #39
skossman
Registered User
 
Join Date: Feb 2006
Posts: 15
skossman is on a distinguished road
What's next?

Quote:
Originally Posted by zen
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.
After I unzip the file, I have a file called "Zenyee.com stay unlock.cab". What do I do next?
skossman is offline  
Old 10-09-2006, 09:24 PM   #40
zen
Registered User
 
Join Date: Jul 2005
Posts: 595
zen is on a distinguished road
Quote:
Originally Posted by skossman
After I unzip the file, I have a file called "Zenyee.com stay unlock.cab". What do I do next?
just copy this cab file over to your device, and run it from there which will trigger installation of the files ..
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:08 PM.