Source code of Windows XP (NT5)
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
832 B

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem Verify that %RootDrive% has been configured and set it for this script.
  5. Rem
  6. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  7. If "%_CHKROOT%" == "FAIL" Goto Done
  8. Rem #########################################################################
  9. Rem
  10. Rem Add WMsgUsr.Cmd to the UsrLogn2.Cmd script
  11. Rem
  12. FindStr /I WMsgUsr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  13. If Not ErrorLevel 1 Goto Skip1
  14. Echo Call WMsgUsr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  15. :Skip1
  16. Echo.
  17. Echo To insure proper operation of Windows Messaging, users who are
  18. Echo currently logged on must log off and log on again before
  19. Echo running any application.
  20. Echo.
  21. Echo Windows Messaging Multi-user Application Tuning Complete
  22. Pause
  23. :Done