Take ownership of registry key and fix its permissions

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
Your job is to write using Delphi 2010 or compatible, a function or a class that can be used to take an ownership and fix permissions of any given registry key.

In other words, let me start RegEdit.exe and create a key HKEY_LOCAL_MACHINE\Software\foobar\, right click it, select Permissions and remove permissions from all users. Now if I try to use TRegistry to delete the key, it fails. After asking your code to fix the ownership and permissions of the "foobar" key, it must be possible to access it and delete it normally with TRegistry.

Your code must work in Windows Vista, 7 and 8. You might find to see the source code of an open source program called SetACL for inspiration how this can be done. Only make a bid if you can start now, and no, I am not interested of solutions in any other programming languages.

Skills required:
Hire jv16
Project posted by:
jv16 Finland
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 155
in 10 days
Hire vano101
$ 144
in 8 days