ADFS 3.0 Logon

Install guide for ADFS 3.0 Logon themes

This is a simple guide that explains how you install our Custom Themes quickly to reface your ADFS 3.0 logon pages. However you will receive an install guide with all your theme downloads. Although this is same of the PDF guide you receive with your download, we recommend you to follow the PDF guide during your quick theme installation.

Installing Custom Theme for ADFS 3.0 logon page
Place your custom elements
  1. Unzip your theme package. Copy the package to your ADFS sever system and place it on any drive/folder as you wish.
  2. Explore the package and go to “images\custom”. This is the place where all custom images stay.
  3. Replace the logo with your own by replacing the logo.png file. The height of the Logo shouldn’t exceed 80 px. The logo file should not exceed the file size of 10 KB. Otherwise you will end up with error during your installation.
  4. You can place your own fav icon by replacing favicon.ico file. The dimension of favicon should be 16*16 px.
  5. Replace your own background by overwriting background.jpg file. The best dimension is 1920 * 1020 px. However you can place the image on any size, but just make your own assessment. The file size of background image should not exceed 200 KB.
  6. Open the file “\script\onload.js” in a text editor and change the value of Title, LoginTitle and Footertext to yours. The variable Title is the one appears on the browser bar as page title. LoginTitle is the variable holds the value of Login Header text. Footertext is the one you see at bottom of the page. Ref: Image below.

This is a safe way so you can revert back your default RD Web Access in case of any issues during the custom theme installation.

Start Installation
  1. Right click on the “BCthemeCommands.ps1” file and click Run as Administrator.
  2. Wait for few seconds and you will be done then.
  3. The powershell window opens and closes automatically upon the installation.
  4. Now check your ADFS logon page in your browser.
Important Notes and troubleshoot tips
  1. The logo file shouldn’t exceed the file size of 10 KB. Please optimize the image accordingly.
  2. The background image shouldn’t exceed the file size of 200 KB.
  3. You will end up with errors during the installation if the images sizes crosses the limits specified above.
  4. If you want to set back the ADFS default theme then open your powershell (open as administrator) and write this command.
    Set-AdfsWebConfig -Active Theme Name “default”
  5. If you want to remove a custom theme then write this command in powershell. Replace “Theme Name” with your custom theme name, ex: “Bluecorp”.
    Remove-AdfsWebTheme -TargetNameTheme Name
Scroll to Top