API for enable/disable device lock ? - Windows Mobile Development and Hacking General

anybody knows if API exists to disable or enable device lock? I'm not talking about the security policy, but the one that could check or uncheck "prompt if device unused for" ?

Related

Need help on Device Lock Reg key location

I'm looking for the reg key for Device lock.
My device lock preference was enforced to the security rule by exchange server. Basically it enforce my device auto lock after 15 mins which is too short. So I'm looking if I can modify either disable the Device Lock function or I can change the time out length.
Thanks
Anyone familiar with this area?Any Suggestion would be helpThanks

6.5 lockscreen?

I have 6.5 on my HD and was curious if I could use the lockscreen but without a password so I could keep the slider and notifications, I just dont want to enter a password each time thanks!
the only time you have enter the password, is if you setup the pin function on it, otherwise the slide fuction in wm6.5 works as normal
iky10 said:
the only time you have enter the password, is if you setup the pin function on it, otherwise the slide fuction in wm6.5 works as normal
Click to expand...
Click to collapse
if i do not enter "setting">>"lock" and click the "prompt if phone unused for", the unlock slide to application screen will not appear.
but if choose not to enter the pin, i cannot select the "prompt if phone unused for"
is there a way to activate the unlock slide to application screen but no need to input password everytime??
million thanks.
Forced lock by MS exchange
Yes this is a huge problem. I have the pin lock force on by MS exchange security settings. In WM6.1 this only affecxted when the phone was turned on not everytime it is locked.
This cab (from another thread) removes the lock enforced by Exchange.
Works on my 6.1 and I believe on 6.5 too.
Run it, then go to you Lock settings and the tick box to remove lock is no longer greyed out ...
Alternatively here's the reg setting to edit:
Enable/Disable Exchange Security Policy
Registry Key: HKLM\Security\Policies\00001023
To enable it: Set value to 0
To disable it: Set value to 1
I used similar registry tweak in WM6.1 to get away with the exchange security policy but not working now for the new WM6.5. eg. I can change the inactivity minutes AEFrequencyValue to long enough but still the phone asks for unlock password frequently.
mobiler2 said:
I used similar registry tweak in WM6.1 to get away with the exchange security policy but not working now for the new WM6.5. eg. I can change the inactivity minutes AEFrequencyValue to long enough but still the phone asks for unlock password frequently.
Click to expand...
Click to collapse
I have the Same Problem.
I'm force to have a Password from the exchange security Policy.
I have set the "Promt if phone unused for " to 30 Minutes, but each time the the phone goes to sleep, the Password is asked again.
Did someone have a solution without disabling Exchange Policy or installing S2U2??
Thanks
chemical349 said:
if i do not enter "setting">>"lock" and click the "prompt if phone unused for", the unlock slide to application screen will not appear.
but if choose not to enter the pin, i cannot select the "prompt if phone unused for"
is there a way to activate the unlock slide to application screen but no need to input password everytime??
million thanks.
Click to expand...
Click to collapse
If you disable lock in setting > lock, i.e. untick 'Prompt if phone unused for' and just use slider functionality in wm6.5 you don't need to enter PIN any more.
Install attached cab (Smart Lock) and once installed go to settings > system > smart lock and ensure that both 'wm6.5 new lock' and 'suspend lock' are ticked, then soft reset. Now each time you turn screen off device will lock and to unlock it you use the slider
I installed the Stay Unlock cab and I still have to enter my password when my phone reboots. Until now, for day, it did not ask me for a password after 15 mins of inactivity, but today, it is again asking me for passwd every 15 mins if I don't use the phone. I am not even able to ever uncheck the setting for Lock which turns on requiring passwd - that setting is grayed out for me even after installing the cab. Could someone please throw some light on this? Thanks.
ziggyred said:
This cab (from another thread) removes the lock enforced by Exchange.
Works on my 6.1 and I believe on 6.5 too.
Run it, then go to you Lock settings and the tick box to remove lock is no longer greyed out ...
Alternatively here's the reg setting to edit:
Enable/Disable Exchange Security Policy
Registry Key: HKLM\Security\Policies\00001023
To enable it: Set value to 0
To disable it: Set value to 1
Click to expand...
Click to collapse
==========================
in 6.5 the key is a bit different (policies twice):
Enable/Disable Exchange Security Policy
Registry Key: HKLM\Security\Policies\Policies\00001023
To enable it: Set value to 0
To disable it: Set value to 1
WM 6.5 Company Policy Activated Device Encryption
I recently set up Exchange e-mail on my WM 6.5 AT&T Tilt 2 (Touch Pro 2), which resulted in activating device encryption. Although I check the email box to remember my password, the device constantly asks me for a password.
I've since removed the Exchange e-mail account (I'll go back to synching rather than direct connect as this is too much of a hassle). However, I can't seem to turn off device encryption.
After reading this forum, I've tried the "Stay Unlocked.cab" and the registry settings (e.g., HKLM\Security\Policies\Policies\00001023 setting) to no avail. The "Prompt if Phone unused for remains grey/unselectable.
One thought: When I checked the 1023 key setting it was 0 so I set it to 1. That had no effect. But reading the post 0 = enable so I tried setting the value to 0 and got a message popup: "Exchange server has just enforced security policy required for Active Sync." So something of Exchange is still running or enabled...how can I turn this off?
WM 6.5 Company Policy Activated Device Encryption
Deleting the Exchange connection in Active Sync did the trick. That was so easy I do feel a bit foolish...

[Q] Security questions

I have had my Nexus 10 for about 2 months now, and I have always had the PIN options for unlocking the tablet. However, I am now trying to get rid of security but when I go into security under setting, I am unable to select:
None
Slide
Face Unlock
All three are grayed out and it says "Disabled by administrator, encryption policy, or credential storage". I've been looking around settings and can find no way to fix this. I have no trouble picking the other three options, pattern, PIN or password, but and have no idea why those 3 are grayed out.
AW: [Q] Security questions
Probably because you use either a certificated WiFi connection, VPN or a similar connection you had to setup first. Some connections require a PW to bet set to ensure authentification
rmarcosb said:
I have had my Nexus 10 for about 2 months now, and I have always had the PIN options for unlocking the tablet. However, I am now trying to get rid of security but when I go into security under setting, I am unable to select:
None
Slide
Face Unlock
All three are grayed out and it says "Disabled by administrator, encryption policy, or credential storage". I've been looking around settings and can find no way to fix this. I have no trouble picking the other three options, pattern, PIN or password, but and have no idea why those 3 are grayed out.
Click to expand...
Click to collapse
Go to "Settings > Security > Device Administrators" and check if there are any administrators defined and checked there.
Admins
Herman76 said:
Go to "Settings > Security > Device Administrators" and check if there are any administrators defined and checked there.
Click to expand...
Click to collapse
It says no available device administrators. How do I change that?
rmarcosb said:
It says no available device administrators. How do I change that?
Click to expand...
Click to collapse
You don't want device administrators. aritrea's post is likely the answer to your question.

[Q] Knock Code option disabled/grayed out

On my Sprint LG G2, the option to select the screen lock setting of "Knock Code" is disabled/grayed out with the following message:
Disabled by administrator, encryption policy, or credential storage
(the options to select "None", "Swipe", and "Face Unlock" are also disabled/grayed out)
Any way to figure out what is causing this, and to correct it?
Thanks!
mbressman said:
On my Sprint LG G2, the option to select the screen lock setting of "Knock Code" is disabled/grayed out with the following message:
Disabled by administrator, encryption policy, or credential storage
(the options to select "None", "Swipe", and "Face Unlock" are also disabled/grayed out)
Any way to figure out what is causing this, and to correct it?
Thanks!
Click to expand...
Click to collapse
Two options come to mind:
Is your device encrypted?
Do you have maybe a connection to a corporate Exchange server? That may be adding device policies.
go to setting - security - certificates management - clear credentials

[Q] weird security setting

I've stumbled upon this google security setting:
http://imgur.com/Rq1syoH
"Scan device for security threats". According to Google, "when this setting is on, it regularly checks your device activity and prevents or warns about potential harm."
That does not explain anything to me. Does anyone know what exactly this setting does?

Categories

Resources