laphlaw Posted March 18, 2006 Share Posted March 18, 2006 I'm having problems reading a registry key on a remote computer. I've read the help file and searched the forums, but I'm unsure if my syntax is right. $var = RegRead("\\10.80.2.166\HKLM\SOFTWARE\AutoIt v3\AutoIt\", "Version") That returns a blank string, and an error code of 1. So for some reason it can't open the key. But first of all... is it okay to use the IP instead of the host name? Unfortunately i can't use the host name, so I have to use the IP. The default admin share is enabled on the remote computer... what else would I have to do? Thanks! Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 18, 2006 Share Posted March 18, 2006 I'm having problems reading a registry key on a remote computer. I've read the help file and searched the forums, but I'm unsure if my syntax is right. $var = RegRead("\\10.80.2.166\HKLM\SOFTWARE\AutoIt v3\AutoIt\", "Version") That returns a blank string, and an error code of 1. So for some reason it can't open the key. But first of all... is it okay to use the IP instead of the host name? Unfortunately i can't use the host name, so I have to use the IP. The default admin share is enabled on the remote computer... what else would I have to do? Thanks! You should be able to use the IP address, but the default admin share has nothing to do with remote registry access. Try reading KB314837. Hope that helps. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now