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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

SQL Scripts – Clear Users and Activity Locks

Ron Wilson Profile Picture Ron Wilson 6,010

Often times, when needing to perform maintenance in GP, your users will be logged out but GP still thinks they have documents open, batches they are working in, etc.  This script will clear out off the user activity locks as well as their logins.

***This will remove ALL users from being logged in.  Please make sure that users are indeed logged out before running this script.

Use DYNAMICS
Delete SY00800
Delete SY00801
Delete ACTIVITY

Use TEMPDB
Delete DEX_LOCK
Delete DEX_SESSION



This was originally posted here.

Comments

*This post is locked for comments