I am not sure if this will solve your problem or not, but I made a batch file to give permissions back. You will need to right click on the batch file and click edit. For the last four rows, replace "xxxx" with your username. After you have done that, save it and run the batch file. I would try right clicking on it and clicking "run as administrator" first. If it has 0 successful keys, then try to just run it normally. hope it helps, and good luck!
-Mantis