Whenever I have a problem with my computer I highlight the error message and google it.
http://lmgtfy.com/?q=.pdf+Invalid+value+for+registry+windows+8
I click on the result that most likely has an answer.
Hope you find a solution.