Delphi: Adjust permissions of a registry key

Completed Posted Mar 17, 2016 Paid on delivery
Completed Paid on delivery

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.

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.

Delphi

Project ID: #9975026

About the project

5 proposals Remote project Active Mar 19, 2016

Awarded to:

Shomaf

Hello, I am an expert delphi programmer for more than 15 years, the program is done waiting for your acceptance of my bid :) , I can show you a demo any time. Thanks, - Shomaf

$35 USD in 0 days
(7 Reviews)
3.4

5 freelancers are bidding on average $30 for this job

xupiter2012

Hello, jv16! It sounds like an interesting challenge and very good fit. I have great experience with both Delphi and Windows API, so it will be done in a very professional way. Please let me know how urgent it is More

$30 USD in 1 day
(16 Reviews)
4.7
dany3j

Hello. I can help you with that task. Contact me by chat to more information. You can look my profile. 100% Guaranteed Jobs. Best Regards.

$45 USD in 2 days
(0 Reviews)
0.0
allanbrsc

Hi i am very fast ! I am long expertise with delphi. I am send code source for you at finish project.

$17 USD in 3 days
(0 Reviews)
0.0