在使用Azure RMS加密重要文件,防止機密被直接複製竊取此篇文章中,介紹過了Azure RMS的服務和如何使用Microsoft RMS application。有實際操作過後,應該會發現一個嚴重的問題,那就是Microsoft RMS application與雲端同步的時間非常慢,例如在Azure Management中新增了RMS的原則範本,Client端卻等了好幾天還不見新的範本可用。這是因為預設更新的時間是7天,如果要更改的話需要在登錄編輯程式編輯登錄值。
1.在執行中輸入regedit,開啟登錄編輯程式。
![更改MicrosoftRMSAPP同步排程03 更改MicrosoftRMSAPP同步排程03](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B03_thumb.png)
2.進入HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\MSIPC的資料夾,新增一個DWORD。
![更改MicrosoftRMSAPP同步排程01 更改MicrosoftRMSAPP同步排程01](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B01_thumb.png)
3.數值名稱為TemplateUpdateFrequencyInSeconds,數值資料以秒為單位。
![更改MicrosoftRMSAPP同步排程02 更改MicrosoftRMSAPP同步排程02](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B02_thumb.png)
立即強制更新Microsoft RMS application
1.進入HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\MSIPC\<MicrosoftRMS_FQDN>\Template的資料夾。
![更改MicrosoftRMSAPP同步排程04 更改MicrosoftRMSAPP同步排程04](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B04_thumb.png)
2.刪除LastUpdatedTime的數值資料。
![更改MicrosoftRMSAPP同步排程05 更改MicrosoftRMSAPP同步排程05](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B05_thumb.png)
3.進入%localappdata%\Microsoft\MSIPC\Templates,將裡面的檔案都刪除。
![更改MicrosoftRMSAPP同步排程06 更改MicrosoftRMSAPP同步排程06](/image.axd?picture=%E6%9B%B4%E6%94%B9MicrosoftRMSAPP%E5%90%8C%E6%AD%A5%E6%8E%92%E7%A8%8B06_thumb.png)
參考資料
https://technet.microsoft.com/en-us/library/dn642472.aspx#BKMK_RefreshingTemplates
== 要試用 Azure的朋友 ,請點選 Azure Free Trial – 試用 30 天期 進行試用申請。 ==