Terminal Services For Windows 10

broken image


Option 1 - Modifying termsrv.dll

To have concurrent user sessions working in Windows 10, you need to make small changes to termsrv.dll file. This file is located in C:WindowsSystem32 folder. Before modifying termsrv.dllfor the first time, you need to take ownership and assign yourself full permissions. You also need to stop Remote Desktop service (TermService) if it's running.

DLL files can be modified using any HEX Editor (for example Tiny Hexer). You can do this yourself by replacing strings shown below, or just download patched versions from this page.

Windows 10 x64 v2004 - May 2020 Update (20H1)

After this update termsrv.dll is upgraded to version 10.0.19041.84 To get back concurrent remote desktop connections, make the following changes:

Find:

When I access the server remotely I want it to keep it's default printer, and not switch to the laptops default printer. I've searched the net for how to do this, and every page says I need to access the terminal services configuration, or follow this 'computer config policies admin templates windows components terminal services terminal server printer redirection:'. Jun 03, 2020 How to install Windows terminal on Windows 10?, Installing Windows terminal on Windows Server 2019? Windows released its own Terminal emulator and open-sourced it as the source code is available on Github. This Windows Terminal also works as a Windows console host from where Windows administration and core management is performed. See full list on devblogs.microsoft.com.

39 81 3C 06 00 00 0F 84 D9 51 01 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.19041.84 file can be found here.

Older Windows 10 versions

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1909 - November 2019 Update

After this update termsrv.dll is upgraded to version 10.0.18362.657. To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 5D 61 01 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.17763.1 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1903 - May 2019 Update

After this update termsrv.dll is upgraded to version 10.0.18362.53. To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 5D 61 01 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.17763.1 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1809 - October 2018 Update + Cumulative April 2019 Update

After this update termsrv.dll is upgraded to version 10.0.17763.437. To get back concurrent remote desktop connections, the make the following changes:

Find:

39 81 3C 06 00 00 0F 84 3B 2B 01 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.17763.437 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1809 - October 2018 Update

Windows 10 October 2018 Update (1809) updates termsrv.dll to version 10.0.17763.1. To get back concurrent remote desktop connections, the make the following changes:

Find:

39 81 3C 06 00 00 0F 84 7F 2C 01 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.17763.1 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1803 - Spring 2018 Update (March 2018)

Windows 10 Spring 2018 Update (1803) updates termsrv.dll to version 10.0.17134.1. To get back concurrent remote desktop connections, make the following changes:

Find:

8B 99 3C 06 00 00 8B B9 38 06 00 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.17134.1 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 Fall Creators Update (1709 - Redstone 3)

Updates termsrv.dll to version 10.0.16299.15. To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 B1 7D 02 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. The original, v10.0.16299.15 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1703 - Creators Update (April 2017)

Windows 10 Creators Update (1703 - Redstone 2) updates termsrv.dll to version 10.0.15063.0. To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 53 71 02 00

replace with:

B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. Original, v10.0.15063.0 file can be found here.

Terminal services win 10

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 Threshold 2 (November 2015)

Windows 10 Fall Update (also called 'Threshold Wave 2 Update') updates termsrv.dll to version 10.0.10586.0. To get back concurrent remote desktop connections, make the following changes:

Find:
39 81 3C 06 00 00 0F 84 3F 42 02 00

replace with:
B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be download from here. Original, v10.0.10586.0 file is here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 RTM (August 2015)

termsrv.dll file version 10.0.10240.16384.

In termsrv.dll find:
39 81 3C 06 00 00 0F 84 73 42 02 00

and replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

The patched version can be downloaded from here. The original, untouched version of termsrv.dll v10.0.10240.16384 can be downloaded from here.

Option 2 - RDP Wrapper

Instead of modifying termsrv.dll file you can use RDP Wrapper which acts as a middleman between Terminal Services and Service Control Manager. This way you don't need to touch termsrv.dll file. Actually, if you already modified your termsrv.dll file, you need to revert to the original version before using this method.

Download and extract RDPWrap-v1.6.1.zip (or newer), then run install.bat as admin. After installation is completed, run RDPConfig.exe. If all items under Diagnostics are green, you should be good to go.

If 'Listener state' is 'Listening [not supported]', you will need to update the wrapper's configuration (.ini) file.

With the latest version of RDP Wrapper you no longer need to update rdpwrap.ini manually. Simply run update.bat and everything will be done automatically.

If update.bat doesn't add support to your Windows version, try checking Open Issues on RDP Wrapper GitHub page. You may find how to manually update rdpwrap.ini until official support is added.

May 2017
Windows 10 64bit

View the discussion thread.
-->

Installation

You can install Windows Terminal from the Microsoft Store.

If you don't have access to the Microsoft Store, the builds are published on the GitHub releases page. If you install from GitHub, the terminal will not automatically update with new versions.

First run

Terminal Services For Windows 10 Windows 10

After installation, when you open the terminal, it will start with PowerShell as the default profile in the open tab.

Dynamic profiles

The terminal will automatically create profiles for you if you have WSL distros or multiple versions of PowerShell installed. Learn more about dynamic profiles on the Dynamic profiles page.

Open a new tab

You can open a new tab of the default profile by pressing Ctrl+Shift+T or by selecting the + (plus) button. To open a different profile, select the ˅ (arrow) next to the + button to open the dropdown menu. From there, you can select which profile to open.

Invoke the command palette

You can invoke most features of Windows Terminal through the command palette. The default key combination to invoke it is Ctrl+Shift+P.

Open a new pane

Microsoft Terminal Services Windows 10

You can run multiple shells side-by-side using panes. To open a pane, you can use Alt+Shift++ for a vertical pane or Alt+Shift+- for a horizontal one. You can also use Alt+Shift+D to open a duplicate pane of your focused profile. Learn more about panes on the Panes page.

Configuration

To customize the settings of your Windows Terminal, select Settings in the dropdown menu. This will open the settings.json file in your default text editor. (The default text editor is defined in your Windows settings.)

The terminal supports customization of global properties that affect the whole application, profile properties that affect the settings of each profile, and actions that allow you to interact with the terminal using your keyboard or the command palette.

Tip

You can also use the settings UI to configure your settings if you are using Windows Terminal Preview. You can learn how to open the settings UI on the Actions page.

Command line arguments

You can launch the terminal in a specific configuration using command line arguments. These arguments let you open the terminal with specific tabs and panes with custom profile settings. Learn more about command line arguments on the Command line arguments page.

Troubleshooting

If you encounter any difficulties using the terminal, reference the Troubleshooting page. If you find any bugs or have a feature request, you can select the feedback link in the About menu of the terminal to go to the GitHub page where you can file a new issue.





broken image