↑↓ to navigate ↵ to open Esc to close Search by Algolia

You are reading the documentation of FileRun 2026.4.0, which is not released yet. It is subject to change, so do not use it for planning. Go to the documentation of FileRun 2026.3.0

Deactivating a user account

A deactivated account keeps its files, its shares and its settings, but nobody can use it. This page describes how to deactivate one or more accounts, what a deactivated account can and cannot do, the expiration date of an account, the automatic deactivation and the reactivation.

Deactivation deletes nothing, and you can activate the account again at any time. To remove an account for good, see Deleting a user account.

Which accounts can be deactivated

These accounts cannot be deactivated:

  • the superuser account
  • the System account
  • your own account

The visitor account can be deactivated. This stops the shared links for the people who are not signed in. See The visitor account.

An administrator can deactivate only the accounts that the administrator can manage. See Administrator permissions.

A shared drive is not deactivated here. To stop a shared drive, disable it in the Shared drives section. See Disabling a drive.

Deactivating accounts from the list of users

  1. Open the control panel, and go to Users → All users.
  2. Select the accounts that you want to deactivate. To select more than one account, hold the Ctrl key while you click the accounts. On a Mac, hold the Command key.
  3. Click Deactivate, in the toolbar above the list.
  4. FileRun asks "Please confirm the user deactivation.". Click Yes.

FileRun deactivates each account on its own. When FileRun cannot deactivate an account, FileRun shows the reason and still deactivates the other accounts.

For a deactivated account, the list shows the names in grey, and Yes in the Disabled column.

Deactivating an account from the user window

  1. In Users → All users, double-click the account. The user window opens in a new tab.
  2. Open the Login tab.
  3. Clear the checkbox This user account is active.
  4. Click Save changes.

What a deactivated account can and cannot do

FileRun keeps everything that belongs to the account: the files, the shares, the shared links, the app passwords and the settings. While the account is deactivated, FileRun refuses every use of the account.

FileRun sends no e-mail to the user about the deactivation.

Signing in

  • The user cannot sign in. After the user types the correct password, the sign-in page shows "Your account has been deactivated!". For an account that never signed in, the message is "Your account has not been activated yet.".
  • FileRun also refuses the sign-in through an identity provider and the guest access link.
  • The password reset does not work. FileRun sends no code, and the page shows the same answer as for an unknown e-mail address.
  • The open sessions of the account end. The account is signed out of the web interface at its next request.
  • An administrator cannot use Login as with the account. FileRun shows "The user account you are trying to log in as is deactivated.".

Apps, WebDAV and the API

  • The desktop apps, the mobile apps and the WebDAV clients cannot connect. FileRun refuses the app passwords of the account.
  • The API refuses the requests of the account. This also applies to an access token that was issued before the deactivation. The answer is "Your account is not active!".
  • The deactivation does not delete the app passwords or the access tokens. They work again after the reactivation, unless they expired in the meantime.

Shares and shared links

  • The shares that the account made stop working. The users who received the shares no longer see the account under Shared with me. When such a user opens a shared item, FileRun shows "The user account sharing this item is currently unavailable!".
  • The shared links that the account created stop working. The people who open such a link see "The user account sharing this item is currently unavailable!".
  • Nobody can share files or folders with the account. FileRun refuses the share, because the user is currently not available for receiving shares.
  • The shares that other users made with the account stay.
  • FileRun deletes no share and no link. They work again after the reactivation.

Shared drives

  • The memberships of the account in shared drives stay.
  • When the account is the admin of a shared drive, the account stays the admin of the drive. See Administering shared drives.

The license

A deactivated account still counts in the number of user accounts that your license allows. To free the seat, delete the account.

The visitor account

FileRun uses the visitor account for the people who open a shared link without signing in. In the user window of the visitor account, FileRun shows the note "Deactivating this account suspends public access to shared links.".

While the visitor account is deactivated, the people who are not signed in cannot open any shared link. The users who are signed in can still open the shared links.

The expiration date

An account can have an expiration date. On that date, FileRun deactivates the account.

  1. Open the user window of the account, and go to the Login tab.
  2. Choose a date in Expiration date. The earliest date that you can choose is tomorrow.
  3. Click Save changes.

To remove the expiration date, clear the field, and save.

  • The daily maintenance task deactivates the account, at its first run on the expiration date or after it. This task is daily.php, which must be scheduled. See Scheduled tasks.
  • The Expires column of the list of users shows the expiration date.
  • The superuser account and the visitor account have no expiration date. Their user windows do not show the field, and FileRun does not store a date for them, also when one comes through the API.
  • For a guest account without an expiration date, the Expires column shows the day on which FileRun will delete the guest account because of inactivity. See When guest accounts are deleted.

Automatic deactivation

Inactive accounts

The setting Deactivate inactive user accounts after, under Users → Settings → Retention, deactivates the regular user accounts that nobody used for that number of days. The value 0 turns the setting off. The setting does not apply to the superuser, to the guest accounts, to the visitor account and to the System account. See Data retention.

The command manage_inactive_users.php can also deactivate the inactive accounts, when you run it. See Command line tools.

Failed identity verifications

FileRun deactivates an account after six failed identity verifications in a row. These attempts count as failed verifications:

  • a wrong code from an authenticator app
  • a wrong code from an e-mail message
  • a wrong recovery code
  • a failed check of a passkey

After each failed attempt, FileRun tells the user how many attempts are left. A successful verification sets the count back to zero. See 2-step verification.

Reactivating an account

The list of users has no button to activate accounts. Activate each account in its user window:

  1. In Users → All users, double-click the account.
  2. Open the Login tab.
  3. Select the checkbox This user account is active. The fields of the Login tab appear.
  4. If the expiration date of the account has passed, clear the Expiration date field, or choose a later date. Otherwise, the daily maintenance task deactivates the account again.
  5. Click Save changes.

FileRun sets the count of failed password attempts and the count of failed identity verifications of the account back to zero.

After the reactivation:

  • FileRun sends no e-mail to the user, when the account has signed in before. Tell the user yourself that the account works again.
  • The user has to sign in again, because the deactivation ended the sessions.
  • The app passwords and the connected apps work again, unless they expired.
  • The shares and the shared links of the account work again.

The same steps activate an account that waits for the approval of an administrator after a sign-up. See Activating the new accounts.

When you activate an account that has never signed in, such as an account that waits for the approval after a sign-up, FileRun sends the person an e-mail with the subject "Your account has been activated". The e-mail says that the account is active, and links to the sign-in page. The account needs an e-mail address, and the scheduled task everyMinute.php sends the e-mail. See Scheduled tasks.

The activity log and the notification rules

FileRun logs these entries:

What happened Entry of the account that acted Entry of the deactivated account
Deactivate, in the list of users "User deactivated" "User manual deactivation"
This user account is active cleared, in the user window "User edited" "User manual deactivation"
The expiration date, the inactivity setting or the command line "User deactivated", under the System account, with the reason "User automatic deactivation"
Six failed identity verifications "Account deactivated"
This user account is active selected, in the user window "User edited" "User manual activation"

When FileRun refuses a deactivation, the entry is "Failed to deactivate user".

The entries of the last column are in the activity log of the deactivated account. So a notification rule about the actions of that account can send you an e-mail when the account is deactivated or activated again. See Activity log actions and Notification rules.

The API

The API can also deactivate and activate accounts. See API: Deactivate FileRun user accounts and API: Modify FileRun user accounts.