remote-registry

How to call method with output parameters in Powershell?

I'm working on a script to get started in Powershell. I'm trying to convert a working VBScript script that enumerates mapped network drives on a remote Windows computer. One of the tasks is to use remote WMI to read the registry and find the process owner of explorer.exe in order to determine who is logged in. This seems easy enough g...

Read a single registry key value on a remote machine using python 3

I am having a very tough time achieving this one seemingly very simple goal... I have to gather the value of a single registry key on several machines for the sake of auditing whether the machines scanned need to be patched with newer versions of software. I am only permitted to use python 3 as per our company policy (which is on drugs...

Issue with RegConnectRegistry connecting to 64 bit machines

I'm seeing a weird thing when connecting to the performance registry on 64 bit editions of Windows. The whole program stalls and callstacks becomes unreadable. After a long timeout, the connection attempts aborts and everything goes back to normal. The only solution is to make sure that only one thread at the time queries the remote reg...

The worker processcalls OpenSubKey but returns null by accessing Remote Registry service.

My web server is deployed in IIS 6. The web server starts the Remote Registry service in the remote machine successfully by creating a process to run some remote operation commands. This first line runs successfully. But the second line returns null. #1 RegistryKey remoteRegKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine...

Instantiating ServiceController takes sometimes too much time

Hi, i am creating an instance of ServiceController using a remote/local machine name and the name of the service. When I type sth. like stackoverflow.com as machine name the contructor blocks for a long time and returns an exception. Example: string MachineName = "stackoverflow.com" ServiceController("RemoteRegistry", MachineName ); ...