Hello All,
I have a c++ program that I am attempting to run a VBScript via the CreateProcess function. The purpose of the script is to write to the registry a username, password, and domain to allow for automatic login while the program completes reboots. Running this VBScript manually it prompts for username, password, domain and writes to the registry and performs properly. However, run through CreateProcess it does ask for username, password, and Domain but does not write to the registry. I dont know how many c++ programmers we have here but does anyone have any ideas as to why it would appear to work properly but does not edit the registry? I can post the CreateProcess code if someone needs.
I have a c++ program that I am attempting to run a VBScript via the CreateProcess function. The purpose of the script is to write to the registry a username, password, and domain to allow for automatic login while the program completes reboots. Running this VBScript manually it prompts for username, password, domain and writes to the registry and performs properly. However, run through CreateProcess it does ask for username, password, and Domain but does not write to the registry. I dont know how many c++ programmers we have here but does anyone have any ideas as to why it would appear to work properly but does not edit the registry? I can post the CreateProcess code if someone needs.