Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

66 lines
4.1 KiB

//depot/Lab03_N/Base/fs/utils/runas/runas.rc#6 - edit change 17379 (text)
#include <windows.h>
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Run As Utility"
#define VER_INTERNALNAME_STR "runas\0"
#define VER_ORIGINALFILENAME_STR "RUNAS.EXE"
#include "common.ver"
#include "stringid.h"
#include "runasmsg.rc"
STRINGTABLE
BEGIN
//
// help text
//
RUNASP_STRING_HELP_LINE1 "RUNAS USAGE:\n\n"
RUNASP_STRING_HELP_LINE2 "RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]\n"
RUNASP_STRING_HELP_LINE3 " /user:<UserName> program\n\n"
RUNASP_STRING_HELP_LINE4 "RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]\n"
RUNASP_STRING_HELP_LINE5 " /smartcard [/user:<UserName>] program\n\n"
RUNASP_STRING_SAFER_HELP_LINE1 "RUNAS /trustlevel:<TrustLevel> program\n\n"
RUNASP_STRING_HELP_LINE7 " /noprofile specifies that the user's profile should not be loaded.\n"
RUNASP_STRING_HELP_LINE8 " This causes the application to load more quickly, but\n"
RUNASP_STRING_HELP_LINE9 " can cause some applications to malfunction.\n"
RUNASP_STRING_HELP_LINE10 " /profile specifies that the user's profile should be loaded.\n"
RUNASP_STRING_HELP_LINE11 " This is the default.\n"
RUNASP_STRING_HELP_LINE12 " /env to use current environment instead of user's.\n"
RUNASP_STRING_HELP_LINE13 " /netonly use if the credentials specified are for remote\n"
RUNASP_STRING_HELP_LINE14 " access only.\n"
RUNASP_STRING_HELP_LINE15 " /savecred to use credentials previously saved by the user.\n"
RUNASP_STRING_HELP_LINE16 " This option is not available on Windows XP Home Edition\n"
RUNASP_STRING_HELP_LINE17 " and will be ignored.\n"
RUNASP_STRING_HELP_LINE18 " /smartcard use if the credentials are to be supplied from a\n"
RUNASP_STRING_HELP_LINE19 " smartcard.\n"
RUNASP_STRING_HELP_LINE20 " /user <UserName> should be in form USER@DOMAIN or DOMAIN\\USER\n"
RUNASP_STRING_SAFER_HELP_LINE2 " /showtrustlevels displays the trust levels that can be used as arguments\n"
RUNASP_STRING_SAFER_HELP_LINE3 " to /trustlevel.\n"
RUNASP_STRING_SAFER_HELP_LINE4 " /trustlevel <Level> should be one of levels enumerated\n"
RUNASP_STRING_SAFER_HELP_LINE5 " in /showtrustlevels.\n"
RUNASP_STRING_HELP_LINE25 " program command line for EXE. See below for examples\n\n"
RUNASP_STRING_HELP_LINE26 "Examples:\n"
RUNASP_STRING_HELP_LINE27 "> runas /noprofile /user:mymachine\\administrator cmd\n"
RUNASP_STRING_HELP_LINE28 "> runas /profile /env /user:mydomain\\admin ""mmc %windir%\system32\dsa.msc""\n"
RUNASP_STRING_HELP_LINE29 "> runas /env /user:[email protected] ""notepad \\""my file.txt\\""""\n\n"
RUNASP_STRING_HELP_LINE30 "NOTE: Enter user's password only when prompted.\n"
RUNASP_STRING_HELP_LINE31 "NOTE: USER@DOMAIN is not compatible with /netonly.\n"
RUNASP_STRING_HELP_LINE32 "NOTE: /profile is not compatible with /netonly.\n"
RUNASP_STRING_HELP_LINE33 "NOTE: /savecred is not compatible with /smartcard.\n"
RUNASP_STRING_ERROR "RUNAS ERROR: Unable to run"
RUNASP_STRING_ERROR_SYSTEM "System Error: can not load runas.exe"
RUNASP_STRING_ERROR_INPUT "RUNAS ERROR: Unable to accept input"
RUNASP_STRING_ERROR_ECHO "RUNAS ERROR: Unable to change echo mode"
RUNASP_STRING_ERROR_PASSWORD"RUNAS ERROR: Unable to acquire user password"
RUNASP_STRING_ERROR_USERNAME"RUNAS ERROR: Invalid username"
RUNASP_STRING_TRUSTLEVELS "The following trust levels are available on your system:\n"
RUNASP_STRING_SMARTCARDUSER "Smartcard User"
END