Posts Tagged ‘registry’


Registry access from 32 to 64 bit and back

Tuesday, August 18th, 2009 by Alex Riedel
Just recently, I received an email asking how you can access the 64 bit registry from a 32 bit script, or vice versa. The task the individual was facing was to come up with a way to verify installed applications via checking the corresponding Windows Installer registry entries. For a C++ programmer with access to the API, that really is not a big issue. From VBScript, using only WshShell.RegRead that is a completely different story. A quick consult with some fellow script experts revealed that the only real way was using WMI and the StdRegProvider. The main complaint I heard…   More »

Sometimes an Apple is an Orange

Thursday, May 7th, 2009 by Jeffery Hicks
I was helping a member out in the PowerShell forum at He was trying to create a multistring registry entry on a remote computer using the .NET registry classes. Creating registry values is really not that complicated. Here's a short example.   More »

Techmentor Las Vegas ’08

Saturday, October 25th, 2008 by Jeffery Hicks
If you didn't make it to Techmentor this year, you missed out on some great stuff. As promised, here are a collection of zip files with my conference demos. If you didn't make it to the show you are still welcome to download, although they may not all make sense to you out of context. I think I've gathered everything but if there as a particular demo you can't find, let me know and I'll either check my library or attempt to re-create it.   More »

Read Remote Registry Function

Thursday, February 14th, 2008 by Jeffery Hicks
Hopefully you found my last entry valuable. But I always like to take things a step further, especially when it comes to scripting and automation. So I turned my last script into a function that returns the value of a specified registry key   More »

Remote Registry Reading the VBScript Way

Monday, February 11th, 2008 by Jeffery Hicks
Last week I blogged about using REG.EXE in a batch file to read a registry key. The batch file I provided works, but the output is limited. You could probably parse it a bit more to get it in some other format. But I’d probably turn to VBScript and WMI if I wanted better output control or if I had more complicated needs.   More »

Registry queries the easy way

Thursday, February 7th, 2008 by Jeffery Hicks
Another topic that I’ve seen resurface in the forums I frequent is reading remote registries. If you know exactly what you’re looking for it doesn’t get any easier than using REG.EXE from the command line. Here’s how to use it and a batch file ready for you to use.   More »

Got-PowerShell Revisited

Monday, January 28th, 2008 by Jeffery Hicks
Last week I showed a PowerShell function that used WMI to remotely query a machine to determine if PowerShell was installed. Well, like most things Microsoft there’s often more than one way to accomplish a task. Here is a different version of essentially the same function. This version, however, uses the .NET framework and the Microsoft.Win32.Registry class.   More »