How to Update rdpwrap.ini (RDP Wrapper)

Dennis Faas's picture

Infopackets Reader Tony G. writes:

" Dear Dennis,

Thanks for your previous article regarding RDP Wrapper, which allows me to connect to my media PC using more than one RDP (remote desktop protocol) session. This is incredibly convenient because the kids can be watching a movie on the media PC, I can still login to it through remote desktop without interrupting anything. The issue I'm having today is that Windows 10 recently updated to 10.0.17763.316, and now RDP Wrapper is broken. I have gone to the RDP Wrapper website and found other users complaining of the same problem. Many forum posts suggest I need to update the rdpwrap.ini file to make it work again. The problem is that I can't update the rdpwrap.ini file because I get 'access denied' or 'you do not have permission to open this file' when trying to save it using notepad. In other words, the file is in use. If I copy over top of the rdpwrap.ini (with another rdpwrap.ini file), I get the same issue - file is in use. The forum community doesn't seem to explain how to update RDP Wrapper step by step. Also, if I uninstall RDP Wrapper it reinstalls the default rdpwrap.ini file. I am going in circles and I have no idea how to update rdpwrap.ini. Can you help? "

My response:

Thanks for your question. First let's talk about what RDP Wrapper is and does, and why it needs updating - and better yet, why it's not always easy to update this fine program.

Update 20200401: If you don't care about any of that and just want to get on with updating RDP wrapper, click here to dive into the meat and potatoes of this article. I've included automated instructions on how to update!

What is RDP Wrapper?

RDP Wrapper is an amazing utility that 'wraps' over top of the Remote Desktop Protocol (RDP) found in MS Windows without actually patching any DLLs (termsrv.dll). It allows users to have more than 1 concurrent RDP session as commonly used with Windows Servers.

If you are a power user that uses RDP to control a network of computers, RDP Wrapper is a godsend.

Example of How RDP Wrapper Works: Media PC

Let's look at an example.

Let's say you have a super powerful 'server' machine (8 core, 16 thread, 32GB ram, etc) that not only serves files to your network of computers, but is also powerful enough to run virtual machines, and the like. You rely on this machine to do all your heavy lifting, which means that you probably connect to it quite often using RDP.

Now, let's say your server is also a media PC. It's attached to your main television, which is used to stream media via Kodi / view Netflix / play youtube videos, etc for the family. Normally, you can only connect to the server using RDP if no other users are active. In other words: if someone is streaming media on the server (as a media PC), you normally can't RDP into it, otherwise the other user that is streaming content would be kicked off.

That's where RDP Wrapper comes in. With RDP Wrapper, you can still stream media, and at the same time, allow incoming RDP connections to the server to do whatever it is you want to do - using a separate desktop. Think of it as having as many desktops as you need on one machine, in as many instances as you want (defined either by the number of users on the system, or how RDP Wrapper is configured to allow infinite connections from the same user).

RDP Wrapper: Sometimes Breaks after Windows Update

Unfortunately, RDP Wrapper does not appear to be updated by the developer as of last year.

That said, there is a big community of users using RDP Wrapper. A small handful of them have developed their own fixes (also known as "byte offsets") to get around various Windows Update issues that break RDP Wrapper.

The reason it breaks has to do with programming code updates to the dynamic link library (termsrv.dll) of the remote desktop protocol itself, courtesy of Microsoft. Unfortunately, finding the right fix (rdpwrap.ini byte offset) to make RDP Wrapper work again is not always easy to do because you often have to wait for a fix to be developed by the community, then wade through forum posts in search of said fix.

How to Update rdpwrap.ini (RDP Wrapper)

Update 2020401: I've forgone my old 'how to update rdwrapper' instructions for newer instructions that are now automated.

Here are the steps:

  1. Download the "Automatic RDP Wrapper installer" (autoupdate-v07.09.2019.zip) from the statscorp github page.
     
  2. Go to your download folder, then right click over top of the autoupdate-v07.09.2019.zip file and select "Extract All". This will create a folder called autoupdate-v07.09.2019 and will contain a file called autoupdate.bat and a folder called Helper. Go inside the autoupdate-v07.09.2019 folder, then press CTRL + A on the keyboard to select all, then CTRL + X to "cut" to your clipboard.
     
  3. Go to where you've installed RDP Wrapper on the hard drive - on most systems, it will be in "c:\program files\rdp wrapper". Once you're there, press CTRL + V on your keyboard to paste the contents of the autoupdate.bat and Helper folder inside this folder. Unfortunately the autoupdate.bat won't work on its own at this point, and you will need to a bit more work - described in Steps #4 and #5 below.
     
  4. Download RDPWrap-v1.6.2.zip file to your download folder, then right click it and select "Extract All". This will create a folder called RDPWrap-v1.6.2; go inside that folder, then press CTRL + A on the keyboard to select all, then CTRL + X to "cut" to your clipboard.
     
  5. Go back to the "c:\program files\rdp wrapper" folder on your hard drive, then press CTRL + V on your keyboard to paste the contents of the RDPWrap-v1.6.2 folder inside this folder.
     
  6. Now you can finally automatically update RDP Wrapper. To do so, right click over top of autoupdate.bat and select "Run as administrator".
     
  7. If the output goes by too quickly and you can't read it or if there is an error: open up an administrative command prompt (by clicking Start, then type in "cmd", wait for CMD.EXE or "Command Prompt" to appear in the list, then right click as administrator). Change directory (CD) to c:\program files\rdp wrapper, then execute the autoupdate.bat file. The output will be displayed in the command prompt.
     
  8. Assuming that went find, it's time to test your RDP Wrapper. You can run the RDPConf.exe program (inside the c:\program files\rdp wrapper folder) and the Listener state should say "Fully supported".

I hope that helps.

Did you find this Page Useful?

If you found this page useful, I ask that you kindly link to it in a forum post, perhaps on the rdpwrapper site / forum, so that others can find it in Google. Thanks!

Still Can't Make RDP Wrapper Work?

If you need help configuring or updating RDP Wrapper, I am available for hire where I can remotely connect to your machine and update it for you. Contact me here.

Additional 1-on-1 Support From Dennis

If all of this is over your head, or if you can't get RDP Wrapper working, I can help using my remote desktop support service. Simply contact me, briefly describing the issue and I will get back to you as soon as possible.

Got a Computer Question or Problem? Ask Dennis!

I need more questions. If you have a computer question - or even a computer problem that needs fixing - please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.

About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.

Rate this article: 
Average: 3.3 (16 votes)