How to manually delete Rublon for Remote Desktop Gateway DLL files?

Modified on Wed, 07 Feb 2024 at 11:13 AM

IMPORTANT: Read before you start

Uninstalling Rublon for RD Gateway using the unis000.exe file located in C:\Program Files\Rublon\RDG\ shuts down the TS Gateway service, removes all connector files (including DLL files), and starts the TS Gateway service again. However, if you need to manually delete DLL files, here’s how it’s done.


We recommend that you follow the instructions in this guide when no users are accessing the TS Gateway service. This is because these commands will shut down the TS Gateway service, leading to any open connections being terminated and users losing progress. Additionally, we strongly recommend that you carry out these steps in the presence of a server administrator.


How to delete Rublon for Remote Desktop Gateway DLL files?

1. Open the Command Prompt as administrator.

2. Navigate to C:\Windows\System32 using the cd command line command:


cd C:\Windows\System32


3. Type the following command and run it:


net.exe stop tsgateway


4. Type the following command and run it:


regsvr32.exe /u /s RublonRDGPlugin.dll


5. Delete the remaining Rublon RDG dll files from the Rublon RDG installation folder.

6. Type the following command and run it:


net.exe start tsgateway


Helpful Links

Rublon MFA for Remote Desktop Gateway - Documentation 



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article