Prepopulate a registry of type Binary value

I have to prepopulate the following regsitry entry using a vbscript.


Username will be obtained fron the Active directory.But since this a string I don't know how to write into this registry of type Binary value [:(]. If any one is aware of how to do this please help..


0 Comments   [ + ] Show comments

Answers (3)

Posted by: misk 15 years ago
Orange Senior Belt
did you do a search under the scripting forum?
Posted by: Novice_123 15 years ago
Orange Belt
Yes I did
Posted by: misk 15 years ago
Orange Senior Belt
Here's pretty much exactly what you want:

Scroll down the page about half way and just take the code section under WMI (stop at FSO/Regedit). Change the key path to look under (currently set to 'SOFTWARE\MICROSOFT\OFFICE\9.0\COMMON\USERINFO\') and that should do the trick.

i havnt time to test it sorry, hope it helps though
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ