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

  1. //depot/Lab03_N/Base/fs/utils/runas/runas.rc#6 - edit change 17379 (text)
  2. #include <windows.h>
  3. #include <ntverp.h>
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "Run As Utility"
  7. #define VER_INTERNALNAME_STR "runas\0"
  8. #define VER_ORIGINALFILENAME_STR "RUNAS.EXE"
  9. #include "common.ver"
  10. #include "stringid.h"
  11. #include "runasmsg.rc"
  12. STRINGTABLE
  13. BEGIN
  14. //
  15. // help text
  16. //
  17. RUNASP_STRING_HELP_LINE1 "RUNAS USAGE:\n\n"
  18. RUNASP_STRING_HELP_LINE2 "RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]\n"
  19. RUNASP_STRING_HELP_LINE3 " /user:<UserName> program\n\n"
  20. RUNASP_STRING_HELP_LINE4 "RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]\n"
  21. RUNASP_STRING_HELP_LINE5 " /smartcard [/user:<UserName>] program\n\n"
  22. RUNASP_STRING_SAFER_HELP_LINE1 "RUNAS /trustlevel:<TrustLevel> program\n\n"
  23. RUNASP_STRING_HELP_LINE7 " /noprofile specifies that the user's profile should not be loaded.\n"
  24. RUNASP_STRING_HELP_LINE8 " This causes the application to load more quickly, but\n"
  25. RUNASP_STRING_HELP_LINE9 " can cause some applications to malfunction.\n"
  26. RUNASP_STRING_HELP_LINE10 " /profile specifies that the user's profile should be loaded.\n"
  27. RUNASP_STRING_HELP_LINE11 " This is the default.\n"
  28. RUNASP_STRING_HELP_LINE12 " /env to use current environment instead of user's.\n"
  29. RUNASP_STRING_HELP_LINE13 " /netonly use if the credentials specified are for remote\n"
  30. RUNASP_STRING_HELP_LINE14 " access only.\n"
  31. RUNASP_STRING_HELP_LINE15 " /savecred to use credentials previously saved by the user.\n"
  32. RUNASP_STRING_HELP_LINE16 " This option is not available on Windows XP Home Edition\n"
  33. RUNASP_STRING_HELP_LINE17 " and will be ignored.\n"
  34. RUNASP_STRING_HELP_LINE18 " /smartcard use if the credentials are to be supplied from a\n"
  35. RUNASP_STRING_HELP_LINE19 " smartcard.\n"
  36. RUNASP_STRING_HELP_LINE20 " /user <UserName> should be in form USER@DOMAIN or DOMAIN\\USER\n"
  37. RUNASP_STRING_SAFER_HELP_LINE2 " /showtrustlevels displays the trust levels that can be used as arguments\n"
  38. RUNASP_STRING_SAFER_HELP_LINE3 " to /trustlevel.\n"
  39. RUNASP_STRING_SAFER_HELP_LINE4 " /trustlevel <Level> should be one of levels enumerated\n"
  40. RUNASP_STRING_SAFER_HELP_LINE5 " in /showtrustlevels.\n"
  41. RUNASP_STRING_HELP_LINE25 " program command line for EXE. See below for examples\n\n"
  42. RUNASP_STRING_HELP_LINE26 "Examples:\n"
  43. RUNASP_STRING_HELP_LINE27 "> runas /noprofile /user:mymachine\\administrator cmd\n"
  44. RUNASP_STRING_HELP_LINE28 "> runas /profile /env /user:mydomain\\admin ""mmc %windir%\system32\dsa.msc""\n"
  45. RUNASP_STRING_HELP_LINE29 "> runas /env /user:[email protected] ""notepad \\""my file.txt\\""""\n\n"
  46. RUNASP_STRING_HELP_LINE30 "NOTE: Enter user's password only when prompted.\n"
  47. RUNASP_STRING_HELP_LINE31 "NOTE: USER@DOMAIN is not compatible with /netonly.\n"
  48. RUNASP_STRING_HELP_LINE32 "NOTE: /profile is not compatible with /netonly.\n"
  49. RUNASP_STRING_HELP_LINE33 "NOTE: /savecred is not compatible with /smartcard.\n"
  50. RUNASP_STRING_ERROR "RUNAS ERROR: Unable to run"
  51. RUNASP_STRING_ERROR_SYSTEM "System Error: can not load runas.exe"
  52. RUNASP_STRING_ERROR_INPUT "RUNAS ERROR: Unable to accept input"
  53. RUNASP_STRING_ERROR_ECHO "RUNAS ERROR: Unable to change echo mode"
  54. RUNASP_STRING_ERROR_PASSWORD"RUNAS ERROR: Unable to acquire user password"
  55. RUNASP_STRING_ERROR_USERNAME"RUNAS ERROR: Invalid username"
  56. RUNASP_STRING_TRUSTLEVELS "The following trust levels are available on your system:\n"
  57. RUNASP_STRING_SMARTCARDUSER "Smartcard User"
  58. END