Jump to content

Failed to read remote registry parameters


Recommended Posts

Local $locate="\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Local $parm="ProductName"
Local $RegParm1=RegRead("\\"&$ip&$locate, $parm)

in this case i got error code 3 (if unable to remote connect to the registry)

but this issue exist only for win2003.

-All firewalls are disabled

-reading permissions on "winreg" and "CurrentVersion" for Local Service, Administrators, Users are enabled

-Remote Registry Access service is enabled

What's wrong?

p.s. for win2008 it's work fine.

Link to comment
Share on other sites

Local $locate="\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Local $parm="ProductName"
Local $RegParm1=RegRead("\\"&$ip&$locate, $parm)

in this case i got error code 3 (if unable to remote connect to the registry)

but this issue exist only for win2003.

-All firewalls are disabled

-reading permissions on "winreg" and "CurrentVersion" for Local Service, Administrators, Users are enabled

-Remote Registry Access service is enabled

What's wrong?

p.s. for win2008 it's work fine.

Sorry for a spam(

on my node for administrator was password the same as on the win2008 and all was ok. When i set password for an administrator of win2003, my code works and for win2003.

In the function RegRead is impossible set user name and password for a remote box(

Edited by Vofffka
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...