@echo off
title = = = Manual Backup Restore Office 2010 Professional Add Version = =
Before Echo recovers, verify that the key was successfully activated for the original installation and that the hardware did not change!
echo if not confirmed please close this program directly!
Echo.
: Begin
Set "xxx=" &set/p xxx= Please select (1. Back up 2. Restore):
If "%xxx%" NEQ "1" If "%xxx%" NEQ "2" Cls&goto begin
Cls&goto xx%xxx%
: xx1
copy/y "%allusersprofile%microsoftofficesoftwareprotectionplatformtokens.dat"
copy/y "%allusersprofile%microsoftofficesoftwareprotectionplatformcachecache.dat"
echo Backup Complete!
echo Please close directly or press any key to exit ...
Pause >nul
Goto:eof
: xx2
net stop "Osppsvc"
copy/y Tokens.dat "%allusersprofile%microsoftofficesoftwareprotectionplatform"
copy/y Cache.dat "%allusersprofile%microsoftofficesoftwareprotectionplatformcache"
Echo restored successfully!
echo Please close directly or press any key to exit ...
Pause >nul