RDP error： Because of a Protocol Error Code: 0x112f
“I own two computers (Win 10 and Win 11). I utilize RDC to connect to the PC from the other Windows 11 in the home. When I try to log on in the morning, I've been getting a protocol error Because of a protocol error(code:0x112f) on Windows 10, the remote session will be disconnected.” Do you have any suggestions?”
Remote Desktop is a Windows built-in feature that allows us remote control a PC from another PC. However, a series of issues appear when using it, such as the case above.
How to fix protocol error code 0x112f?
If you are the one who is bothered by “protocol error code 0x112f in the remote session", keep reading to realize why it occurs and how to settle the issue with 4 confirmed solutions. In addition, you could have a look at a quick fix if you are in a hurry to get a remote connection.
Solution 1. Reboot the remote PC
According to the feedback of some users, the issue disappears after remote reboot. So, before we truly try the steps, restarting the remote PC may save a large amount of time for you. If the issue still persists, just follow the next solutions.
Solution 2. Adjust the resolution
The problem is mainly because of the resolution conflict between the monitor and the RDP client. So, we can change the screen resolution of the RDP session to fix the Remote Desktop protocol error.
Step 1. Search Remote Desktop Connection in the search box and then open it.
Step 2. Click on Show options and locate “Display”.
Step 3. Choose the color to “High color(15 bit)”, and then click on the “Connect” button.
Solution 3. Uncheck “Use all my monitors for the remote session”
In light of the experience of many users, they got the error when they RDP to a Server with multiple monitors. Therefore, unchecking the option “Use all my monitors for the remote session” can fix the issue.
The first two steps to uncheck “Use all my monitors for the remote session” are as same as solution 2. Then, find “Use all my monitors for the remote session” and then uncheck it.
Solution 4. Free up memory by running CMD/Command Prompt
This error may be triggered by insufficient memory on the RDP server. So, freeing some memory to make the PC work properly seems a good idea.
Step 1. Search cmd in the search box, right-click the pop-up option and select “Run as administrator” to open it.
Step 2. Run the following command in turn and then reconnect.
A command line to kill a task (Specifies the image name of the process to be terminated)
■taskkill /S（remote_server） /IM（process_image_name）/F
A command line to logoff an old abandoned desktop session
The “because of a protocol error code 0x112f" annoys many people when they use RDP. And some users even said that they can’t stand the blurry icons, text, and dialog boxes after they fix the issue by reducing the resolution or freeing up memory. At this time, the best solution is to try a free remote access software, AnyViewer.
AnyViewer, a completely free and reliable access software, can really realize remote control in easy and flexible ways. After connecting, you can change the resolution as you want. More importantly, there’s no need to find out IP address and username or perform port forwarding if you remote connect over the Internet. And it supports Windows 11/10/8.1/8/7 and Windows Server 2022/2019/2016/2012 R2. In the next part, the detailed operation of AnyViewer will be shown to you.
Method 1. Realize remote access with one-click
Step 1. Sign up for an AnyViewer account and then sign in to this account on the two computers. Once logged in, the PC will be assigned to the account automatically.
Step 2. On the client computer, go to "Device", click the PC that you need to control, and click "One-click control" to achieve remote connection with one click.
Step 3. Then the connection is successful. And you can click on “Adaptive” to adapt to your screen, “Resolution” to adjust the resolution, and some more operations are in the option “Operation”.
Note: If you don't want to log in to AnyViewer account, you can also try the following way.
Method 2. Remote Access by using Access code
Way 1. Input security code
Step 1. Download and install AnyViewer on the two PCs, and then find the place of Settings and the device ID.
Step 2. On the remote PC, click on “Settings” > “Recipient” > “Set my security code”, and then type the security code, click on “OK” and then return to the main interface.
Step 3. On the local PC, enter the device ID in the partner ID box, and then click on “Connect”
Step 4. Choose the second option “Input security code”, and then enter the security code, click on “OK”.
Way 2. Send control request
Step 1. On the local PC, enter the device ID of the remote PC, and then click on “Connect”.
Step 2. Choose the first option "Send a control request to your partner".
Step 3. On the remote PC, a request window will pop up. Tick "Allow". Now the connection is successful and you won't be troubled by the RDP error anymore.
In this post, 4 solutions to fix the issue "Because of a protocol error code 0x112f" are illustrated, such as rebooting the remote PC, adjusting the resolution, unchecking “Use all my monitors for the remote session” and freeing up memory by using Command Prompt. However, if the issue still remains, then AnyViewer is highly recommended as an alternative to RDP.