自訂自助入口網站Customize the self-service portal

適用於: Configuration Manager (最新分支)Applies to: Configuration Manager (current branch)

安裝 BitLocker 自助入口網站後,您可以為組織自訂該入口網站。After you install the BitLocker self-service portal, you can customize it for your organization. 您可以新增自訂通知、組織名稱,以及其他組織特定資訊。Add a custom notice, your organization name, and other organization-specific information.

商標Branding

以您組織的名稱、技術支援 URL 和通知文字,為自助入口網站加上品牌。Brand the self-service portal with your organization's name, help desk URL, and notice text.

  1. 在裝載自助入口網站的 Web 伺服器上,以管理員身分登入。On the web server that hosts the self-service portal, sign in as an administrator.

  2. 啟動 [Internet Information Services (IIS) 管理員] (執行 inetmgr.exe)。Start the Internet Information Services (IIS) Manager (run inetmgr.exe).

  3. 展開 [網站] ,展開 [預設的網站] ,然後選取 SelfService 節點。Expand Sites, expand Default Web Site, and select the SelfService node. 在詳細資料窗格的 ASP.NET 群組中,開啟 [應用程式設定] 。In the details pane, ASP.NET group, open Application Settings.

    IIS 管理員中 SelfService 應用程式設定的 範例螢幕擷取畫面Example screenshot of SelfService application settings in IIS Manager

  4. 選取您要變更的項目,然後在 [動作] 窗格中選取 [編輯] 。Select the item that you want to change, and in the Actions pane, select Edit. 將 [值] 變更為您要使用的新名稱。Change the Value to the new name that you want to use.

    警告

    請勿變更 [名稱] 值。Don't change the Name values. 例如,請勿變更 CompanyName,而應變更 Contoso ITFor example, don't change CompanyName, change Contoso IT. 如果您變更 [名稱] 值,自助入口網站將會停止運作。If you change the Name values, the self-service portal will stop working.

變更會立即生效。The changes take effect immediately.

支援的商標值Supported branding values

針對您可以設定的值,請參閱下表:For the values that you can set, see the following table:

NameName 說明Description 預設值Default value
公司名稱CompanyName 自助入口網站在每個頁面頂端顯示為標題的組織名稱。The organization name that the self-service portal displays as a header at the top of every page. Contoso IT
DisplayNoticeDisplayNotice 顯示使用者必須確認的初始聲明。Display an initial notice that the user has to acknowledge. true
HelpdeskTextHelpdeskText 在右窗格中位於 [針對所有其他相關問題] 下方的字串The string in the right pane below "For all other related issues" Contact Helpdesk or IT Department
HelpdeskUrlHelpdeskUrl HelpdeskText 字串的連結。The link for the HelpdeskText string. (空白)(empty)
NoticeTextPathNoticeTextPath 使用者必須確認的初始聲明文字。The text of the initial notice that the user has to acknowledge. 根據預設,Web 伺服器上的完整檔案路徑為 C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\Notice.txtBy default, the full file path on the web server is C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\Notice.txt. 請在純文字編輯器中編輯並儲存檔案。Edit and save the file in a plain text editor. 此路徑值相對於 SelfService 應用程式。This path value is relative to the SelfService application. Notice.txt

如需預設自助入口網站的螢幕擷取畫面,請參閱 BitLocker 自助入口網站For a screenshot of the default self-service portal, see BitLocker self-service portal.

提示

如有必要,您可以將其中部分的字串當地語系化,以不同的語言顯示。If necessary, you can localize some of these strings to display in different languages. 如需詳細資訊,請參閱當地語系化For more information, see Localization.

工作階段逾時Session time-out

若要讓使用者的工作階段在閒置一段指定的時間之後過期,您可以變更自助入口網站的工作階段逾時設定。To make the user's session expire after a specified period of inactivity, you can change the session time-out setting for the self-service portal.

  1. 在裝載自助入口網站的 Web 伺服器上,以管理員身分登入。On the web server that hosts the self-service portal, sign in as an administrator.

  2. 啟動 [Internet Information Services (IIS) 管理員] (執行 inetmgr.exe)。Start the Internet Information Services (IIS) Manager (run inetmgr.exe).

  3. 展開 [網站] ,展開 [預設的網站] ,然後選取 SelfService 節點。Expand Sites, expand Default Web Site, and select the SelfService node. 在詳細資料窗格的 ASP.NET 群組中,開啟 [工作階段狀態] 。In the details pane, ASP.NET group, open Session State.

  4. 在 [Cookie 設定] 群組中,變更 [逾時 (以分鐘為單位)] 值。In the Cookie Settings group, change the Time-out (in minutes) value. 這是使用者工作階段到期前的分鐘數。It's the number of minutes after which the user's session expires. 預設值為 5The default value is 5. 若要停用此設定讓工作階段不會逾時,請將值設定為 0To disable the setting, so that there's no time-out, set the value to 0.

  5. 在 [動作] 窗格中,選取 [套用] 。In the Actions pane, select Apply.

當地語系化技術支援的文字和 URLLocalize helpdesk text and URL

您可以設定自助入口網站 HelpdeskText 陳述式和 HelpdeskUrl 連結的當地語系化版本。You can configure localized versions of the self-service portal HelpdeskText statement and HelpdeskUrl link. 這個字串會通知使用者在使用入口網站時如何取得其他說明。This string informs users how to get additional help when they use the portal. 如果您設定當地語系化的文字,入口網站就會以該語言顯示網頁瀏覽器的當地語系化版本。If you configure localized text, the portal displays the localized version for web browsers in that language. 如果找不到當地語系化版本,則會顯示 HelpdeskTextHelpdeskUrl 設定中的預設值。If it doesn't find a localized version, it displays the default value in the HelpdeskText and HelpdeskUrl settings.

  1. 在裝載自助入口網站的 Web 伺服器上,以管理員身分登入。On the web server that hosts the self-service portal, sign in as an administrator.

  2. 啟動 [Internet Information Services (IIS) 管理員] (執行 inetmgr.exe)。Start the Internet Information Services (IIS) Manager (run inetmgr.exe).

  3. 展開 [網站] ,展開 [預設的網站] ,然後選取 SelfService 節點。Expand Sites, expand Default Web Site, and select the SelfService node. 在詳細資料窗格的 ASP.NET 群組中,開啟 [應用程式設定] 。In the details pane, ASP.NET group, open Application Settings.

  4. 在 [動作] 窗格中,選取 [新增] 。In the Actions pane, select Add.

  5. 在 [新增應用程式設定] 視窗中,設定下列值:In the Add Application Setting window, configure the following values:

    • 名稱:輸入 HelpdeskText_<language>,其中 <language> 是文字的語言代碼。Name: enter HelpdeskText_<language>, where <language> is the language code for the text.

      例如,若要以西班牙文 (西班牙) 建立當地語系化的 HelpdeskText 陳述式,則名稱為 HelpdeskText_es-esFor example, to create a localized HelpdeskText statement in Spanish (Spain), the name is HelpdeskText_es-es.

    • :要在自助入口網站的右窗格中顯示於 [針對所有其他相關問題] 下的當地語系化字串Value: the localized string to display in the right pane of the self-service portal below "For all other related issues"

  6. 選取 [確定] 以儲存新的設定。Select OK to save the new setting.

  7. 重複此程序,為符合相關 HelpdeskText_<language> 設定的 HelpdeskUrl_<language> 新增應用程式設定。Repeat this process to add a new application setting for HelpdeskUrl_<language> that matches the associated HelpdeskText_<language> setting.

重複此程序,為您在組織中支援的所有語言新增設定配對。Repeat this process to add a pair of settings for all languages that you support in your organization.

將聲明檔案當地語系化Localize the notice file

您可以針對使用者在自助入口網站中必須確認的初始聲明設定當地語系化版本。You can configure localized versions of the initial notice that the user has to acknowledge in the self-service portal. 根據預設,Web 伺服器上的完整檔案路徑為 C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\Notice.txtBy default, the full file path on the web server is C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\Notice.txt.

若要顯示當地語系化的聲明文字,請建立當地語系化的 notice.txt 檔案。To display localized notice text, create a localized notice.txt file. 然後,將其儲存在特定的語言資料夾底下。Then save it under a specific language folder. 例如:Self Service Website\es-es\Notice.txt 用於西班牙文 (西班牙)。For example: Self Service Website\es-es\Notice.txt for Spanish (Spain).

自助入口網站會根據下列規則顯示聲明文字:The self-service portal displays the notice text based on the following rules:

  • 如果遺漏預設的聲明檔案,入口網站會顯示遺漏預設檔案的訊息。If the default notice file is missing, the portal displays a message that the default file is missing.

  • 如果您在適當的語言資料夾中建立當地語系化的聲明檔案,則會顯示當地語系化的聲明文字。If you create a localized notice file in the appropriate language folder, it displays the localized notice text.

  • 如果 Web 伺服器找不到聲明檔案的當地語系化版本,則會顯示預設聲明。If the web server doesn't find a localized version of the notice file, it displays the default notice.

  • 如果使用者將瀏覽器設定為沒有當地語系化聲明的語言,則入口網站會顯示預設聲明。If the user sets their browser to a language that doesn't have a localized notice, the portal displays the default notice.

建立當地語系化的聲明檔案Create a localized notice file

  1. 在裝載自助入口網站的 Web 伺服器上,以管理員身分登入。On the web server that hosts the self-service portal, sign in as an administrator.

  2. Self Service Website 應用程式路徑中,為每個支援的語言建立一個 <language> 資料夾。Create a <language> folder for each supported language in the Self Service Website application path. 例如,es-es 用於西班牙文 (西班牙)。For example, es-es for Spanish (Spain). 根據預設,完整路徑為 C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\es-esBy default, the full path is C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\es-es.

    如需您可以使用的有效語言代碼清單,請參閱 National Language Support (NLS) API Reference (國家語言支援 (NLS) API 參考)。For a list of the valid language codes you can use, see National Language Support (NLS) API Reference.

    提示

    語言資料夾的名稱也可以是非語言相關的名稱。The name of the language folder can also be the language neutral name. 例如,以 es 表示西班牙文,而非以 es-es 表示西班牙文 (西班牙) 或以 es-ar 表示西班牙文 (阿根廷)。For example, es for Spanish, instead of es-es for Spanish (Spain) and es-ar for Spanish (Argentina). 如果使用者將瀏覽器設定為 es-es,而該語言資料夾不存在,則 Web 伺服器會以遞迴方式檢查父地區設定資料夾 (es)。If the user sets their browser to es-es, and that language folder doesn't exist, the web server recursively checks the parent locale folder (es). (父地區設定定義於 .NET 中。)例如 Self Service Website\es\Notice.txt(The parent locales are defined in .NET.) For example,Self Service Website\es\Notice.txt. 這個遞迴的回溯會模擬 .NET 資源載入規則。This recursive fallback mimics the .NET resource loading rules.

  3. 建立具有當地語系化文字的預設聲明檔案複本。Create a copy of your default notice file with the localized text. 將其儲存在語言代碼的資料夾中。Save it in the folder for the language code. 例如,西班牙文 (西班牙) 的預設完整路徑為 C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\es-es\Notice.txtFor example, for Spanish (Spain), by default the full path is C:\inetpub\Microsoft BitLocker Management Solution\Self Service Website\es-es\Notice.txt.

對您在組織中支援之所有語言的當地語系化聲明檔案重複此程序。Repeat this process to a localized notice file for all languages that you support in your organization.

後續步驟Next steps

現在您已安裝和自訂自助入口網站,請立即試用!Now that you've installed and customized the self-service portal, try it out! 如需詳細資訊,請參閱 BitLocker 自助入口網站For more information, see BitLocker self-service portal.