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