Run files maintenance
The Files Maintenance window gathers operations that correct a file or rebuild parts of it, such as auditing balances, reindexing and shrinking the database. You open it from the File tab and choose one operation, and a wizard for that operation starts. This page explains how to open the window, run an operation and save favorites.
Before you begin
- Open the company file and sign in. The maintenance tools do not appear without an open file.
- You need the Files Maintenance permission in the Users permissions window, and accounting in your key. Without the permission, clicking the button does nothing and no message appears.
- Take a backup before any operation that changes data (Back up a company file). Some operations cannot be undone.
- Ask the other users to leave the file. The program reserves the file for you alone while the window works, so nobody else can sign in to it until you close the window.
Steps
Run an operation
-
Click File at the top of the ribbon, then click Tools.
-
Click the large part of the Files Maintenance button. If windows are open in the program, the message "All opened windows must be closed before performing this operation. Are you sure you want to do this?" appears. Click Yes to let the program close them and continue, or No to go back.

-
The Files Maintenance window opens. The first operation in the list is selected, and its description shows under its name in bold. The list shows the favorites first, then the other operations from the least serious to the most serious.
-
To reach an operation quickly, type part of its name in the Available Maintenance: box. The list filters itself by what you typed, and the selection is cleared.
-
Click the operation you want in the list and read its description under its name.

-
If the warning box "This operation is dangerous …" appears, the operation may change the whole file with no way back. If you are not sure, click Close and take a backup first.
-
Click Run. You can also double-click the operation, or press
Enterwhile it is selected. The program opens the wizard of the operation. The operation that updates the database of the file opens the login window with the title Database Update instead. Follow its pages. Each wizard is explained in the section Files maintenance. -
When the wizard ends you return to the Files Maintenance window. Run another operation, or click Close. When you close the window the program releases the file, so other users can sign in.
Add an operation to the favorites
- Open the Files Maintenance window as above.
- Click the star at the edge of the operation. The star fills, and the operation moves to the top of the list.
- Click Close.
- On the Tools page a small arrow now shows beside the Files Maintenance button. Click it to see the favorite operations, then click one to start it at once without opening the window.
When you start an operation from this list, the program does not close the open windows, does not reserve the file for you and does not check the Files Maintenance permission. Close the windows and make sure nobody else works on the file first.
To remove an operation from the favorites, open the window and click its star again. The program saves the favorites for the Windows user you work as, on this computer only. They are not in the company file, so other users and other computers do not see them.
Result
The operation does what its wizard does to the open file, and you find its outcome on the last page of the wizard. The Files Maintenance window stays open behind the wizard until you close it.
If something goes wrong
| Message or situation | Why it appears | What to do |
|---|---|---|
| The Files Maintenance button is missing | No file is open, or your key does not include accounting. | Open a file and check the features of your key. |
| Nothing happens when you click the button | You do not have the Files Maintenance permission. | Ask the file administrator for the permission. |
| All opened windows must be closed before performing this operation. Are you sure you want to do this? | Windows are open in the program. | Click Yes to continue, or No and close them yourself. |
| The files are in exclusive mode, you can't log on to the files now. | Another user works on the same file in exclusive mode. | Wait until that user finishes, then try again. |
| The Run button is disabled | No operation is selected, usually because you changed the search text. | Click an operation in the list. |
| I cannot find the operation in the list | Some operations do not appear in multiple-files mode or when a tax system is enabled. | Check the conditions of each operation in The available operations. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.