/build/static/layout/Breadcrumb_cap_w.png

Check Existence of (Default) Reg Value

I'm attempting to use the "Get Registry Key Value" in a WiseScript to check for the existence of the (Default) value within a registry key. The contents of the key are otherwise blank, so is there a way to check if the key exists, or to return a variable of (Default)?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 16 years ago
Red Belt
0
I don't *do* WiseScript as I prefer the greater flexibility of VBScript. In that, you test for the '(Default)' value by requesting the value name as a blank string (note: NOT vbNull, but ""). Maybe try that...?

Also, have you asked in the Altiris forum? http://forums.altiris.com/categories.aspx?catid=19&entercat=y
Posted by: bdog 16 years ago
Senior Yellow Belt
0
No need to venture further. I tried everything except "" which worked. Thanks!
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