Answered by:
RmsBulk.exe take a long time to start

Question
-
Hi,
Recently we were testing with the AD RMS Bulk Protection Tool but ran into a strange problem.
1. We downloaded and installed the AD RMS Bulk Protection tool, and configured the environment according to the document came with the tool.
2. Then we tried to encrypt files using the RmsBulk.exe and all were succeeded without any problem, except the RmsBulk.exe take a long time to start (about 10 seconds).
3. I also tried to run the RmsBulk.exe without entering any parameter, it took 10-second to start and then display the help with samples.Does anyone ever ran into this problem before? Any idea about how to fix it? Any help will be highly appreciated!!!
Raymond Kung
- Edited by Raymond Kung Saturday, September 1, 2012 4:15 PM
Saturday, September 1, 2012 4:13 PM
Answers
-
Hi Raymond,
I assume that you server does not have Internet access (or only via proxy with user authentication).
rmsbuld.exe is verifying it's own digital signature by default and if the server cannot access the Internet to retrieve the revocation lists of the certificates it takes a long time for rmsbulk.exe to start. This is a common issue with .net applications.
to disable that create a file with the name rmsbulk.exe.config in the same directory you have the rmsbulk.exe file.
Here the content of the .config file:
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<runtime>
<generatePublisherEvidence enabled="false" />
</runtime>
</configuration>Hope that helps,
Lutz
- Proposed as answer by LutzMH Thursday, September 6, 2012 5:32 AM
- Marked as answer by Brad Mahugh - (Microsoft) Wednesday, April 3, 2013 11:35 PM
Thursday, September 6, 2012 5:32 AM
All replies
-
Hi Raymond,
I assume that you server does not have Internet access (or only via proxy with user authentication).
rmsbuld.exe is verifying it's own digital signature by default and if the server cannot access the Internet to retrieve the revocation lists of the certificates it takes a long time for rmsbulk.exe to start. This is a common issue with .net applications.
to disable that create a file with the name rmsbulk.exe.config in the same directory you have the rmsbulk.exe file.
Here the content of the .config file:
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<runtime>
<generatePublisherEvidence enabled="false" />
</runtime>
</configuration>Hope that helps,
Lutz
- Proposed as answer by LutzMH Thursday, September 6, 2012 5:32 AM
- Marked as answer by Brad Mahugh - (Microsoft) Wednesday, April 3, 2013 11:35 PM
Thursday, September 6, 2012 5:32 AM -
Hi LutzMH,
Yes, you are 100% correct. My testing environment does not have internet connection and this slowness not only happened with RmsBulk.exe but also with all office applications. After I created false DNS records for crl.microsoft.com, www.microsoft.com, etc..., now the performance is back to normal.
Really appreciated for your simple idea but great help!
Raymond
Raymond Kung
Monday, September 10, 2012 11:44 AM