To save the user-data, including the certificate repository cd "%USERPROFILE%\Application Data" xcopy AccessGrid AG.save /s /c /i /h /e Uninstall 2.1.1b, install 2.1.2 Restore the user data: cd "%USERPROFILE%\Application Data" xcopy AG.save AccessGrid /s /c /i /h /d /e