Difference between revisions of "Compatibility with Windows 10 and Windows Server 2019"

Line 55: Line 55:
 
== Known Issues ==
 
== Known Issues ==
 
* 7 Days to Die, Battlefield 2, Eldewrito require method 1 to start correctly.
 
* 7 Days to Die, Battlefield 2, Eldewrito require method 1 to start correctly.
* If Counter-Strike, Counter-Strike: Global Offensive don't work with method 1 use method 2.
+
* Squad, Counter-Strike, Counter-Strike: Global Offensive require method 2.
 
* If a game server does not start with either method, the only solution is to stop the service manager service, kill all TCAdminServiceLauncher.exe processes and start the service manager in console mode.
 
* If a game server does not start with either method, the only solution is to stop the service manager service, kill all TCAdminServiceLauncher.exe processes and start the service manager in console mode.

Revision as of 17:19, 14 January 2020

If you are running other versions of Windows and a game server doesn't start with TCAdmin these fixes might work but you will lose the ability to view the game server's console with "Interactive Service Detection".

Microsoft has removed the Interactive Services Detection Service on Windows 10 v.1803 or later and Windows Server 2019. This means it is not possible to view the game server's console from remote desktop while it is running as a service. This creates compatibility issues with some games. If a game server does not start with TCAdmin but it starts manually as TCAGame follow these instructions:

Method 1

This method creates a Windows service for each game user. It's the same TCAdminServiceLauncher.exe process but it runs as a service instead of a background process.

Note: New installations with TCAdmin 2.0.141 have method 1 enabled by default.

  • Make sure you are running TCAdmin 2.0.131.4 or greater.
  • Go to Start > Administrative Tools > Services and stop the TCAdmin Service Manager service.
  • Open a command prompt and execute this command:
taskkill /F /IM TCAdminServiceLauncher.exe
  • Edit TCAdmin2\Monitor\TCAdminServiceManager.exe.config in notepad. Add or update this value under <appSettings>
<add key="TCAdmin.EnableLauncherService" value="True"/>
  • Start the TCAdmin Service Manager service again.
  • Check the game servers to see if they start correctly.

Method 2

This method configures the service manager to run as an administrator instead of local system. A TCAdminServiceLauncher.exe background process will be started for each game user.

  • Make sure you are running TCAdmin 2.0.127.1 or greater.
  • Go to Start > Administrative Tools > Services and stop the TCAdmin Service Manager service.
  • Edit TCAdmin2\Monitor\TCAdminServiceManager.exe.config in notepad. Add or update this value under <appSettings>
<add key="TCAdmin.EnableLauncherService" value="False"/>
  • Open a command prompt and execute this command:
taskkill /F /IM TCAdminServiceLauncher.exe
  • Configure the service manager to run as an administrator account and add the required permission. (you may create a new administrator account used exclusively for this)
    • Go to start > Administrative Tools > Local Security Policy > > Security Settings > Local Policies > User Rights Assignment.
    • Double click on "Replace a process level token" and add the Administrator account (or your custom user).
    • Go to Start > Administrative Tools > Services. Double click on the TCAdmin Service Manager service.
    • In the log on tab select "Log on as this account" and enter your administrator user (or your custom user) and password.
  • Start the TCAdmin Service Manager service again.
  • Check the game servers to see if they start correctly. If the game server is currently running stop it and start it again. Don't use restart.

Other Options

  • If you can't get a game server to start try stopping the TCAdmin Service Manager service. Kill all TCAdminServiceLauncher.exe processes. Start the service manager in console mode. That way the game server should start.
  • Go to the game's run as settings. Set run as = local system. Create a new game server. This is not recommended if you are renting the game server to somebody else.

Optional Configurations (Advanced)

The following configurations will only work if you have the game configured with run as = user per service.

You have configured method 2 but need method 1 for a single service

  • Configure the game with run as = user per service.
  • Create a file named EnableLauncherService (no extension) in the service's folder in TCAdmin2\Monitor\Services\ServiceId
  • You can do this automatically by creating a batch script for the after created event:
echo 1 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\EnableLauncherService"

You have configured method 1 but need to disable it for a single service

  • Configure the game with run as = user per service.
  • Create a file named DisableLauncherService (no extension) in the service's folder in TCAdmin2\Monitor\Services\ServiceId
  • You can do this automatically by creating a batch script for the after created event:
echo 1 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\DisableLauncherService"

Known Issues

  • 7 Days to Die, Battlefield 2, Eldewrito require method 1 to start correctly.
  • Squad, Counter-Strike, Counter-Strike: Global Offensive require method 2.
  • If a game server does not start with either method, the only solution is to stop the service manager service, kill all TCAdminServiceLauncher.exe processes and start the service manager in console mode.
Retrieved from "https://help.tcadmin.com/index.php?title=Compatibility_with_Windows_10_and_Windows_Server_2019&oldid=1905"