Wednesday, January 31, 2018

[WSRV] ADFS 3.0 Logs



Get-WinEvent -LogName "AD FS/Admin"

To set ADFS debug levels on federation servers and federation proxy servers

  1. Click Start, point to Administrative Tools, and then click Active Directory Federation Services.
  2. Right-click Federation Service or Federation Service Proxy, and then click Properties.
  3. On the Troubleshooting tab, select debug levels as appropriate, and then click OK.

wevtutil sl “AD FS Tracing/Debug” /L:5


In Event Viewer, highlight Application and Services Logs, right-click and select View > Show Analytics and Debug Logs. Navigate to AD FS Tracing – Debug, right-click and select “Enable Log” to start Trace Debugging immediately.

[EX2016] Enable HTTP Strict Transport Security (HSTS)



In IIS, we can add a new header for our site, though, we can also set the response header at the server or folder level if necessary.
  • Open IIS Manager and select the site
  • Double-click on the HTTP Response Headers
  • Click Add…
  • Set the name to: Strict-Transport-Security
  • Set the value to: max-age=10886400 then click OK

Sunday, January 7, 2018

[LY15] Cannot install KB2982006



Get-Hotfix KB2919442,KB2919355,KB2982006

Expand -F:* C:\UCLobby\Windows8.1-KB2982006-x64.msu C:\UCLobby\KB2982006

dism /Online /Add-Package /PackagePath:C:\UCLobby\KB2982006\Windows8.1-KB2982006-x64.cab

Get-Hotfix KB2919442,KB2919355,KB2982006