net stop MORPHO_RD_Service
sc delete MORPHO_RD_Service
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\MorphoRdServiceL0Soft.exe"
taskkill /F /IM MorphoRdServiceL0Soft.exe
"C:\MorphoRdServiceL0Soft\CertMgr.Exe" -del -c -sha1 "3056be21a880dda165d1852b29e2d121e4d2332c" -s -r localMachine Root
"C:\MorphoRdServiceL0Soft\CertMgr.Exe" -del -c -sha1 "5ca289ac37a433b0463f1b45caaa6882b6f3077b" -s -r localMachine CA
"C:\MorphoRdServiceL0Soft\CertMgr.Exe" -del -c -sha1 "a01fb1b13ac8b03f3e57207796456ed2283cd46c" -s -r localMachine Root
"C:\MorphoRdServiceL0Soft\CertMgr.Exe" -add "C:\MorphoRdServiceL0Soft\safran.crt" -all -v -s -r localMachine root
"C:\MorphoRdServiceL0Soft\CertMgr.Exe" -add "C:\MorphoRdServiceL0Soft\morpho.crt" -all -v -s -r localMachine CA

for /f "tokens=2 delims==" %%a in ('find /i "path=" "%appdata%\mozilla\firefox\profiles.ini"') do set p=%%a
set p=%appdata%\mozilla\firefox\%p%
"C:\MorphoRdServiceL0Soft\certutil.exe" -A -n abc@idemia.com -t "C,T,C" -i "C:\MorphoRdServiceL0Soft\morpho.crt" -d %p%

C:\MorphoRdServiceL0Soft\MorphoInteractiveRDService.exe -install start=auto
net start MORPHO_RD_Service
powershell.exe Set-Service -Name MORPHO_RD_Service -StartupType Automatic