/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
did you do a search under the scripting forum?
Answered 12/21/2005 by: misk
Orange Senior Belt

Please log in to comment
0
Yes I did
Answered 12/21/2005 by: Novice_123
Orange Belt

Please log in to comment
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
Answered 12/21/2005 by: misk
Orange Senior Belt

Please log in to comment