/build/static/layout/Breadcrumb_cap_w.png

WiseScript - Importing Reg Entries

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:

[HKEY_CURRENT_USER\Software\Microsoft\MOCHA\Configuration]

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

Answers (3)

Posted by: ghosh.kunal 14 years ago
Senior Yellow Belt
0
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.
Posted by: dnmech 14 years ago
Senior Purple Belt
0
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.

cheers..
Posted by: tron2ole 14 years ago
Third Degree Blue Belt
0
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.
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