Home > Net >  Small white for advice: how to use VB programming with specify a user name/password to run a program
Small white for advice: how to use VB programming with specify a user name/password to run a program

Time:11-10

Cellar master, how to use VB programming with specify A user name/password to run A program?
Question background: user is domain user login, do not belong to the local administrators group, and now have a program needs to run as an administrator,
Used runas, can only enter administraor password once and remember, but security is not high, easy to use native administraor and password,
Will need to be solved: want to use the means of programming, administraor and password written in VB program, in A runtime to invoke A program, automatic call administraor and passwords,
Finally the VB program compiled into an exe file,

Thank you first!

CodePudding user response:

Also write a start the program, called runas start you try this program

CodePudding user response:

Thank you, but still don't quite understand,
  • Related