in reply to Re^3: Keys are not adding to registryin thread Keys are not adding to registry
If you had any permissions related problems I'd expect it to throw an error. Can you confirm you're running the code exactly as you posted here? Have you tried copying and pasting the command line query to check if this shows up?