Removing Application Lock on Windows Mobile Standard Devices

MobileJaw-ApplicationLock Now that we know about Application Lock and the general principles behind it, we need to look at how to remove it from our phone so that you can install any application and make more customizations to your device.

Using an XML Provisioning file, you can load and change a number of settings, more commonly referred to as Configuration Service Providers, on your Windows Mobile device. You can find a really good list of the different Configuration Service Providers that can be changed here on MSDN. Depending on the configuration service you want to set, there are different delivery options available to use. When it comes to Application Lock, we’re interested in 4 specific settings.

Security Policy 4102 – This policy decides if the device can run unsigned applications. A value of zero (0) means that it’s locked and that no 3rd party signed applications, like Mobile2Market will be allowed. A value of one (1) means that the setting is unlocked and that 3rd party signed applications should be allowed to run. This policy is related to the following registry location: HKLM\Security\Policies\Policies\00001006. We need to set this to the unlocked state of 1.

Security Policy 4122 – This policy determines if a user should be prompted when an unsigned application attempts to run. The settings are reverse of 4102. A value of zero (0) means that there are no prompts. A value of one (1) means that the security is turned on and that you will be prompted when a unsigned application attempts to run. This policy is related to the following registry location: HKLM\Security\Policies\Policies\0000101a. We need to set this value to the unlocked state of 1. However, that means that we will be prompted when unsigned applications attempt to run.

Security Policy 4123 – This policy decides if the device should act as a two-tier or one-tier security. A value of zero (0) means that the device will act in the two-tier security profile. A value of one (1) means that it would act in the one-tier security profile. This policy is related to the following registry location: HKML\Security\Policies\Policies\0000101b. By default, Windows Mobile Standard devices have this value set to 0 – two-tier security. We need to set this to a value of 1.

Security Policy 4097 – This policy determines what level or rights a desktop computer has when making calls over the ActiveSync (RAPI) channel. A value of zero (0) means disabled and that an application running on the desktop computer has no rights on the mobile device. A value of one (1) means allowed and that an application running on the desktop computer has access and rights on the mobile device. a third value of two (2) means restricted and that an application on the desktop computer has the same level of permissions as the user on the device. This policy is related to the following registry location: HKLM\Security\Policies\Policies\00001001. We need to set this value to 1.

Now that we know what security policies we want to change and what registry settings they reflect, we can just change those registry values and be done, right? Unfortunately, it’s not that easy. Remember, the device is still application locked at this point. So we need an application that is considered to be trusted to be installed on the device to make changes to those values. In the past, there has been hacks that allowed you to application unlock your device. They typically involved a number of steps like; changing a registry value or two, then rebooting, then running a desktop tool, and then rebooting, and then maybe, just maybe, you might be able to change the rest of the registry and have an unlocked device.

Now that we know the security policies we need to work with, we can put them together into an XML format that can be run on the device. Here’s the resulting XML:

<wap-provisioningdoc>
<characteristic type=”SecurityPolicy”>
<parm name=”4102″ value=”1″ />
<parm name=”4122″ value=”1″ />
<parm name=”4123″ value=”1″ />
<parm name=”4097″ value=”1″ />
</characteristic>
</wap-provisioningdoc>

Now we need an application that has privileged access on the device so that we can use it to change the security policies. Unfortunately, applications that are privileged signed are not easy to come by. Typically, the privileged access is reserved applications that are aimed at enterprise users and not the average consumer. SOTI, the makers of Pocket Controller Pro, have just such a product – MobiControl. MobiControl is a full featured device management tool that is privileged signed, allowing you to have full control over every aspect of your fleet of mobile devices.

Once you’ve downloaded and installed MobiControl, you simply build an agent for your device, install it onto said device and then you can use that agent to run the XML Provisioning document outlined above. SOTI offers a full featured 30 day trial version. Which means you don’t have to pay anything to do this.

But that seems like a lot of work just to disable the application lock on your device. So I’ve gone ahead and built an agent that will automatically disable Application Lock on Windows Mobile Standard devices during the agent install. Simply download MobileJaw-ClearSecurity-MobiControl and run it on your device. After the install is complete, open the Start menu / Settings / Remove Programs and be sure to uninstall SOTI MobiControl from your device. If you leave this agent on your device it will have an adverse effect on your battery life as the agent will continually try and connect back to the device management server. I used a non-routable internal IP Address (192.168.1.128). So there’s no worry about it actually connecting back to some backend server and uploading all your data.

MobileJaw-ClearSecurity-Confirmation.png

That’s all there is to it. Just install and remove this agent and then Application Lock will be disabled on your device. This works on any Windows Mobile Standard device running Windows Mobile 5, 6, or 6.1. So it doesn’t matter if you have a BlackJack, Ozone, Jack, Snap, Matrix Pro, or Moto Q. It even works on upcoming 6.5 devices from HTC, LG, Samsung, Motorola, and other manufacturers. It’s a little early to say if it will work on Windows Mobile 7 devices. But we’ll cross that bridge when the time comes.

UPDATE (24-Oct-2009) – With the release of Windows Mobile 6.5, application lock can now be found on touch screen devices. This was never the case before. If you have a touch screen device (Windows Mobile Professional), please use this CAB file – MobileJaw-ClearSecurity-MobiControl-TouchScreen – to remove application lock on your device.

Anyone with non-touch screen devices (Windows Mobile Standard) should continue to use this CAB file – MobileJaw-ClearSecurity-MobiControl – to remove their application lock.

About Mike Temporale

Mike Temporale has written 520 posts on Mobile Jaw..

Mike Temporale grew up fascinated by computers since an early age. His first hands on with a computer came when he was 7 years old and a travelling lab of Commodore PET computers made a stop at his school. Hooked on the new world these devices offered, he took any chance possible to get in front of a computer. When Compaq launched the iPaq 3600, he was hooked again. This time on a whole new world of mobile computing. Today, Mike spends his day helping clients deploy and manage their mobile device around the world. From installing custom software, to locking and securing data, and everything in between. He is also the Editor in Chief at Mobile Jaw - a site focused on today's mobile world.

Related Posts with Thumbnails
  • http://twitter.com/mobilejaw/status/3756769870 MobileJaw

    Removing Application Lock on Windows Mobile Standard Devices – http://tinyurl.com/l83p2x

  • http://twitter.com/miketemporale/status/3757151430 MikeTemporale

    Sweeeeet ! RT @MobileJaw: Removing Application Lock on Windows Mobile Standard Devices – http://tinyurl.com/l83p2x

  • http://twitter.com/darrenhumphries/status/3757559623 Darren Humphries

    RT @MobileJaw: Removing Application Lock on Windows Mobile Standard Devices – http://tinyurl.com/l83p2x

  • http://twitter.com/pocketnowtweets/status/3757647123 pocketnow.com

    RT @MobileJaw: Removing Application Lock on Windows Mobile Standard Devices – http://tinyurl.com/l83p2x

  • http://www.svpocketpc.com Pony99CA

    Looks like a nice tool to help people out. Good job.

    Steve

    P.S. I think you meant leaving it installed will have an “adverse” effect on battery life. :D

  • Earl

    Worked great for a first time smartphone user.

    Was finally able to install the Google mobile apps package.

    Tnx, Earl

  • http://twitter.com/johnobeto/status/3792236776 John Obeto

    Two articles from @MikeTemporale Understanding & removing Application lock on WinMo Std devices: http://bit.ly/3YaPUq & http://bit.ly/1siDaL

  • Simon Mason

    Hi Mike, I have installed the .cab file on my phone (HTC Snap S523) and execute it from the My documents folder and I get an error message. “SOTI MobiControl Device Agent” cannot be installed.

    To try installing again to a different location, choose a location.

    Device

    I have selected both the device and the Storage Card and I end up with the error “Installation of MobileJaw-ClearSecurity-MobiControl.cab was unsuccessful.

    Any ideas?

  • Simon Mason

    Nevermind, I found that the cab had to be installed on the SD Card and ran from there also.

  • http://www.MobileJaw.com Mike Temporale

    @Pony99CA – Thanks Steve! Silly Spell checker. I’ll fix it up now.

  • http://www.MobileJaw.com Mike Temporale

    @Simon Mason – Where did you get the Snap from? is this an HTC version? or is it from T-Mobile, Verizon, Telus, or some other carrier?

    The reason I ask is because it shouldn’t failed. The only reason I can think of is that there wasn’t enough free space on the internal memory of the device. Do you have it loaded with programs and/or music?

    I will try it on my Snap when I get into the office tomorrow.

  • Simon Mason

    Its a Telecom New Zealand HTC Snap 523. It definately had enough space on the Device. I’m just grateful that it worked. What a pain this application lock stuff is.

  • http://www.MobileJaw.com Mike Temporale

    @Simon Mason – I tested it on my T-Mobile Snap and it installed without any problems. Not sure why you had issues, but I’m glad to hear you got it working.

    :)

  • Michael Brown

    I was able to make this work and install an unsigned app. However, when I uninstall SOTI MobiControl from my device, I can no longer install unsigned apps. Does the uninstall remove the registry edits too?

  • http://www.MobileJaw.com Mike Temporale

    @Michael – No, the security settings are not removed when you uninstall the CAB file.

    What program are you trying to install? Are you sure that you have the non-touch / Standard version of the application? Some Windows Mobile Professional apps may work, but not all. Make sure you get the correct application for your device!

  • Michael Brown

    @Mike
    Samsung Propel Pro WM 6.1 Standard

    When I try to install the Google Search App, I get the same old “does not have sufficient system permissions” error.

    I successfully installed PockeTwit, which I was not able to install before.

  • Mark Kellaway

    Fantastic, thank you so much!!! I’ve been completely frustrated by this since getting my device.

  • http://www.MobileJaw.com Mike Temporale

    @Michael – There shouldn’t be any problems. Can you post a link to the download? I’ll take a look and see what’s going on.

  • Michael Brown

    @Mike
    I decided to reset my device and try again. Worked perfectly this time. Thanks for your help.

  • Jed

    I too have a Telecom NZ HTC Snap – this application worked brilliantly – Thank you.

  • Alan brown

    Hi Mike

    I have a BT htc 620 running Windows Mobile 6 I have Successfully installed the program but it still will not allow unsigned apps to run. Any ideas

  • http://www.MobileJaw.com Mike Temporale

    What apps are you looking to install? If my CAB file installed, then there is nothing preventing you from installing unsigned CABs.

  • Alan brown

    Hi

    I have attempted to install geovision and a few other remote camera viewing software to enable me to view my home cameras on my phone .I have tried to install a few programs but keep getting “access denied The program cannot start because it is not digitally signed with a trusted certificate “ have read a little on Bt forums and there are others with the newer phones running windows mobile 6 with the same problems those with windows 5 can get round it by editing the registry.
    regards Alan

  • Robin

    I am trying to find the CAB file but its not working. I need to remove the app block from 400 SNAP devices.

    Please help

    Robin

  • Tisha

    Hi Mike,

    So I got a bit daring and decided to try and get rid of the AT&T startup animation, and bricked my phone (Jack i637). I had to do a master reset, and all my tweaks are gone. I tried to run this again and it’s not working for some reason. CAB installs fine, but I never get the app unlock confirmation message. When I open mobicontrol it just says connecting to the IP. If I select ‘connect’ it repeatedly says it’s connecting (but nothing else happens). Maybe I’m forgetting to do something else first? I can’t customize my start menu or edit the registry anymore (sniff, whimper). Any ideas?

  • http://www.MobileJaw.com Mike Temporale

    @Robin – I don’t understand what you mean by “trying to find the CAB file but its not working”. Are you having problems running the CAB on your device? Or are you saying you can’t locate the download link in the above article?

    Regardless, if you have 400 devices to manage, then you need to install a full featured device management application. This custom CAB is not the solution for you.

  • http://www.MobileJaw.com Mike Temporale

    @Tisha – NO! Oh, I wish you had held off a little longer. I have learned that lesson and have full details on exactly how far you can push the Jack. :(

    In terms of getting this to run, try doing the reset again – make sure you pick the full master clear option. Then you should be fine to run this CAB on the device.

    Running the MobiControl application and hitting the connect button won’t actually do anything. (When you do that, the program is looking for the remote management server, which it will never find).

  • Tisha

    OK thanks! I will try it. In regards to your info on the Jack, are you planning an article on it? I would be very interested in reading it.

    Tisha :)

  • Michael

    i used your program on my matrix pro, works like a charm, but ever since i did that, when messages is open in any form (whether it be email or text) i get a blinking loading sign, itll go on for a couple secs, then stop then come back again, i did uninstall the app like it says, so idk whats wrong

  • http://www.MobileJaw.com Mike Temporale

    @Tisha – Yes, it’s almost done. It would have been up sooner but I was travelling last week and got lazy. ;)

  • http://www.MobileJaw.com Mike Temporale

    @Michael – I’m not sure what you mean by a blinking loading sign. Is that the spinning beachball? or is this the bar along the bottom when opening a message?

    Either way, that’s not related to unlocking the device. It may be related to an application that you have loaded now that it’s unlocked.

    Just a thought – do you have HTML emails turned on? Could this be related to your email attempting to download some sort of content?

  • Michael

    yeah, the beachball, thats a good word for it lol, anyways, yes i have html emails on but im pretty sure its not that, cause it wasnt doing that before the unlock, the only thing i put on was the google search app

  • Keith

    Thanks for this. I’m about to try it on the new HTC Imagio with Verizon as the carrier. I’m hoping it works because they have it so locked down I can’t even install the Mobi Pocket Ebook reader that is directly from that site.

  • Keith

    Ok, won’t work on the HTC Imagio. I even found a reg editor and I’m getting access denied when trying to change those settings manually.

  • Keith Ramsey

    Its morning and I have slept. I just got a registry editor on to the HTC Imagio and manually edited those values. Then did a reset on the phone. Changes held but still will not allow any “3rd party” software to be installed. Ive been testing with Mobireader, because I trust it and its free.
    I’ll be taking the phone back today sense Verizon has this thing so locked down that I can’t even install programs from their handango website either.
    Just to restate… This is the new HTC Imagio VX6975 – USA – Verizon – WM6.5

  • Belisario Garcia

    HI… I BOUGHT AN ATT PHONE AND UNLOCKED IT TO USE IT ON ANOTHER COUNTRY, I CANT SEEM TO INSTALL ANY FILE TO THE PHONE (SAMSUNG JACK I637), I HAVE TRIED RESETING AND STILL THE SAME PROBLEM, BASICALLY, WHAT HAPPENS IS THAT THE PHONE FREEZES WHEN RECEIVING OR MAKING CALLS. HOPE YOU CAN HELP ME.

    ALSO, WHEN I TRIED INSTALLING YOUR SOFTWARE TO CLEAR SECURITY VIA CABViaActiveSync it displays a message that acces is denied to SOTI Mobicontrol device agent.

  • http://www.MobileJaw.com Mike Temporale

    @Keith – This cab file was not designed to clear the security on a Pocket PC or Touch screen device as this was never enabled on those devices. However, it appears that WinMo6.5 changed that.

    Give me a couple hours and I’ll post an update here with a new CAB file to remove the security on 6.5 touch enabled devices. :)

  • http://www.MobileJaw.com Mike Temporale

    @Belisario – I have no idea why you are unable to make calls. There is nothing in this CAB that would ever interfer with that.

    I would suggest you start fresh with a Master Clear (as outlined over here – http://www.mobilejaw.com/articles/2009/07/hard-reset-the-samsung-jack/ ). Once that is done, test your device to be sure that the call functionality works. Then return to this post and install the cab file to remove your security. Again, test to ensure that your call functionality still works.

  • Belisario Garcia

    I tried doing the master reset and still no call functionality, it detects network and I was able to use 3g internet after some trying, but still, freezes when trying to make/receive calls or SMS. Any other Idea?

  • Keith Ramsey

    OK, Mike.. spent a lot of time looking…

    ADD this line to your XML
    HKEY_LOCAL_MACHINE\Security\Policies\Policies001005 = 40
    Just did that.. reboot and it installed the mobireader.

  • http://www.MobileJaw.com Mike Temporale

    @Tisha – Article about changing the startup image/animation has been posted. You can find it here – http://www.mobilejaw.com/articles/2009/10/changing-the-att-startup-and-shutdown-animation/

    :)

  • http://www.MobileJaw.com Mike Temporale

    @Belisario – if you’ve run master clear on the phone and still can’t place a call then there is a problem with your SIM or physically with the phone. :(

  • http://www.MobileJaw.com Mike Temporale

    @Keith – Not sure what policy 001005 relates to, but it’s not one of the application lock values. Weird that changing that value allowed you to install the application.

    I’ve uploaded another CAB for touch screen devices. Try this and it should work for you now. (I’ve also included the link the original post above)

    http://www.mobilejaw.com/content/2009/09/MobileJaw-ClearSecurity-MobiControl-TouchScreen.cab

  • Michael

    well first i dont even know how to do that, anyways i just did a master clear because it was driving me up a wall and killing my battery, so thanks but your programs created more problems than it fixed

  • http://www.MobileJaw.com Mike Temporale

    @Michael – Sorry that you’re having problems, but this CAB has no impact on the phone functionality of your device.

    I first created this CAB for my Matrix Pro and for the other sites involved in the big Matrix Pro giveaway we ran a couple months back. As such, it’s been run on more than a dozen Matrix Pro’s that I have a connection with and none of those devices had any problems with the phone after running this.

    Anyway, glad to hear your phone is working again.

  • Michael

    yeah, it was probly just a combination of factors coming to that end result, not just your program, thank you for the help tho

  • Michael McComber

    Mike: Worked as stated. Thanks. IDK why MS would think people would just CHUCK all of their previously purchased WORKING FINE UP UNTIL NOW applications. What, repurchase them? Duh, no… We’ll be vindicated on this issue when v7 comes out and it includes some sort of feature that handles this.

  • http://www.MobileJaw.com Mike Temporale

    @Michael – I don’t expect that this will change come version 7. Carriers and manufacturers are looking to ensure that their devices are safe from risks. The application lock was designed to do that. In WinMo6.5, Microsoft has extended the application lock to include touch screen devices as well. :(

  • Yuri

    Hi Mike!
    I was so hopeful towards your solution but unfortunately it did not work for me. I have samsung omnia 2 with windows mobile 6.1.
    Tried all Cab files mentioned in the article and comments, but with no luck.
    Please help.

  • http://www.MobileJaw.com Mike Temporale

    @Yuri – The Omnia 2 is a Windows Mobile Professional device – with a touch screen. This solution is for devices WITHOUT a touch screen.

    You should not be having any application lock issues with a Windows Mobile professional 6.1 device as Microsoft had not enabled this in that version. However, 6.5 is a different story. You can check that out over here – http://www.mobilejaw.com/articles/2009/10/application-lock-makes-its-way-to-touch-screen-windows-mobile-6-5-devices/