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.

33 lines
1.3 KiB

  1. Usage instructions for testing:
  2. 1. Install a SQL Server for the session directory.
  3. 2. Using the SQL Query Analyzer, open nt\termsrv\sessdir\tssdsql\tssdschm.sql
  4. and run it to set up the tables.
  5. 3. Run the contents of nt\termsrv\sessdir\tssdsql\tssdsp.sql to install
  6. the stored procedures.
  7. 4. Compile tssdsql.dll at nt\termsrv\sessdir\tssdsql. This is not currently
  8. in the build since it's not been decided where this will be published.
  9. 5. Copy tssdsql.dll to each TS in the cluster, system32 is fine.
  10. 6. On each TS, register tssdsql.dll for COM by running the command
  11. "regsvr32.exe tssdsql.dll".
  12. 7. Make a copy of nt\termsrv\sessdir\tssdsql\tssdsql.reg and change it to
  13. provide the connect string for the SQL Server in step 1. Install this reg
  14. script on each TS in the cluster.
  15. 8. Turn on session directory support for termsrv by setting, on each TS in
  16. the cluster, HKLM\System\CurrentControlSet\Control\Terminal Server\
  17. SessionDirectoryActive : DWORD = 0x1
  18. 9. Reboot the TS. If you are running a debug tssdsql, the kernel debugger
  19. should show tssdsql.dll being loaded by termsrv and list the connect
  20. string.
  21. 10. The SQL table should show the contents of each session on each TS
  22. machine, including logon state and other information specified in the
  23. schema.