CommunicationDeviceSwitcherService icon indicating copy to clipboard operation
CommunicationDeviceSwitcherService copied to clipboard

Service stopped and cannot be started

Open DerekFangming opened this issue 6 years ago • 2 comments

I'm getting this error when installing with admin mode. Anything wrong that I'm doing? I installed .Net run time from the link you provided (it's version 5.0 tho), and restarted several times. The service remains stopped and cannot be manually started

Status   Name               DisplayName
------   ----               -----------
Stopped  CommunicationAu... Communication Audio Auto Switch Ser...
Start-Service : Service 'Communication Audio Auto Switch Service (CommunicationAudioAutoSwitchService)' cannot be
started due to the following error: Cannot start service CommunicationAudioAutoSwitchService on computer '.'.
At C:\CommunicationDeviceSwitcherService\Install service script.ps1:16 char:1
+ Start-Service $params.Name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
   ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

DerekFangming avatar Dec 02 '20 02:12 DerekFangming

The problem is that the installer script expects the application to be located in C:\CommunicationDeviceSwitcherService. Either move it there, or change the path in the installer script (you can edit it in notepad)

Remboooo avatar Feb 04 '21 10:02 Remboooo

Hello, please try the new release, it should install everything right away in the right places and check for the right .netframework runtime. Release #1.0.1

BarsikV avatar Jun 26 '21 20:06 BarsikV