12/23/2009 5000 views
Happy Xmas Everyone!

Is there any limitations of registry entries that are imported into a wisescript?

I am currently working with the BPOS Client...and I need to import registry entries into this wisescript which contains various HKCU keys, specifically the windows email subsystem keys.

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\%USERNAME%@companyname.com.au] - with various hex subkeys.

When I attempt to import the reg keys using "Edit Registry", I do not see any keys which have been imported.
Other keys which I have imported in the same script works a treat:


I can import the registry keys into the registry so there seems no problems with the reg file itself.
I attempted to break the keys down into segments to no success.
I could add each line in manually without importing but this will take a long long time as there are many keys + I would to illiminate my human error ....

I am not very useful when using vb scripting which I am sure everyone will ask me to do...can anyone help as I have never encountered this problem using wisescript.

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

Never tried importing HEX keys in Wise Script, so could not really say. I doubt if something in the characters "@companyname.com.au" is causing a problem. As an alternative you can try some command lines as mentioned in http://support.microsoft.com/kb/310516 or using the reg.exe utility mentioned here http://www.petri.co.il/reg_command_in_windows_xp.htm.

hope the alternatives work for you.
Answered 12/27/2009 by: ghosh.kunal
Senior Yellow Belt

Try to import the .reg file to ur VM (test system). If the reg file is imported properly then u can try to export from the registry again and then import in the wise script. Sometimes the registry file format is not correct so wise script is not able to read it.

see if it works.

Answered 12/28/2009 by: dnmech
Senior Purple Belt

Thanks for your replies! Like you mentioned in the URL Ghosh, at the end, used the regedit /s command - I think hex keys cannot be imported unless they are straight binary keys.
Answered 12/28/2009 by: tron2ole
Third Degree Blue Belt