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.

Taidot: Delphi

Näytä lisää: 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

Tietoa työnantajasta:
( 622 arvostelua ) Turku, Thailand

Projektin tunnus: #18406636

3 freelanceria on tarjonnut keskimäärin $89 tähän työhön


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 1 päivässä
(26 arvostelua)

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

$97 USD 6 päivässä
(9 arvostelua)

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

$90 USD 1 päivässä
(5 arvostelua)