Unfortunately, I don't have much experience poking around in the Window's registry through code. Try doing it manually, going through Regedit, adding the string and the value, then printing something to the PDFWriter, see if that works, if it does, then you know that you are on the right tract...