/build/static/layout/Breadcrumb_cap_w.png

Prepopulate a registry of type Binary value

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

HKCU\Software\Microsoft\Office\11.0\Coomon\UserInfo\Username

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..


Liz

0 Comments   [ + ] Show comments

Answers (3)

Posted by: misk 18 years ago
Orange Senior Belt
0
did you do a search under the scripting forum?
Posted by: Novice_123 18 years ago
Orange Belt
0
Yes I did
Posted by: misk 18 years ago
Orange Senior Belt
0
Here's pretty much exactly what you want:
http://groups.google.com/group/microsoft.public.scripting.hosting/msg/3f23cd251c9ab12b

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