Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If profiles in your Windows Mobile 6.5 device doesn't show any item the reason might be that there are some keys without Order value in HKCU\ControlPanel\Profiles.
- This problem happened for me after installing Smart Arabizer and after a reboot all of the profiles (Normal, Silent,...) vanished. I checked registry and found "car", "headset" and "loudspeaker" keys without Order value in "HKCU\ControlPanel\Profiles". After deleting these keys the problem fixed and previous profiles appeared.
- I have written the following mortscript to remove these invalid profiles automatically. Save it in a *.mscr file and run it on your device.
- idx=0
- RegistryPath="\ControlPanel\Profiles"
- ForEach xregkey in regSubkeys( "HKCU", RegistryPath )
- ProfilePath=RegistryPath\ xregkey
- If( NOT RegValueExists("HKCU",ProfilePath,"Order"))
- RegDeleteKey( "HKCU", ProfilePath, YES, YES )
- idx=idx+1
- list[idx]=xregkey
- EndIf
- EndForEach
- dummy=Choice( "Done", "The following Profiles has been deleted:^NL^" , 0, 0, list )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement