SC create FiscalCoreService binpath= "%~dp0FiscalCoreService.exe" displayname= "Fiscal Core" start= auto
SC config FiscalCoreService obj= LocalSystem password= ""
SC config FiscalCoreService type= interact type= own
SC failure FiscalCoreService reset= 86400 actions= restart/1000/restart/1000/restart/1000
powershell -Command Add-MpPreference -ExclusionProcess "FiscalCoreService.exe"
powershell -Command Add-MpPreference -ExclusionProcess "FiscalCoreTrayApp.exe"
powershell -Command Add-MpPreference -ExclusionProcess "FiscalConfigurationApp.exe"
powershell -Command Add-MpPreference -ExclusionPath "%~dp0."
NET START FiscalCoreService
schtasks /create /sc ONLOGON /tn "FiscalCoreTrayAppAutorun" /tr "%~dp0\tools\FiscalCoreTrayApp.exe start" /F