I am having an issue with scrip deployment through GP on a 2003 domain.
As well, I am also having an issue with placing this issue in the correct category.

I have a BAT file that has the ability to modify a select registry key and force the change even if the key is already there by using the < REG ADD > command in MS Command prompt.

I am under the assumption that this would be better done as a VBScript by use of the Script section in GP.

The following is the batch file content that is changing this one key:

REG ADD HKLM\Software\RealVNC\winVNC4\ /v Password /t REG_BINARY /d 465504da44659100 /f

Any assistance would be appriciated...
Thanks ahead of time...

Recommended Answers

All 3 Replies

Okay... Screw it... Bye...

hello ,again ,maybe this section of daniweb will serve you better good luck

While it is possible (and easy) to create/modify registry values in vbScript, you are limited to one DWORD value when writing to a REG_BINARY. Your value exceeds that so vbScript is not an option here. If you have further vbscript questions feel free to post them in the VB.net forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.