Tag Archives: registry

Set Internet Explorer Address Bar Search via Group Policy

OK, this is kind of a cheat, this is using Group Policy Preferences (GPPrefs) to add a set of registry entries, it’s not a custom .admx or something more fancy. But it does work. Firstly, I suggest you create a … Continue reading

Rate this:

Posted in Applications, Windows | Tagged , , , , , , , , , , , , , , | 1 Comment

VBScript: Delete registry values that contain a backslash in the name

VBscript is great for most stuff, but occasionally you try and do something and it can’t handle it. I came across another one of these yesterday, trying to remove some old network printer connections. I ended up having to try … Continue reading

Rate this:

Posted in Scripting | Tagged , , , , , , | Leave a comment

Check if a registry value exists in VBScript

Simple function that returns true if the specified registry value exists, and False if it does not. Function regValueExists (key)       ‘This function checks if a registry value exists and returns True of False       On Error Resume Next       … Continue reading

Rate this:

Posted in Scripting, Windows | Tagged , , , , | 3 Comments

VBScript and REG_BINARY registry values

Pain in the neck huh? Here’s some stuff I wrote to get around the limitations. Write a REG_BINARY Sub regWriteBinary(sRegKey, sRegValue, sBinaryData)       ‘ Expects sBinaryData to be a comma separated string of hex values       ‘ sRegKey needs to … Continue reading

Rate this:

Posted in Scripting, Windows | Tagged , , , , , , | 4 Comments

UAC and Run As Administrator adjustments for Users

When running on Server 2008 R2/Windows 7 as a normal user in a corporate environment you want to remove as much of the User Account Control related stuff as possible. You don’t want your users being prompted for Administrator credntials … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , | 3 Comments