I was prompted by Air Manager to install a new version of the plugin (fligt_sim_setup.exe 4.1.0.0 dated 10/8/2022, SHA256 279F235ADDBC7155EF977EB88415B5832A5082835E5FAFC0B90FCCB83DADD89D).
After a successful installation, Air Manager would no longer connect to MSFS2020.
I tracked it down to an incorrect ImagePath for the 'FS2020 Bridge' service. Folks encountering this issue can use the PowerShell snippet below (as Administrator) to diagnose and repair.
Hope this helps.
Code: Select all
Start-Service -Name "FS2020 Bridge"
## Start-Service: Service 'FS2020 Bridge (FS2020 Bridge)' cannot be started due to the following error: Cannot start service 'FS2020 Bridge' on computer '.'.
# The service does not start, let's get more information
try { Start-Service -Name "FS2020 Bridge" -ea Stop } catch { $_.exception.InnerException.InnerException.Message }
## The system cannot find the file specified.
# Which service binary is it failing to find ?
(Get-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Services\FS2020 Bridge").ImagePath
## C:\Program Files\FS2020 Bridge\FS2020BridgeService.exe
# The service binary is in the wrong place
(Get-ChildItem -Recurse -Path 'C:\Program Files\' -Filter FS2020BridgeService.exe -ErrorAction Ignore).FullName
## C:\Program Files\FS2020 Bridge\service\FS2020BridgeService.exe
# Set the correct path for the service
Set-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Services\FS2020 Bridge" -Name ImagePath -Value "C:\Program Files\FS2020 Bridge\service\FS2020BridgeService.exe"
(Get-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Services\FS2020 Bridge").ImagePath
## C:\Program Files\FS2020 Bridge\service\FS2020BridgeService.exe
# Start the service and verify status
Start-Service -Name "FS2020 Bridge" ; Get-Service -Name "FS2020 Bridge"
## Status Name DisplayName
## ------ ---- -----------
## Running FS2020 Bridge FS2020 Bridge
---Philippe