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
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)
Please log in to answer
Posted by:
misk
18 years ago
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
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.
so that the conversation will remain readable.