home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM =================================================================================
- REM This script is part of the appendix to the Application Compatibility Testing and
- REM Mitigation Guide for Windows XP Service Pack 2. Before using these scripts you
- REM must read the appendix and all Readme.txt files provided with the scripts. The
- REM scripts are designed as functional samples and will require extensive testing and
- REM some modification for use in a production environment.
- REM
- REM For information on additional functionality to incorporate into the script, such
- REM as error checking, go to:
- REM
- REM http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
- REM
- REM or
- REM
- REM http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rmscpt/html/rmscpt.asp
- REM
- REM As some of the scripts edit the registry it is important that their functionality and
- REM impact on the machine environment is thoroughly tested before they are used in a
- REM production environment.
- REM ==================================================================================
- REM RunSP.cmd
- REM
- REM Author: Jim Captainino, Terry Tull (Content Master)
- REM Date: 08/20/04
- REM Revision History:
- REM Date Comment
- REM 08/20/04 Initial version started
-
-
- REM This is a user initiated script that uses the RunAs command to execute the install.cmd
- REM script with administrative privileges. The user will be promted for a password.
-
- REM The scripts directory with the xpsp2.exe upgrade file needs to be copied to the local client machines
- REM before executing this script
-
- REM Edit this line to add in the correct administrator name and path to install.cmd
- Echo on
- RunAs /NoProfile /User:%computername%\Administrator "C:\Scripts\scenario2\Install.cmd"
-
-