setlocal ENABLEEXTENSIONS REM THis script runs on the target machine and does the following: REM 1. Copies a new version of FRS executable from a server hub machine if the REM current version matches the date and time of the old version to be replaced. REM 2. expands the new executable. (see variable name setup for "newexe" below.) REM 3. does a net stop ntfrs REM 4. does a regini to set FRS to do a non-auth restore on restart. REM 5. if a new FRS was copied in step 1 rename the current ntfrs.exe to a saved name REM 6. and copies the new executable to ntfrs.exe REM 7. does a net start ntfrs REM 8. copies the script log file to the hub machine with the name %computername%.log REM grep the log files for the string "QFE upgrade" to check the result status. REM REM WARNING: The rename/copy operation above must be modified to work with system file REM protection. I.E. the install part of this script currently does not work. REM REM Note: If a new version of FRS is not found on the hub machine this script will REM simply trigger a non-auth restore on the target computer. REM REM Note: This script can run unattended so you can use the AT command to launch it. REM REM AT \\