
Fix QBwin.log encryption errors
by Intuit• Updated about 13 hours ago
Learn how to fix the following errors in the QBWin.log after the Verify Data utility fails in QuickBooks Desktop.
- LVL_SEVERE_ERROR--GetDecryptedCreditCardNumber Failed: The decryption has failed. CHECKPOINT: Failed to decrypt customer's credit card number. Customer ID: nnnn
- LVL_ERROR--Unable to decrypt Social Insurance number/Social Insurance number
These errors come from damaged encryption of sensitive fields such as credit card, Social Insurance, and bank account numbers. Here’s how you can fix them.
Note: Before troubleshooting, update QuickBooks Desktop to the latest version and create a backup or a portable company file.
Check the QuickBooks admin user for damage
- Sign in to your company file as the admin.
- Change the admin password, and QuickBooks will re-encrypt your file.
Important: If QuickBooks crashes while encrypting, contact us. We may need to send your file to Data Services to remove sensitive information. - Go to File and select Close Company.
- Close QuickBooks.
- Open QuickBooks, then sign in as an admin.
Check if the re-encryption is successful
- Run the Verify Data utility.
- Check the most recent entry in the log file.
- If you see any of these errors, contact us to fix your files.
- LVL_SEVERE_ERROR--GetMasterKey Failed: The decryption has failed.
- LVL_SEVERE_ERROR--GetDataAccessKey Failed: The decryption has failed.
Important: Send your file to Data Services only for admin master key errors. For non-admin errors, delete and recreate the users.
Repair damaged encrypted fields
Follow these steps to fix missing or damaged encrypted fields. These steps apply to credit card numbers, supplier Business Number, and employee SIN.
Run the Verify Data utility
Check for possible data damage using the Verify Data utility.
Look for the error message in QBWin.log
- Locate the QBWin.log file and save it to your desktop or any easy-to-access location.
- Right-click the QBWin.log file.
- Select Open with..., then select Notepad.
- Note customer names and IDs in QBWin.log.
Edit the credit card number of affected customer
Editing the credit card number fixes the damaged data. If many customers are affected, use advanced imports to override.
- Go to Customers and select Customer Centre.
- Select the Active Customers â–Ľ dropdown, then select All Customers.
- Locate the names of the customers or jobs you noted. If not on the list:
- Export your customer list as an IIF file.
- Right-click on the IIF file.
- Select Open with..., then select Microsoft Excel.
- Match the customer ID from the log note to the IDs in the REFNUM column.
- Select the customer or job.
- Go to the Payment Settings tab.
- Enter dummy credit card information, then select OK.
- Go back to the Payment Settings tab.
- Enter the correct credit card information, then select OK.
Note: Edit the credit card number for each affected customer or job in the QBWin log file.
Verify if data no longer has errors
Run Verify Data to check if the issue is fixed.
- If no problem is found, the issue is fixed.
- If verification fails, check QBwin.log for errors. If customers still appear, edit the affected customer's credit card number again.
Note: If you see "Verify Error: QuickBooks found a problem with the Acct #/Card #/Note field for other asset," check for a damaged admin user or edit the information manually.
Reenter encrypted data
When we fix your company file, some encrypted data might be removed. Don't worry, you can usually restore it from an older backup (.qbb or .qbw) and paste it into the fixed file.
Note: These steps won't recover employee bank accounts or routing numbers for accounts.
Recover employee SINs and dates of birth
- Open your backup file.
- Go to Reports and select List.
- Select Employee Contact List.
- Select Customize Report.
- Select these columns on the Display tab:
- Active Status
- Employee
- SIN
- Birth Date
Note: Uncheck everything else.
- Go to the Filters tab, select Active Status, then select All.
- Select OK, then select Refresh.
- Select the Excel â–Ľ dropdown, then select Create New Worksheet.
- Select Export, then select a location on your desktop, then select Save.
Copy the data to the fixed file
- Open the Excel file you exported.
- Copy the SIN and the date of birth for each employee.
- Open the fixed company file.
- Go to Employees and select Employee Centre.
- Select the employee.
- Enter the correct SIN and Date of Birth in the Personal tab.
- Select OK to save.
Recover supplier Business Number
- Open your backup file.
- Go to Reports and select List.
- Select Supplier Contact List.
- Select Customize Report.
- Select these columns on the Display tab:
- Active Status
- Supplier
- Business Number
Note: Uncheck everything else.
- Go to the Filters tab, select Active Status, then select All.
- Select OK, then select Refresh.
- Select the Excel â–Ľ dropdown, then select Create New Worksheet.
- Select Export, then select a location on your desktop, then select Save
Copy the data to the fixed file
- Open the Excel file you exported.
- Copy the Business Number for each supplier.
- Open the fixed company file.
- Go to Suppliers and select Supplier Centre.
- Select the supplier.
- Select the Sales Tax Settings tab.
- Enter the Business Number in the appropriate field.
- Select OK to save.
Recover account numbers
- Open your backup file.
- Go to Reports and select List.
- Select Account Listing.
- Select Customize Report.
- Select these columns on the Display tab:
- Active Status
- Account
- Bank No. /Note
Note: Uncheck everything else
- Go to the Filters tab, select Active Status, then select All.
- Select OK, then select Refresh.
- Select the Excel â–Ľ dropdown, then select Create New Worksheet.
- Select Export, then select a location on your desktop, then select Save.
Copy the data to the fixed file
- Open the Excel file you exported.
- Copy the account number.
- Open the fixed company file.
- Go to Lists and select Chart of Accounts.
- Select the account, then select the Account â–Ľ dropdown.
- Select Edit Account, then update the Bank Acct. No. field.
- Select Save & Close.
More like this
- Top data damage errors in QuickBooks Desktopby QuickBooks
- Verify Error: QuickBooks found a problem with the Acct # / Card # / Note field for other assetby QuickBooks
- QBWin.log: Verify Account Balance failedby QuickBooks
- QBWin.log: LVL_ERROR--Error: Verify item history target quantity on order mismatch errorby QuickBooks
- QBWin.log: LVL_ERROR-error: Verify Account List Item: View out of sequenceby QuickBooks