Hi!
Do anyone have a pointer or information regarding toggling lock (pin/password) on or off programatically?
I bet there is some regedit setting that could be written, but that demans a soft reset each time, doesn't it?
I would like to control lock enabled/disabled from some background process..
Anyone?
Related
The application I'm developing needs the device to always remain on, even until the battery runs out, so I need to disable the auto power off feature if it has been enabled.
I've tried using
Code:
SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT,...);
but it just doesn't work. Returns success but nothing changes, not even the registry keys where the values are held. I found the registry settings in HKLM\System\CurrentControlSet\Control\Power\Timeouts, and played around with setting them, but they aren't picked up until a soft reset occurs which isn't a viable solution.
So the first thing I need to know is what the difference between the reg keys
HKLM\System\CCS\Control\Power\Timeouts\BattSuspendTimeout:dword
and
HKLM\System\CCS\Control\Power\BattPowerOff:dword
are.
They both seem to contain the same value, and similar names.
The second thing I need to know is what needs to be done to notify the system that the idle timeout has changed, and to reload the value from the registry. I tried an HWND_BROADCAST of WM_SETTINGCHANGED but to no avail. How does the system dialog where you can change the idle timeouts inform the system those values have changed??
Thanks,
Timbo.
Hi
I did notice that sometimes, the POWER settings on my HD change by thenselves.
The backlight time values for 'on battery' and 'on external power' are increased drmaticaly. The The Backlight level values are decreased to their minimum values (although I use the 'auto adjust backlight').
I suspect that one of the programs I'm using causes all that.
I had installed amongst others the following programs:
S2U2
WkTASK
Please advice
I got similiar problem, these options are checked, but somehow, it will become unchecked.
I don't have S2U2 installed, I guess it is by other means......
Anyone can advice on this?
Some Navigation Applications alter these settings, cuz you need the device to be always ON while using navigation!
But I guess the real cause is that from the Navigation application itsself and/or Exiting the application in a wrong way i.e.: Terminate it, not using the EXIT Menu.
Give it a try, and let us know
Willy
I've got a problem : when my phone is ringing, the automatic rotation works. So, for example, when I draw the phone out of my pocket to pick-up, it often rotates horizontally and I incidentally press the "hang up" button. I have no idea witch program exactly is causing this, but please tell me how to disable the automatic rotation oh phone ring. I have Gyrator and BSBTweaks installed and I've searched, but I haven't managed to do it.
:? Anyone?
Since you are using Gyrator, you must have set it to rotate all apps. If you don't want your Dialer to rotate automatically, then you must make sure that cprog is included in the exception list.
Rather than use Gyrator, I would suggest you update your registry with the G-Config Whitelist. Just make sure that cprog is not in that list.
You can find the G-Config entries in the link below.
http://www.4shared.com/dir/24155450/7800c381/Rhodium.html
There're s no such thing as an 'exeptions list' in Gyrator, but I don't use it all the time. I suppose the problem is in BSBtweaks - I tried adding "phone" to the rotating apps there and then removing the check-mark, but it didn't work. Then I tried downloading the file you suggested, but even after adding it to the registry the phone would still rotate when someone's calling. I'm starting to feel in a dead end here :/
Check the program (phone / cprog) in BSB Tweaks and then hit the Options softkey below and click on Remove Selected Apps.
Soft Reset and you should be fine. Make sure you that Gyrator does not startup again.
Damn. I did exactly as you told, but it didn't work out. The thing is, even after I remove a program from the "rotation" list in BSBTweaks, it is back there again after soft reset. So I've decided to uninstall the program, then to apply the registry file you mentioned earlier again and then to reset the phone. But even then, when I rotate the phone during a call, the display rotates ;/ I'm starting to wonder if there's something else forcing it to do so, but I'm not in the mood for hard reset ;/
The REG file I linked you to contains most of the programs that people could install that would need rotation INCLUDING the phone.
BSB Tweaks was supposed to help you to remove the phone entry without going into the registry.
Ok, nevermind that.
Uee any registry editor and go to
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
Delete "Phone/Lock/Compose/Pictures"="Dialog"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
Delete "Phone/Lock/Compose/Pictures"="\\Windows\\cprog.exe"
That should fix it. Make sure that you don't have Gyrator / ChangeScreen / any other rotation program installed.
I've been scouring the forums with no luck so far, I need a way to disable the lock that is attached to a short press of the End Key on my Touch 2's.
Reg Tweak, app any suggestions welcome, its causing me quite a problem, I want to roll these out for a corporate app and the kiosk I use is not blocking this operation.
Cheers - Sam
i m also searching for the same solution , any help ?
if you search by google you can find solution. For this time i write solution but in future search first with google or in this forum with search tools
For disable lockscreen you can modify this
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen:Enable "0"
You can use ceregedit (with pc) or PHM registry editor
fabcal said:
if you search by google you can find solution. For this time i write solution but in future search first with google or in this forum with search tools
For disable lockscreen you can modify this
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen:Enable "0"
You can use ceregedit (with pc) or PHM registry editor
Click to expand...
Click to collapse
Dude,
I've tried doin that but all u're gonna do is invoke the old lockscreen from previous WM version... I think what the other guy wants is totally no lockscreen at all =)
yep
tried that, we really need the lock and screenlock removing so this button does nothing at all
lockscreen dll?
I think that the function is given by dll lockscreen.dll. Tonight I try to replace it and see what happens. We'll let you know later.
hi, I was trying some software in my Touch and I got myself into situation where my phone did not lock up after pressing "power off" button but I was still able to lock the screen using Lock software button/icon. It was simply result of installing S2U2 and configuring it as default lockscreen.
If you perform these steps only known way to return to default state is hard reset!
Install S2U2.
right after installation goto start menu > directory s2u2 > click on S2U2 and it should se itself.
Uninstalll S2U2
in settings > lock set your default lock screen
nohandle said:
hi, I was trying some software in my Touch and I got myself into situation where my phone did not lock up after pressing "power off" button but I was still able to lock the screen using Lock software button/icon. It was simply result of installing S2U2 and configuring it as default lockscreen.
If you perform these steps only known way to return to default state is hard reset!
Install S2U2.
right after installation goto start menu > directory s2u2 > click on S2U2 and it should se itself.
Uninstalll S2U2
in settings > lock set your default lock screen
Click to expand...
Click to collapse
Well you can recover the original lock screen and everything by downloading this file http://acs2.mstreme.com/download/RestoreWM65DeviceLock.cab.
For more info check s2u2's FAQ, under WM 6.5, "Q. How to restore the WM6.5 built-in lock?", here http://67.43.3.117/~acs2co/S2U2-faq.html
disable in WM6.5 the Key Lock / Keylock at Standby
I find a possibility to deactivate the Key lock in standby at Windows Mobile 6.5 :
with this registry key:
Add a new "DWORD" value
in HKEY_CURRENT_USER/ControlPanel/Keybd
Name: DeviceLockWhenSuspend
Value: 0
after this take a softreset and have fun
I am creating a package that runs a script to make changes to the registry of a windows mobile 6.1 device.
can anyone point me in the direction of a list of all registry options and values?
I need to change:
BT Select to Microsoft
Backlight settings to never turn display off
Turn ClearType on
disable the turn of device if not used for..
can anyone help me with this?
Many Thanks
These registry settings are different per device. You will have to search for Your device-specific settings and test them first to be sure.