Script conversion from .BAT
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...
Related Article: bat script run on cmd only???
is a solved Windows Servers discussion thread by k2k that has 4 replies and was last updated 2 years ago.
DAS-03590
Junior Poster in Training
67 posts since May 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Okay... Screw it... Bye...
DAS-03590
Junior Poster in Training
67 posts since May 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
hello ,again ,maybe this section of daniweb will serve you better good luck
caperjack
I hate 20 Questions
13,852 posts since Aug 2003
Reputation Points: 1,071
Solved Threads: 879
Skill Endorsements: 50
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.
Reverend Jim
Carpe per diem
3,596 posts since Aug 2010
Reputation Points: 561
Solved Threads: 446
Skill Endorsements: 32