Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Logoff Windows Users
Logoff Windows Users

Logoff Windows Users

Peter Barendse

|
179 installs
| (2) | Free
Logoff all non-service users on a server.
Get it free

Logoff Windows Users

It's never cool to see a deployment fail, when a user is locking a file or process on your server. This extension will log off all normal users, to prevent the above situation and others that you can think of.

Version 1* contains the following functionality

  • Connect to a remote host using WinRM

    • Server(s): Connect to one or several servers. Servernames needs to be comma separated.
    • Username: The user needs to be a local administrator on the server. Only local admins are allowed to logoff users.
    • Password: Matching password for the local admin.
  • Logoff users from a Windows server.

  • Service accounts will be untouched.

  • A list of users can be provided to be excluded from the logoff process.

Big thanks to Michel van der Ende (http://trendict.nl) for the initial script.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft