That shouldn't be an issue, the main executable is marked to only be ran as administrator on Vista so when it runs the script, it gets the admin privileges as well.
I kind of solved my dilemma. I know that in vbscript its easy to query information from wmi. So I cheated a little and have my C++ app create a vbs text file, run it, it queries the WMI and exports the data to a text document where my C++ program imports that text document and puts the info...
It doesn't necessarily have to be from WMI. From what I have read and heard, telling C++ to query information let alone connecting to it is somewhat troublesome. Is there anyway to pull the information directly from the computer using C++. For example from the BIOs where the information is...
I actually did look through the examples for any way to hook the script into the WMI. The example you referenced seems to only be able to get running processes. I'm still looking through the Sysutil.h for an answer.
I am trying to make a program that is gathering diagnostic information from the computer and detect which Anti-Malware program they have on the computer. The problem I am running into is trying to figure out how to get the system manufacturer and system model. I know this info is within the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.