Sunday, December 7, 2014

Dynamics GP Web Client: Kill all web client sessions

A customer has reported an issue with web client that many sessions are open while no body is working, they wanted to kill all these sessions without restarting the server, few researches over the internet returned the following CMD commands that did the trick, just Right Click the cmd.exe and run as administrator, then paste the following commands:

Taskkill /F /IM Microsoft.Dynamics.GP.Web.Services.Runtime.Process.exe
Taskkill /F /IM conhost.exe

Viola! You saved an hour of manually killing these in your task manager or session manager.

Note: To make sure that the windows cleans all sessions at night, I saved these commands into Batch.bat file and scheduled this with windows scheduler to run every night 4 AM, so users can find a clear log next morning.


Mohammad R. Daoud MVP - MCT
+962 - 79 - 999 65 85


Anonymous said...

Are there any negative impacts to the SQL tables or will it leave any open sessions on the DYNAMICS activity tables?

Anonymous said...

Hi Mohammad - do you have an updated bat file for GP2016?
When I run this I receive the following message

ERROR: The process "Microsoft.Dynamics.GP.Web.Services.Runtime.Process.exe" not

Kerry Draper said...

Any updates on this. Does not work for me with GP 2016 either

Related Posts:

Related Posts with Thumbnails