also, didn't get a reply to my question:
do we need to supress return codes?
I mean, function return 0 on success. can we let them be output to console as long as the function works?

when we must replace the regedit /s, do we also need to have setconsole("hide") in our function?

download KiXnet