Windows NT 4.0 source code leak
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.

100 lines
4.1 KiB

4 years ago
  1. ==============================================================
  2. == ==
  3. == VDESK - a simple desktop switcher for Windows NT v3.51 ==
  4. == ==
  5. ==============================================================
  6. VDESK allows a user to maintain multiple desktops on a
  7. Windows NT workstation. It also provides a task manager
  8. as a replacement for the default task manager that is
  9. provided my PROGMAN. VDESK's task manager displays the
  10. PID (process id) of eash task and also switches to new
  11. desktops if required. This is necessary if a task switch
  12. is requested and the new task "lives" on another desktop.
  13. VDESK also allows the user to logon as another user,
  14. such as administrator, on a desktop. This means that you
  15. can be logged on a a "normal", non-administrative user
  16. and be able to switch to a new desktop and perform
  17. administrative tasks. This is NOT a security problem
  18. because the logon capability MUST be enabled for the
  19. user that launches VDESK. This is done by the administrator
  20. via the User Manager utility. The administrator must
  21. enable the following User Rights:
  22. 1. "Act as part of the operating system"
  23. 2. "Increase quotas"
  24. 3. "Replace a process level token"
  25. After the rights are changed they do not take effect until
  26. the user logs on again. To logon as another user, simply
  27. switch to the desired desktop (see below) and the press
  28. CONTROL-ALT-INSERT key sequence. The logon dialog will
  29. appear. Fill in the blanks and press OK.
  30. The task manager in VDESK establishes a hot key, which is
  31. control-escape. If PROGMAN is already running then VDESK
  32. will not be able to establishes the hot key. The best way
  33. to fix this is to enable VDESK as the "default" task manager.
  34. This is done by modifying the registry. A new value entry
  35. must be added in the following heirarchy:
  36. \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon
  37. The value entry must be named "Taskman" and must contain "vdesk.exe".
  38. Copy the VDESK.EXE to your system32 directory. Now when PROGMAN
  39. initializes it will launch VDESK, who will grap the control-escape
  40. hot key and viola, you have a task manager.
  41. To switch to a new desktop use the key sequences CONTROL-F1 thru
  42. CONTROL-F10. Each function key corresponds to a desktop. So, you
  43. can now switch to a new desktop and use the VDESK task manager
  44. to start a new task. You can then switch away, to another desktop,
  45. do something else and return later.
  46. VDESK also supports the concept of a "startup group". This allows
  47. you to preconfigure certain apps to be started on each desktop
  48. at the time vdesk starts. The tasks are specified in the registry
  49. as follows:
  50. \\hkey_current_user
  51. software
  52. microsoft
  53. vdesk
  54. desktop2
  55. task1 "winfile"
  56. task2 "msmail32"
  57. task3 "cmd /k razzle"
  58. title3 "my razzle screen"
  59. desktop3
  60. desktop4
  61. desktop5
  62. desktop6
  63. desktop7
  64. desktop8
  65. desktop9
  66. desktop10
  67. You can have as many value entries under the desktop(n) keys as
  68. you want. The text of the value is passed directly to createprocess().
  69. The value name must be "task<n>", where <n> is the sequential task
  70. number for the desktop. You may also specify a window title for
  71. console applications. This is done by creating a value pair that
  72. is called "title<n>", where <n> is the task number that you want titled.
  73. The text for the title value is the window title.
  74. Command Line Options
  75. =====================
  76. -t Run as a task manager only, does not create any desktops
  77. -n Run as a task manager & a desktop manager, but do not
  78. create the desktops when vdesk starts