in reply to Re: Keys are not adding to registry
in thread Keys are not adding to registry

are you able to see in the registry editor. i dont find in my registry. do we need any specific permissions or privileges to do this.

Replies are listed 'Best First'.
Re^3: Keys are not adding to registry
by marto (Cardinal) on Apr 04, 2013 at 09:40 UTC

    Yes, I can see it in regedit.exe, I also see it via the command line:

    D:\>perl tie.pl D:\>reg query HKLM\SOFTWARE\dkanagar /s HKEY_LOCAL_MACHINE\SOFTWARE\dkanagar Version REG_SZ 1.00

    If you have regedit open before you run the script it won't dynamically update when changes are made. 'View'->'Refresh' or the F5 key will refresh it for you.

      My bad. i did everything you said. but no progress. i will try once again after rebooting the machine...
      yes. executed the same script once again and checked. dkanagar is not there.
      C:\Users\Administrator>reg query HKEY_LOCAL_MACHINE\SOFTWARE HKEY_LOCAL_MACHINE\SOFTWARE\ATI Technologies HKEY_LOCAL_MACHINE\SOFTWARE\CBSTEST HKEY_LOCAL_MACHINE\SOFTWARE\Classes HKEY_LOCAL_MACHINE\SOFTWARE\Clients HKEY_LOCAL_MACHINE\SOFTWARE\FileZilla 3 HKEY_LOCAL_MACHINE\SOFTWARE\InfoWatch HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins HKEY_LOCAL_MACHINE\SOFTWARE\ODBC HKEY_LOCAL_MACHINE\SOFTWARE\Policies HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
      even after rebooting it didnt work... :-(

        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?