How to force logoff from command line? 2021-08-04 · Posted in Windows – 10, Windows Server 2008, Windows Server 2012, Windows Server 2016/2019 Thanks, that’s, what I was looking for. shutdown /l = Log off and /f = force