Customizing StartUI or Control Panel to Use LASS (Windows CE 5.0)

Windows CE 5.0
Send Feedback

You can customize StartUI or Control Panel to use LASS to prompt the user for a password.

Note   Remember that registry settings can only take effect when your application calls LASSReloadConfig or when you reboot your device.

Customizing StartUI to Use LASS

To customize StartUI to use LASS at startup

  1. Modify the code located at %_WINCEROOT%\Public\Common\Oak\Drivers\Startui\Startui.cpp by setting USE_LASS_AUTH=1. This causes LASS-specific code to be included in Startui.cpp. For more information about customizing StartUI, see Customizing a UI Component.
  2. Recompile Startui.cpp.
  3. Run the Sysgen tool to make sure that the new settings appear in GWES, which is the Catalog item that contains StartUI.
  4. Modify the registry file located at %_WINCEROOT%\Public\Common\Oak\Files\Common.reg to change the StartUI AE_STARTUI event. By default, this event is defined so that it will never authenticate.

    To change the StartUI AE, search for its defining GUID, which is {1B38A686-7CDC-4017-A5E9-4C6A9DD7E5BA}. Change the default AEFrequencyValue setting of FFFFFFFF to 0, so that the user will be authenticated every time. For more information about this registry subkey, see LASS Registry Settings and Setting an AE Policy.

  5. If you are using the default password LAP, all application calls to VerifyUser will return TRUE until the user enrolls. To enable enrollment with the LAP, you should use the LASSCTL utility located at %_WINCEROOT%\Public\Common\Sdk\Samples\Lassctl, and run Lassctl enroll. The next time you reset the device, StartUI will call VerifyUser instead of calling CheckPassword.

Customizing Control Panel to Use LASS

To customize the Control Panel to use LASS at startup

  1. Modify the code located at %_WINCEROOT%\Public\Wceshellfe\Oak\Ctlpnl\Cplmain\Cplmain.cpp by setting USE_LASS_AUTH=1. This causes LASS-specific code to be included in Cplmain.cpp.
  2. Recompile Cplmain.cpp. The next time you reset the device, Control Panel will call VerifyUser instead of calling CheckPassword.

See Also

Configuring LASS | LASS Registry Settings


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: