移除的 Microsoft 的著作權權益Remove the Microsoft copyright

適用於:Windows Server 2016、Windows Server 2012 R2Applies To: Windows Server 2016, Windows Server 2012 R2

根據預設,AD FS 之包含 Microsoft 著作權。By default, the AD FS pages contain the Microsoft copyright. 若要移除此著作權從 [自訂頁面,您可以使用下列程序。To remove this copyright from your customized pages, you can use the following procedure.

移除著作權

  1. 建立自訂預設值為基礎的主題。Create a custom theme that is based on the default.
`New-AdfsWebTheme –Name custom –SourceName default ` 
  1. 藉由輸出資料夾匯出主題。Export the theme by specifying the output folder.

    Export-AdfsWebTheme -Name custom -DirectoryPath C:\customWebTheme

  2. 找出 Style.css 檔案所在位置輸出資料夾中。Locate the Style.css file that is located in the output folder. 使用先前的範例,為 C:\CustomWebTheme\Css\Style.css 路徑。By using the previous example, the path would be C:\CustomWebTheme\Css\Style.css.

  3. 使用編輯器] 中,例如記事本開放 Style.css 檔案。Open the Style.css file with an editor, such as Notepad.

  4. 找出#copyright部分,以及然後變更下列:Locate the #copyright portion, and then change it to the following:
    #copyright {color:#696969; display:none;}

  5. 建立自訂主題為基礎的新 Style.css 檔案。Create a custom theme that is based on the new Style.css file.

    Set-AdfsWebTheme -TargetName custom -StyleSheet @{locale="";path="C:\customWebTheme\css\style.css"}

  6. 啟動新的主題。Activate the new theme.

`Set-AdfsWebConfig -ActiveThemeName custom ` 

現在,您應該不會再看到登入頁面底部的著作權權益。Now, you should no longer see the copyright at the bottom of the sign-in page.

移除著作權

其他參考資料Additional references

AD FS 使用者登入自訂AD FS User Sign-in Customization