Manually Started Scans Terminate After Signing Out

Overview

When a scan is started manually on the Lepide server, the scan runs under the currently logged-in user session. If the user signs out while the scan is in progress, the scan executable may be terminated, causing the scan to stop.

Scheduled scans behave differently because they run using the configured service account and can continue running even when no user is logged in.

Cause

A manually initiated scan is associated with the Windows user account that started the scan.

Therefore:

  • Manual Scan: Runs under the currently logged-in user session.

  • User signs out: The scan process/executable may be terminated.

  • Scheduled Scan: Runs using the configured service account.

  • User signs out: The scheduled scan continues running because it is not dependent on the interactive user session.

If the scan needs to continue running after the user signs out of the Lepide server, configure the scan as a scheduled scan instead of starting it manually.

Steps

  • Configure the required scan in the Lepide Data Security Platform.

  • Set the scan to run according to the required schedule.

  • Ensure the configured service account has the necessary permissions to perform the scan.

  • Start the scan through the configured schedule.

  • Once the scan has started, the user can sign out of the server.

  • The scheduled scan should continue running under the service account.

Important Note

Do not rely on a manually started scan if the user needs to sign out of the server while the scan is running. For scans that need to run independently of the logged-in user session, use the scheduled scan functionality.

Expected Behavior

Scan Type

Runs Under

Continues After User Sign-Out

Manual Scan

Logged-in user account

No — may terminate

Scheduled Scan

Configured service account

Yes

Summary

The termination of a manually started scan after signing out is expected because the scan is tied to the interactive user session. To allow the scan to continue after signing out, configure and run the scan as a scheduled scan using the appropriate service account.