Hi all, I'm new here and was pointed this way from phpclasses.org. I downloaded and tried to use the Windows registry class: http://www.phpclasses.org/browse/package/3555.html but I'm haveing errors, and I'm not completely sure why. I guess first of all I guess I need to understand what this class does. I'm assuming that it will access the registry of the machine accessing the script, not the server it's running on. There errors I recieve are: Warning: (null)(): Invoke() failed: Exception occurred. Source: SWbemLocator Description: Invalid namespace in C:\htdocs\registry\class.WindowsRegistry.php4.php on line 26 Fatal error: Call to undefined function: get() in C:\htdocs\registry\class.WindowsRegistry.php4.php on line 28 I limited experience with COM objects, but what I see going on is WbemLocator->ConnectServer cannot connect? Here is where things fail: $this->WbemLocator = new COM('WbemScripting.SWbemLocator'); <--ok $this->WbemServices = $this- >WbemLocator->ConnectServer("", "\\root\\default"); <--fails $this->WbemServices->Security_->ImpersonationLevel = 0x3; $this->RegObject = $this->WbemServices->Get ("StdRegProv"); If I change the failed line to: $this->WbemServices = $this->WbemLocator->ConnectServer ("localhost", ""); then it fails here: $this->RegObject = $this->WbemServices->Get("StdRegProv"); Could this be a windows policy preventing the script access, or is there something I am doing wrong?