echo off net stop clipsvc if "%1"=="" ( echo ==== BACKING UP LOCAL LICENSES move %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.dat %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.bak ) if "%1"=="recover" ( echo ==== RECOVERING LICENSES FROM BACKUP copy %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.bak %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.dat ) net start clipsvc