Hi, I have a VBScript that will install software on users machines based on a registry check. One of the pieces of software it needs to install is .net framework. Now a lot of the machines users are not local admins of their machine, how can I run this line of the script with runas without the need to pass credentials through:-
if getDotNetVer()<4.7 then showBannershell.run localCopy(runFile(1)),showApp,True:wscript.sleep 3000
The runFile(1) command runs the .net Framework install from the required installation folder.
Any help would be appreciated.
if getDotNetVer()<4.7 then showBannershell.run localCopy(runFile(1)),showApp,True:wscript.sleep 3000
The runFile(1) command runs the .net Framework install from the required installation folder.
Any help would be appreciated.