Description

“Connecting to server. Stand by ...” message in the WinAutomation Console

 


Solution

Go to "Services.msc" on your machine and check if the WinAutomation Server service is running.


1st case – Service is stopped

-    Restart the service

  • If it starts successfully, the issue should be resolved.
  • If it is not able to start, it may through a warning like the following: 

OR

 


Follow the steps below:

  1. Exit WinAutomation from the system tray icon
  2. Navigate to "C:\Users\YourUsername\Documents\WinAutomation" and backup the .dat file where all the processes of WinAutomation are stored
  3. Navigate to "C:\ProgramData\Softomotive\WinAutomation" and delete the "GlobalSettings.dat" file
  4. Navigate to "C:\Users\YourUsername\AppData\Local\Softomotive" and delete all "WinAutomation" folders
  5. Launch WinAutomation


Note that the above procedure will reset the installation of WinAutomation to the default settings. Hence, you would need to provide the License key and re-configure a couple of settings such as the password for the "Autologin" feature.



2nd case – Service is running

  1. Exit WinAutomation from the system tray icon.
  2. Follow this link to download a Service Fix file.
  3. Right-click on the executable that you just downloaded and select "Run as Administrator" (This executable will re-install the WinAutomation services.)
  4. Once the installation is complete, restart your machine and launch WinAutomation again.



If the issue persists, run the Windows Command Prompt (cmd) as Administrator and execute the following commands:

o    For 32-bit systems,

  1. "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" "C:\Program Files\WinAutomation\WinAutomation.Server.exe"
  2. "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" "C:\Program Files\WinAutomation\WinAutomation.MachineAgent.exe"


o    For 64-bit systems,

  1. "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" "C:\Program Files\WinAutomation\WinAutomation.Server.exe"
  2. "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" "C:\Program Files\WinAutomation\WinAutomation.MachineAgent.exe"


The InstallUtil.exe will re-install the WinAutomation services and the issue will be resolved.



If the issue persists, note the following:


It has been observed that if OneDrive is set to automatically backup the user's Documents folder, the WinAutomation Console cannot connect to the server.


 


In order to resolve the issue, you should locate the WinAutomation folder under Documents folder, right-click on it and select 'Always keep on this device'


 



3rd case – Service does not exist at all

Execute the following command in cmd as administrator:

  • sc create "WinAutomation Server" binpath="C:\Program Files\WinAutomation\WinAutomation.Server.exe" displayname="WinAutomation Server" start=auto

Modify the binpath value accordingly, depending on the installation folder.