Delphi: Change permissions of a registry key
$10-30 USD
Pagado a la entrega
Open Windows Registry Editor ([url removed, login to view]) and go to HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display. Try to delete that key. You cannot, as Windows shows an error message "Cannot delete key" or "Access denied". You can delete the key, if you adjust its permissions (Right-Click key > Permissions) and then try to delete it.
Your job is to write a Delphi function that takes as an input a registry key path (e.g. "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display") and it fixes its permissions in a way the key can be deleted or modified (e.g. new entries added under that key).
In other words, I want to be able to run: FixRegPermissionsForKey('HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display'); and after that I am able to delete the mentioned registry key with RegEdit.
The code must compile with Delphi 2010 and the code must work with Windows 7, 8, 8.1. and 10. The code must not require the use of any third party libraries or executables.
Nº del proyecto: #10065467
Sobre el proyecto
5 freelancers están ofertando un promedio de $35 por este trabajo
Good morning, I have a piece of code that shall work for you. I'm afk until tomorrow morning so I can test it on a Windows system if you're interested, I'll update you in few hours. Best regards, Augusto Pellis
I have been a delphi programmer for over 20 years , i have the depth and knowledge to product code that works first time. I have experiance in multiple platforms of Delphi from early Delphi versions to more recent vers Más