This also means that RUNAS requires the backslash \ as an escape character, not the standard ^ escape used by other CMD commands. The RUNAS command unlike most other CMD and DOS commands requires that it’s command line is quoted, it uses the regular C runtime library command line parser. Without /netonly everything will run under the user account specified. When you start a program with RunAs /netonly, the program will execute on your local computer as the user you are currently logged on as, but any connections to other computers on the network will be made using the user account specified. savecred is not compatible with /smartcard. ![]() profile is not compatible with /netonly. RunAs is not able to launch an application with an elevated trustlevel Level One of levels enumerated in /showtrustlevels. user UserName in the form or DOMAIN\USER smartcard Load the credentials from a smartcard. savecred Use credentials previously saved by the user. netonly Use the credentials for remote access only. env Use the current environment instead of user's. ![]() This causes the application to load more quickly, butĬan cause some applications to malfunction. noprofile Do not load the user's profile. RUNAS ]ĭisplay the trust levels that can be used: ![]() Execute a program under a different user account (non-elevated).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |