Subject: | Requirement of having WRITE access to HKLM is not needed? |
Documentation says:
"For this module to retrieve information from a host machine, you must
have read and write access to the registry on that machine."
However, if I change KEY_READ|KEY_WRITE from IPConfig::new to KEY_READ
only I still get adapter information etc. read correctly.
Using KEY_WRITE actually means that if you have a restricted account
(domain user, for example) then Win32::IPConfig *will not work*. I used
KEY_READ only and could retrieve adapter information using a domain
account, whereas with the original KEY_READ|KEY_WRITE it doesn't work.
So is there a particular reason to have KEY_WRITE? After all, IPConfig
only reads the registry, and doesn't write to it..
Bug: Win32::IPConfig doesn't work for (a typical, restricted) domain
user although HKLM is readable.