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

(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''<span style="color:red">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".</span>'''
+
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 [[Troubleshooting_Game_&_Voice_Services#Running_the_Service_Manually|starts manually as TCAGame]] follow these instructions:
  
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 [[Troubleshooting_Game_&_Voice_Services#Running_the_Service_Manually|starts manually as TCAGame]] follow these instructions:
+
== Configuration ==
 +
'''New installations with TCAdmin 2.0.141 or greater automatically enable compatibility options if needed depending on your operating system.''' To enable compatibility on an existing installation:
 +
* Edit TCAdmin2\Monitor\TCAdminServiceManager.exe.config in notepad. Add or update this value under <appSettings>
 +
<add key="TCAdmin.EnableLauncherService" value="True"/>
 +
* Open a command prompt as administrator and execute these commands:
 +
cd C:\Program Files\TCAdmin2\Monitor
 +
taskkill /F /IM TCAdminServiceLauncher.exe
 +
TCAdminServiceManager.exe -u
 +
TCAdminServiceManager.exe -i
 +
net start TCA2ServiceMan
 +
 
 +
* To verify the configuration execute:
 +
wmic service where name="TCA2ServiceMan" get StartName
 +
 
 +
The output should be:
 +
:StartName
 +
:.\TCAServiceManager
  
 +
<!--
 
== Method 1 ==
 
== 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.
 
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.
 
* Make sure you are running TCAdmin '''2.0.131.4''' or greater.
Line 17: Line 36:
 
== Method 2 ==
 
== 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.  
 
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.  
 +
 +
'''Note: New installations with TCAdmin 2.0.141 have method 2 pre-configured by default. If the game server doesn't start follow the instructions under "Optional Configuration (Advanced)".'''
  
 
* Make sure you are running TCAdmin '''2.0.127.1''' or greater.
 
* Make sure you are running TCAdmin '''2.0.127.1''' or greater.
Line 25: Line 46:
 
  taskkill /F /IM TCAdminServiceLauncher.exe
 
  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)
 
* 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 > Local Policies > User Rights Assignment.
+
** 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).
 
** 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.
 
** 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.
 
** 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.
 
* Start the TCAdmin Service Manager service again.
* Check the game servers to see if they start correctly.
+
* 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 ==
 
== 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.
 
* 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.
 
* 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) ==
+
== Optional Configuration (Advanced) ==
The following configurations will only work if you have the game configured with run as = user per service.
+
'''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 and after reinstalled events:
 +
echo 1 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\EnableLauncherService"
  
=== You have configured method 2 but need method 1 for a single 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 0 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\EnableLauncherService"
 
  
=== You have configured method 1 but need to disable it for a single service ===
+
If the game server doesn't start even with the compatibility options enabled:
 +
* Configure the game with run as = user per service. If you already have a game server with run as = tcagame you must reinstall it.
 
* Create a file named DisableLauncherService (no extension) in the service's folder in TCAdmin2\Monitor\Services\ServiceId
 
* 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:
+
* You can do this automatically by creating this batch script for the '''after created''' and '''after reinstalled''' events with "Execute as the service's user" unchecked:
  echo 0 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\DisableLauncherService"
+
mkdir "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%"
 +
  echo 1 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\DisableLauncherService"
  
 
== 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.
+
* Counter-Strike, Counter-Strike: Global Offensive, Garry's Mod (64bit), Squad, Empires require the instructions under "Optional Configuration (Advanced)".
 
* 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:59, 18 February 2020

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:

Configuration

New installations with TCAdmin 2.0.141 or greater automatically enable compatibility options if needed depending on your operating system. To enable compatibility on an existing installation:

  • Edit TCAdmin2\Monitor\TCAdminServiceManager.exe.config in notepad. Add or update this value under <appSettings>
<add key="TCAdmin.EnableLauncherService" value="True"/>
  • Open a command prompt as administrator and execute these commands:
cd C:\Program Files\TCAdmin2\Monitor
taskkill /F /IM TCAdminServiceLauncher.exe
TCAdminServiceManager.exe -u
TCAdminServiceManager.exe -i
net start TCA2ServiceMan
  • To verify the configuration execute:
wmic service where name="TCA2ServiceMan" get StartName

The output should be:

StartName
.\TCAServiceManager


Optional Configuration (Advanced)

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

If the game server doesn't start even with the compatibility options enabled:

  • Configure the game with run as = user per service. If you already have a game server with run as = tcagame you must reinstall it.
  • Create a file named DisableLauncherService (no extension) in the service's folder in TCAdmin2\Monitor\Services\ServiceId
  • You can do this automatically by creating this batch script for the after created and after reinstalled events with "Execute as the service's user" unchecked:
mkdir "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%"
echo 1 > "%TCAdminFolder%\Monitor\Services\%ThisService_ServiceId%\DisableLauncherService"

Known Issues

  • Counter-Strike, Counter-Strike: Global Offensive, Garry's Mod (64bit), Squad, Empires require the instructions under "Optional Configuration (Advanced)".
  • 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=1983"