Click here to Skip to main content
Click here to Skip to main content

Tagged as

Windows Mobile: Kiosk mode – Clear Today and Programs

, 22 Oct 2012
Rate this:
Please Sign up or sign in to vote.
This time I combined a set of functions to clear the Start Menu and the Today/Home Screen: Before    After    Empty the Start Menu The Start Menu is cleared by removing all files below “\Windows\Start Menu” (using SHGetSpecialFolderPath) after the whole bunch has been backed up into a Zi

This time I combined a set of functions to clear the Start Menu and the Today/Home Screen:

Before

  

After

  

Empty the Start Menu

The Start Menu is cleared by removing all files below “\Windows\Start Menu” (using SHGetSpecialFolderPath) after the whole bunch has been backed up into a Zip file (using Ionic compact framework library: http://dotnetzip.codeplex.com/). Additionally one registry key has to be changed to remove the Setting icon (HKLM\Security\Shell\StartInfo:HideSettings).

If the Settings icon has been changed, you need to reboot the device to make it visible or not.

Empty the Home Screen

All items in the home screen are enabled via the registry. The tool simply iterates thru all subkeys of HKLM\Software\Microsoft\Today\Items and sets Enabled=0. Before doing so another Backup is created with the current settings (using XML and serialization). Additionally, some other reg keys have to be changed: One is HKLM\Software\Microsoft\Today:Date to hide the Date item. Another is
HKLM\Software\Microsoft\Today:Enabled and, to disable the Home screen will popup periodically, HKLM\Software\Microsoft\Shell\Rai:SessionTimeout.

After changing the Home screen items via an app, the device has to be rebooted.

ClearDevice

The tool enables you to play with the above settings. It does backups before removing all the default stuff, so you can restore the settings later on.

Source code and binary

Attached is the source code (VS2008, WM 6.5.3 DTK, CF3.5, C#) and a binary inside.

DOWNLOAD:ClearDevice (source and bin) - (Hits: 2, size: 363.14 kB)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

hjgode

Germany Germany
No Biography provided

Comments and Discussions

 
QuestionShow only "Date & Time" on the Today Screen Pinmemberkcmmi10-May-13 11:41 
AnswerRe: Show only "Date & Time" on the Today Screen Pinmemberhjgode10-May-13 20:03 
GeneralRe: Show only "Date & Time" on the Today Screen Pinmemberkcmmi26-Jun-13 3:53 
GeneralRe: Show only "Date & Time" on the Today Screen Pinmemberhjgode29-Jul-13 19:59 
GeneralMy vote of 4 Pinmemberarif1462813-Jan-13 9:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140814.1 | Last Updated 22 Oct 2012
Article Copyright 2012 by hjgode
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid