home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / Chip_2004-10_cd1.bin / chplus / guide / AppCompat-XPSP2.msi / _8A20A82799263F2E2F7D3C7DEA618834 / _E1084EE6B38F4C088995016BD643A615 < prev    next >
Encoding:
Text File  |  2004-08-23  |  1.8 KB  |  41 lines

  1. @echo off
  2. REM =================================================================================
  3. REM This script is part of the appendix to the Application Compatibility Testing and 
  4. REM Mitigation Guide for Windows XP Service Pack 2. Before using these scripts you 
  5. REM must read the appendix and all Readme.txt files provided with the scripts. The 
  6. REM scripts are designed as functional samples and will require extensive testing and
  7. REM some modification for use in a production environment.
  8. REM
  9. REM For information on additional functionality to incorporate into the script, such 
  10. REM as error checking, go to:
  11. REM
  12. REM http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
  13. REM
  14. REM or
  15. REM
  16. REM http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rmscpt/html/rmscpt.asp
  17. REM
  18. REM As some of the scripts edit the registry it is important that their functionality and 
  19. REM impact on the machine environment is thoroughly tested before they are used in a 
  20. REM production environment.
  21. REM ==================================================================================  
  22. REM  RunSP.cmd
  23. REM 
  24. REM  Author: Jim Captainino, Terry Tull (Content Master)
  25. REM  Date:   08/20/04
  26. REM  Revision History:
  27. REM     Date    Comment
  28. REM     08/20/04    Initial version started
  29.  
  30.  
  31. REM This is a user initiated script that uses the RunAs command to execute the install.cmd
  32. REM script with administrative privileges. The user will be promted for a password.
  33.  
  34. REM The scripts directory with the xpsp2.exe upgrade file needs to be copied to the local client machines
  35. REM before executing this script
  36.  
  37. REM Edit this line to add in the correct administrator name and path to install.cmd
  38. Echo on
  39. RunAs /NoProfile /User:%computername%\Administrator "C:\Scripts\scenario2\Install.cmd"
  40.  
  41.