In Progress

Delete a protected registry key with Delphi

Please see attached a simple application made with Delphi 10 that deletes either a registry key or a registry entry. Attached is also a screen capture video of using the app.

The problem: Windows registry keys can have access control defined to them. That is, certain users are denied access to a registry key. For example, if we create registry key "hkey_classes_root\test\" using Windows RegEdit and then Right Click the "test" key, and choose "permissions" and deny access to this key from all users, the key can no longer be accessed or deleted by normal Delphi code. However, with RegEdit, the key can still be deleted by simply Right Click -> Permissions and giving your account the permission to access the key and it can be deleted again.

Solution: Edit the given sample Delphi app using Delphi 10 (or compatible) in a way that the app is able to delete a registry key even if the key is protected by the method discussed above, AND the app is able to delete a registry entry inside such key and after the operation the key's original protection (i.e. user rights) must be restored.

The solution must be made in a way it is compatible with Delphi 10.2 and it must run and work in Windows XP to Windows 10. If you plan on using any third party code or libraries, please state so in your bid.

If you do not see the attached Zip file and Video screen recording file, please send me a message and I will send them to you via chat file transfer. You can play the screen record file "[login to view URL]" using VLC Media Player.

Skills: Delphi

See more: change registry key delphi, delphi change registry key permission, vista delphi registry key, delphi set registry key owner, delphi registry key permission, delphi hide registry key, delphi set windows vista registry key permissions, modify permissions registry key delphi, delphi set registry key permission, delphi vista add registry key, delphi registry key permissions, delphi create change registry key, delphi delete protected file, create registry key delphi, create registry key delphi vista, delphi change registry key permissions, delphi read registry key

About the Employer:
( 618 reviews ) Turku, Thailand

Project ID: #18406636

Awarded to:

djpeka

Hey, I have a solution ready for you.

$50 USD in 0 days
(7 Reviews)
4.0

5 freelancers are bidding on average $109 for this job

Mahris

Hello, Subkey should be opened with minimal rights, then access changed, key reopened and deleted. I can do it, I have experience with security descriptors. Sincerely, Maris

$80 USD in 1 day
(26 Reviews)
5.0
alexandersapov

Hi! I can do it. ....................................................................................

$97 USD in 6 days
(5 Reviews)
3.6
agilekarthik

Hi , I can complete your task . I have similar projects already . If we do with UAC , is it fine for you ?

$90 USD in 1 day
(5 Reviews)
3.0
cemalkendo

Hi there, I examined your code. Your request can not be made with TRegistry component. We need to be closer to the bone as called pure WinAPI functions. Reg key permission ca be overridden and turn back to original More

$230 USD in 7 days
(2 Reviews)
2.4