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.

64 lines
2.1 KiB

  1. @Echo Off
  2. Rem
  3. Rem This is compatibility script for Lotus Notes 4.x per-user install.
  4. rem This script only needs to be run once by the administrator before
  5. rem each user can run the node install to configure Lotus Notes for
  6. rem their session
  7. rem
  8. Rem #########################################################################
  9. Rem
  10. Rem Verify that %RootDrive% has been configured and set it for this script.
  11. Rem
  12. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  13. If "%_CHKROOT%" == "FAIL" Goto Done
  14. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  15. If "%_SETPATHS%" == "FAIL" Goto Done
  16. regini lnote4u.key > Nul:
  17. Rem #########################################################################
  18. Echo.
  19. Echo After running this script, you need to update the properties
  20. Echo of the target for the "Lotus Notes Node Installer" shortcut in the folder :
  21. Echo %allusersprofile%\Start Menu\Programs\Lotus Applications.
  22. Echo Insert the value "cmd /C " before the target name.
  23. Echo The shortcut target should then be like:
  24. Echo cmd /C "C:\notes\install.exe"
  25. Echo.
  26. Echo.
  27. Echo To insure proper operation of Lotus Notes 4.x, users who are
  28. Echo currently logged on must log off and log on again before
  29. Echo running the Node Installer.
  30. Echo.
  31. Echo Lotus Notes 4.x Multi-user Application Tuning Complete
  32. Rem
  33. Rem Get the permission compatibility mode from the registry.
  34. Rem If TSUserEnabled is 0 we need to warn user to change mode.
  35. Rem
  36. ..\ACRegL "%Temp%\tsuser.Cmd" TSUSERENABLED "HKLM\System\CurrentControlSet\Control\Terminal Server" "TSUserEnabled" ""
  37. If Exist "%Temp%\tsuser.Cmd" (
  38. Call "%Temp%\tsuser.Cmd"
  39. Del "%Temp%\tsuser.Cmd" >Nul: 2>&1
  40. )
  41. If NOT %TSUSERENABLED%==0 goto SkipWarning
  42. Echo.
  43. Echo IMPORTANT!
  44. Echo Terminal Server is currently running in Default Security mode.
  45. Echo This application requires the system to run in Relaxed Security mode
  46. Echo (permissions compatible with Terminal Server 4.0).
  47. Echo Use Terminal Services Configuration to view and change the Terminal
  48. Echo Server security mode.
  49. Echo.
  50. :SkipWarning
  51. Pause
  52. :Done