Fix Word's “This Is Not a Valid File Name” Save Error
Question details
The user needs to save a Word document when Word reports that the file name is invalid.

- Product
- Microsoft Word
- Device & OS
- Windows
- Scenario
- Saving a Word document to a folder on a Windows computer.
- Observed behavior
- Word displays a “This Is Not a Valid File Name” error, and reinstalling Office may not resolve it.
Keep the document open and note the folder and file name you are trying to use. Confirm that you can access a local folder where you have permission to save files.
Check the file name and save location in Word
Use a simple file name and a writable local folder to rule out file name, path, and permission issues.
In Word, select File > Save As > Browse.
Select a local folder you can write to, such as a folder under your user account, rather than a shared or restricted location.
In the File name box, enter a short name such as Test Document.docx. Avoid characters Windows does not allow in file names, including \ / : * ? " < > and |, then select Save.

Check Microsoft 365 sign-in and Office activation
Check the account and license if Word still cannot save with a valid file name.
Check Windows Controlled folder access for Word
Test whether Windows Security is blocking Word from saving to a protected folder.
Edit and Save Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for working on Word documents. Open existing files in WPS Writer and continue editing with a straightforward transition from Microsoft Office.

Frequently Asked Questions
Which characters are not allowed in a Windows file name?
Avoid \ / : * ? " < > and | in the File name box. Try a short name such as Test Document.docx through Word's File > Save As > Browse.
How can I tell if Word is activated?
In Word, select File > Account and check Product Information for an activation status or an unlicensed product message.
How do I allow Word through Controlled folder access?
In Windows Security, go to Virus & threat protection > Manage ransomware protection > Allow an app through Controlled folder access. Add Word from recently blocked apps or browse to WINWORD.EXE.
Should I leave Controlled folder access turned off if Word saves successfully?
No. Turn it back on after testing, then allow Word through Controlled folder access if it was blocked. Contact your administrator if the setting is managed by your organization.




