Monday, January 4, 2021

RDS- Kill Session from Command Line

  - Open powershell as administrator.

 - run qwinsta.exe

 - Run rwinstal.exe <session#>

Tuesday, November 24, 2020

Exchange TLS Issues

 Test TLS on Exchange-

 - Download SMTP Console from Socket Labs.
https://www.socketlabs.com/smtp-server-connection-diagnostics-tool/

 - Connect to exchange, do "EHLO domain.com", then click startls from the menu.

Monday, August 24, 2020

Cisco Anyconnect keeps disconnecting and reconnecting to ASA.

 Cisco Anyconnect keeps disconnecting and reconnecting to ASA.


Cisco defaults to DTLS which uses UDP port 443.  If it fails, it connects over TLS over TCP 443.  To resolve this, make sure UDP port 443 is open outbound to the firewall.

Thursday, June 18, 2020

Office Registry Fixes for Various O365 Issues

Outlook ignores autodiscover because your domain is part of an O365 instance, even though you use on-prem exchange-

Open RegEdit
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
New DWORD entry, ExcludeExplicitO365Endpoint -  value of 1.
------------------------------------------------------
You are using SAML and you get a white or invisible ghost window instead of a login screen-

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableADALatopWAMOverride"=dword:00000001

If the above key change alone does not work, edit this additional Registry key:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableAADWAM"=dword:00000001

---------------------------------------------------------------
Prevent Outlook from ignoring autodiscover and connectiving to office 365
[HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001

---------------------------------------------------------------
You get a white window or one that disappears quickly-
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableADALatopWAMOverride"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity] 
"DisableAADWAM"=dword:00000001

 
REMOVE EnableADAL under-
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity .

ADD-
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableADALatopWAMOverride"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity] 
"DisableAADWAM"=dword:00000001
---------------------------------------------------------------
 

Monday, April 6, 2020

Delete files over 30 days old.

forfiles /p "E:\DatabaseBackups" /s /m *.* /D -30 /C "cmd /c del @path"

Monday, February 3, 2020

Domain Controller (DC) booting into safe mode/DSRM after backup with Veeam

bcdedit /v

To disable directory services restore mode, type the following in a command prompt:

bcdedit /deletevalue safeboot