New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Can I monitor the status of a Registry entry?

Votes:

0

Your Vote:

Up

Down

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 by  Jornt Weyts (0) 1

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



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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 by  pettt (118) 1 1

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



Please log in or register to enter your reply.


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.