Advertisement
sb1370

Windows Mobile Profiles Disappearence Solution

Jul 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. 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.
  2. 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.
  3. I have written the following mortscript to remove these invalid profiles automatically. Save it in a *.mscr file and run it on your device.
  4.  
  5. idx=0
  6. RegistryPath="\ControlPanel\Profiles"
  7. ForEach xregkey in regSubkeys( "HKCU", RegistryPath )
  8. ProfilePath=RegistryPath\ xregkey
  9. If( NOT RegValueExists("HKCU",ProfilePath,"Order"))
  10. RegDeleteKey( "HKCU", ProfilePath, YES, YES )
  11. idx=idx+1
  12. list[idx]=xregkey
  13. EndIf
  14. EndForEach
  15. dummy=Choice( "Done", "The following Profiles has been deleted:^NL^" , 0, 0, list )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement