Hi there,
I'm curious to know if anyone else has encountered this. I'm trying to delete a certain key from the registry (the WLan key). I am doing it by way of a C++ program (using the VORegistry classes, highly recommended). I am able to delete the Subkeys from the main WLan key, but when I try to delete the WLan key I am unable to. Iam able to manually delete this key via way of a registry editor, but it seems to be prevented by way of an exe? Is the deletion of some keys in some way blocked or prohibited?
Thanks for any insights.
Best Regards,
Dav
Hi dav!
If you can delete it via registry editor, it can't be locked. (after all reg. editor is just another exe).
I am not familiar with the VORegistry class, but have you tried simply using the win32 API?
There is a simple function RegDeleteKey. You should look up API's beginning with Reg on MSDN for complete description of this and other registry functions.
Good luck!
Related
Hello professionals ;-)
i have to delete some registry keys during an softwareinstall with a cab file.
Can anybody tell me how to make an installationfile (like *.cab ore something else) deletes some keys in the registry!
whatfor?
i want to install some programs (like pocket plus) and make some configuration during cab file installation. so i looked into the registry what changes when i configurate pocket plus.
as i noticed there where som keys changed i can overwrite with the new values BUT there are some registry keys deleted also. How get them out???
is there any way ??
Have a look at creating a custom setup.dll file to include in the cab file.
You can certainly delete registry entries using it.
I don't know about deleting registry using cab files.
I think there is only options to allow or not to replace a registry key if exists during install.
Here a good link for .cab files Cab files
Apart that you can make your own install from PC to Pocket using RAPI. With that no problem to delete keys, copy files, add new keys ...
want to delete some keys bevore install
Thank's for your tips!
Have a look at creating a custom setup.dll file to include in the cab file. You can certainly delete registry entries using it.
Click to expand...
Click to collapse
is there more information about this ?
how it works?
how to do?
as i looked at the CABFiles Website this looks very complicated to me ;-(
i am an absolute beginner in developing software!
i need an easy way to delete some regkeys during installation.
I think you can use the excellent scripting utility called nScriptM to achieve your goal. Simply run a search on this in google and you will come across a number of resources including the download location.
k_kirk said:
I think you can use the excellent scripting utility called nScriptM to achieve your goal.
Click to expand...
Click to collapse
i will try this, Thanks!
was playing with the registry editor and must of changed an option some days back... and now i have no intellipad option for INPUT!
anybody out there know where this line exist?
bump!
someone know the keys to enable or disable
the keyboards/ intellidailer xpad etc etc?
...
Destroying the registry so a given functionality dies, is not the same as enabling/disabling. I doubt these programs have simple on/off switches in the registry, so instead I suggest you reinstall them.
Set a browser such as the Resco Explorer to show files in ROM, then locate and execute the file loadvdisk.exe in the Windows folder. This will give you access to the Extended_ROM folder, located in root. From there you can reinstall what you want. Names of the files you will need are selfexplanatory, the rest you can find a description on here on forum, by using the search function.
Hi All,
I'm trying to make some registry changes on the Mogul and when I save the changes all is ok until I soft boot and then they go back to their default values. How can I prevent this?
I am also trying to save a file in the \Windows directory and it's giving me an access is denied message, how do I unlock this directory?
Thanks,
X2K
Which registry editor are you using?
Try using Resco explorer and registry editor pluggin:
http://www.resco.net/pocketpc/explorer/
I hope it helps.
I'm using PHM Regedit
Which registry key(s) are you trying to edit? Some keys don't get saved or get reset no matter what upon reboot.
Try this:
In [HKLM\System\ObjectStore] is a reg key "RegistryType=1", which means Hive based registry.
When you set it to "RegistryType=0", which means FILE based registry, all changes you do in the registry will stay there also if you reboot with device's reset button...
BUT AFTER YOU CHANGE THIS VALUE, FIRST REBOOT HAS TO BE DONE WITH SOME SOFTWARE, NOT WITH THE RESET BUTTON.
Subsequent reboots can be done with reset button then.
lanwarrior said:
...
In [HKLM\System\ObjectStore] is a reg key "RegistryType=1", which means Hive based registry.
When you set it to "RegistryType=0", which means FILE based registry, all changes you do in the registry will stay there also if you reboot with device's reset button...
Click to expand...
Click to collapse
Great tip, even after a year since you posted it . Couldn't get rid of the default t-mobile -MDA Vario III aka kaiser- settings (PIE homepage e.g.), but you helped me out on this one
Hello all. I have tried to make the registry change (In [HKLM\System\ObjectStore] "RegistryType=1") to "RegistryType=0" mentioned above. That worked fine but I still can't save a change I'm trying to make. I bought MS Voice Command and was told to change the [HKLM\Software\OEM\Voicecommand path to \Program Files\MS Voice Command\voicecmd.exe. I can't seem to save the change. I have used several different registry editors including PHM, Resco and CeRegEditor. The displayed path (\Windows\SDDialer.exe) will not update. I'm using a Verizon XV6800 with WM 6.1 and the Verizon MR-1 update. Any ideas?
Thanks in advance.
Can someone please advise of the steps I need to go through to create a file that I can run to update three registry key entries?
I need to reset these keys regularly and using Regedit each time is a pain.
I assume that I can create somesort of PPC batchfile that I can run under WM6 to make the changes each time I run it....
What's the best way of going about this?
alfiejts said:
Can someone please advise of the steps I need to go through to create a file that I can run to update three registry key entries?
I need to reset these keys regularly and using Regedit each time is a pain.
I assume that I can create somesort of PPC batchfile that I can run under WM6 to make the changes each time I run it....
What's the best way of going about this?
Click to expand...
Click to collapse
Export the keys after you have changed them to a .reg file (in total commander this is accomplished by going to the key and copying it to a dir on the phone or storage card)....save the .reg's to a dir and click on them when you want to update the registry...you need to be using dotfred's task manager and have .reg files associated for that to work.
Brilliant. Thanks famewolf.....
Very strange... I wanted to add Destinator in the HKLM\Software\HTC\Smatouch, to make it work with the zoombar. I did it via Advanced Config 3.3 -> Menu -> More Settings -> Smartouch, and it did create the relevant Key and values. Unfortunately, Destinator declined to co-operate with zoombar (either as scroll or zoom), so I decided to remove the key.
However when I tried to delete it from Advanced Config, it stayed there. I went to the SKTools registry editor, but although I deleted the values (WheelCount, etc.), the key could not be deleted. I tried a couple of other editors without success.
How can I delete this key? Is there a way to export the registry, modify it in the desktop PC, and then import it back to the TD2?
SOLVED!!!! Solution: http://ceregeditor.mdsoft.pl/index.php?lang=en
I have a similar problem.
I've installed Opera 9.7 and tried with Advanced Configuration Tool to make the new Opera rotate.
Now I cannot delete the registry keys that Advanced Configuration Tool has made.
I've also tried Total Commander, PHM Registry Editor and CeRegEditor but those keys cannot be deleted.
It seems those Opera keys are now protected by the OS.
Any solution?
Just read my post above. The solution is in the link I mention...
I've tried CeRegistryEditor and still couldn't delete it.
I can create new keys and delete them with CeRegistryEditor, but I cannot delete those Opera keys.
I've also tried the option "Tools>Unlock registry" as the website says but the problem is not the registry access but those specific Opera reg keys.