What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can I monitor the status of a Registry entry?

Votes:

0

I would like to get the value from a registry entry of a windows 2003 server. This entry tells me in what 'MODE' the application is. (read only or not)

registry windows wishlist wmi

Created on May 12, 2010 10:31:20 AM

Last change on Jul 19, 2010 2:44:07 PM by  Daniel Zobel [Product Manager]



1 Reply

Accepted Answer

Votes:

0

This should be fairly simple using a script sensor. Here is example for

VBS:
---
Dim var, strComputer
strComputer = 127.0.0.1
var = RegRead("\\" & strComputer & "\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "ProgramFilesDir")
MsgBox "Program files are in: " & var 

WMI:
---
environmentKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.CurrentUser, remoteName).OpenSubKey("Environment");

PowerShell
---
Get-Command -Module PSRemoteRegistry

PowerShell
---
check here: http://myitforum.com/cs2/blogs/yli628/archive/2008/12/11/powershell-script-to-get-remote-registry-key-property.aspx

Created on Feb 3, 2012 4:55:27 PM

Last change on Feb 3, 2012 5:00:41 PM by  Torsten Lindner [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.