When users try to replace the company file with a backup or portable file, the following error message might be seen:
[Company_Name].qbw This file is set to read-only. Try again with a different file name.
There are a few solutions to this problem. One of the solutions, a combination of them or sometimes all of them might have to be tried to fix the error. It is recommended that the solutions be tried in the order they are provided below.
Programs or users can set the properties of Windows files. Users can change the read-only attribute of the company file to prevent the above message from appearing. The issue can also be resolved by running QuickBooks as administrator in Windows Vista or 7. This does away with resetting the read-only attribute on several files.
Solution 1: Running QuickBooks as Administrator
• First, users must close QuickBooks and then right-click on the QuickBooks icon. Then, they should ‘Properties’, which will open the ‘Properties’ window. In this window, they must choose ‘Compatibility Tab’.
• At the bottom, in ‘Privileged Level’, users must select the ‘Run this program as an administrator’ box and select OK.
• When this is done, users must attempt to open or restore the company file.
Solution 2: Removing read-only attribute when error occurs
First, users must select OK in the ‘Save Company File As’ window and then, right-click the company file. Then, they should choose ‘Properties’ and in the General tab window, uncheck the ‘Read-only’ box. Then, they should select OK and choose ‘Save’ to replace the company file with the file that’s being restored.
Solution 3: Opening the original file and restoring it
Users must first open the previous version of the company file in QuickBooks and try to restore the backup file or the portable version once more.
Solution 4: Removing the read-only attribute in Windows
Users must open Windows Explorer and navigate to the location where the company file is stored. They must then right-click on the company file and choose ‘Properties’. Then, they should uncheck the ‘Read-only’ box located at the bottom of the General tab window and select OK. When this done, users must try to restore the company file once more.
Solution 5: Renaming the original file before restoring it to same location
Users must first go to the location of the original company file, as mentioned in the second solution above. Then, they should right-click on the original file and choose ‘Rename’. Now, they should rename the file as (Company file)old.qbw. When done, users must try restoring the company file once more.