Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Keys are not adding to registry

by marto (Bishop)
on Apr 04, 2013 at 09:28 UTC ( #1026955=note: print w/ replies, xml ) Need Help??


in reply to Keys are not adding to registry

Works for me, I see the key/value as specified in HKEY_LOCAL_MACHINE\SOFTWARE\dkanagar . Perhaps you're looking in the wrong place.


Comment on Re: Keys are not adding to registry
Download Code
Re^2: Keys are not adding to registry
by Divakar (Sexton) on Apr 04, 2013 at 09:35 UTC
    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.

      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...
        even after rebooting it didnt work... :-(
        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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2015-07-05 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls