logo
search
Data Import & Export

How to Clear a Cached IBM i Password from Excel

WPS Content ManagerWPS Content Manager Oct 9, 2026 868 views

Question details

The user needs to clear or update an expired cached IBM i password that Excel continues to use for connections.

How to Clear a Cached IBM i Password from Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Attempting to reconnect to an IBM i system via the IBMDASQL OLE DB provider after a password change.
Observed behavior
Excel continues using an expired cached password even when the save password option is unchecked, which leads to connection failures and eventually disables the user's IBM i profile due to too many failed attempts.
Before you start

Ensure you have your new, valid IBM i username and password ready before modifying the data connection settings in Excel.

Solution 1Recommended

Update Credentials in Excel Data Source Settings

This is the most effective way to safely update or clear the cached password directly within Excel's data settings.

Excel's modern data import features generally manage database credentials internally rather than using the Windows Credential Manager. You can edit these global permissions directly.

1
Navigate to Data Source Settings

Open Excel, go to the Data tab on the ribbon, click on Get Data, and then select Data Source Settings from the dropdown menu.

2
Locate the IBM i Connection

At the top of the dialog box, click on Global permissions to view all saved data sources across your application. Find and click on the relevant IBMDASQL data source.

3
Edit the Permissions

With the data source selected, click the Edit Permissions button. In the window that appears, click the Edit button located under the Credentials section.

4
Enter New Credentials

Input your current IBM i user name and your newly updated password, then click Save to apply the changes.

Update Credentials in Excel Data Source Settings
Alternative Deletion Method: If editing the credentials does not resolve the issue, you can select the data source and click 'Clear Permissions' to delete the entry entirely. Excel will prompt you to enter fresh credentials the next time you refresh the connection.
Free Microsoft Office alternative

Discover WPS Office for Seamless Data Management

If you frequently encounter complex caching issues or heavy database connection errors in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for managing spreadsheets, analyzing data, and streamlining your daily office workflow.

  1. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite for your operating system.
  2. 2. Install the application: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
  3. 3. Open your spreadsheets: Launch WPS Spreadsheet and seamlessly open your existing Excel workbooks to resume your data analysis.
Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) formatsLightweight architecture that runs smoothly on older and modern devices alikeFamiliar and intuitive interface for managing spreadsheets without a learning curveFree to download and use for essential daily office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does my IBM i profile get disabled by Excel?

If your password has recently changed but Excel continues attempting to refresh background data using the old cached password, the IBM i system records multiple failed login attempts. This triggers a security mechanism that locks or disables your profile to prevent unauthorized access.

Does unchecking 'Allow saving password' prevent Excel from caching it?

Not always. In certain cases, Power Query or specific OLE DB providers (like IBMDASQL) may still cache credentials in the Global Permissions of Excel's Data Source Settings. You must manually clear them from the Get Data menu to ensure the password is no longer stored.

Are Excel data source passwords stored in Windows Credential Manager?

Modern Excel connections created via Get Data (Power Query) store credentials internally in Excel's Data Source Settings. However, older legacy connections or specific ODBC drivers might still utilize the Windows Credential Manager to store passwords system-wide.

How do I force Excel to prompt for a password every time I connect?

You can ensure Excel prompts for a password by deleting the specific database connection from both 'Global permissions' and 'Data sources in current workbook' in the Data Source Settings menu. Upon reconnecting, ensure that any 'Save Password' or 'Remember my credentials' checkboxes are left unchecked.