web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Log user out and end session

(0) ShareShare
ReportReport
Posted on by

Captureses.PNG

Can I logout these users from system tell me the guide? how?

best wishes 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    Hi

    For this you need to code changes, you can refer the below.

    www.olofsimren.com/kill-sessions-in-dynamics-nav

  • Community Member Profile Picture
    on at

    Is it possible to use as system logout no code? or SQL

  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    Hi

    Yes, you can logout the idle users by changing the ClientReconnectPeriod, Idle Client Timeoutsettings in the NAV Administration

    the below will help you to understand and change the settings

    saurav-nav.blogspot.com/.../nav-three-tier-auto-kill-idle-session.html

    msdn.microsoft.com/.../dn584639(v=nav.71).aspx

  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at

    in SQl you can use "kill" command

    msdn.microsoft.com/.../ms173730.aspx

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    As Mohana offered, you can do this via SQL, using SQL Management Studio user interface tools or writing simple statements. E.g., refer here: servergeeks.wordpress.com/.../how-to-kill-sql-threads-or-kill-user-sessions

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Nematullah,

    Nice to meet you here!

    Stop a Session is a free feature in our new tool, Idle Session Management, will be released on 10/10/2016. Hope it will be on Mibuso next week so you can download and use. Otherwise, you can contact me via email. No code here, just import the NAV objects:

    3201.1.png

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Nematullah,

    You can download it now, it is just uploaded on Mibuso:

    mibuso.com/.../idle-session-management

    Have a nice weekend!

  • Suggested answer
    RockwithNav Profile Picture
    9,125 Super User 2026 Season 1 on at

    Nematullah,

    Please check out this link and follow the exact steps. It will solve your query for 100%.

    www.olofsimren.com/kill-sessions-in-dynamics-nav

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi RockWith NAV,

    The problem that Nematullah is end user and he hasn't got Dev License for customization.

    He just imports fob objects and uses the tool with Customer License. The feature is free:

    5224.1.png

  • Suggested answer
    Alex A Profile Picture
    3,131 Super User 2026 Season 1 on at

    Hello, you can drop users from NAV by simply removing them from the [Active Session] table. Use the SELECT statement below to find the Session ID of the user that you want to end the session for. Then use the DELETE statement as set to that Session ID. Do not exclude the WHERE statement when you run the DELETE statement. (The DELETE statement remains commented out until needed):

    --DELETE FROM [Active Session]

    --WHERE [Session ID] = 5753

    ------------------------------

    SELECT *

    FROM [Active Session]

    ORDER BY [User ID] ASC

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans