Ben Hamilton

Reading the Registry from the Command Line

Often I need to check windows registry values, for example, to see if an addon is working. From the Microsoft Windows command line (Start | run | cmd) it is easy to see what value a registry key has: REG QUERY “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\MS Project\Addins\Mindjet.Mm8MsProject.AddIn.4” /v “LoadBehavior” In this example above, we see if the Mindjet Mindmanager […]

Posted in How to, Microsoft | Tagged , | Comments Off on Reading the Registry from the Command Line

Using registry values in scripts

I’m often writing scripts to do stuff. It makes my job easier. I’ve often wanted to be able to script the discovery of registry values in the Windows Registry. Thus here is a short example on using the vanilla windows command line to find the value of a Windows registry key. From my testing these […]

Posted in How to, Microsoft, Windows | Tagged , , , , | Comments Off on Using registry values in scripts

Resurrecting Terminal Server

A Terminal Server I was attempting to work on today gave quite a lot of grief. The first hint was that users were unable to login to it. When I then tried to login, it gave an error message of: Login Failed You are connected to the remote computer. Howerver, an error occured while an […]

Posted in How to, Microsoft | Tagged , , , , | 5 Comments