Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Changing an Invalid Autosave Folder.

Changing an Invalid Autosave Folder

Written by Allen Wyatt (last updated October 20, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


Michael's laptop used to be connected to a business LAN and he used mapped drives (O:, P:, etc.) for file saves. He is no longer on the network, and Excel has remembered a P:\Autosave folder destination for Autosave, which is no longer valid. Michael can't pull up the dialog box to change the file location, as he gets an error message every time saying, "Can't access directory P:\Autosave". Michael wonders if there is another way to modify his Autosave folder location.

There are several ways you can go about trying to change this. One method is to simply "map" another drive so that the operating system directs any request for drive P: to that drive. There are various methods to do this, such as using the SUBST command. This is an old DOS command that allows a folder (such as C:\MyFolder\MyTemp or some other name) to be "substituted" for a drive letter. Just create the temporary folder and then use the following at the command prompt:

subst P: c:\myfolder\mytemp

You can then access the P: drive (which is really the folder), create the Autosave folder within it, start Excel, make your folder change, and exit Excel. When you want to get rid of the mapping, use the following at the command prompt:

subst P: /d

You can then get rid of the temporary folders you created. Another way to accomplish the same result is to use the NET USE command. Create the temporary folders, as described above, and then share them on your network. (Right-click the folder in a Windows Explorer window and specify it should be shared.) You can then map the drive by using the following at the command line:

net use P: \\ComputerName\ShareName

In this instance you need to replace "ComputerName" with the name of your computer and "ShareName" with the name under which you shared the folder. After the command is successfully used, then all references to P: will redirect to the shared folder. When you are done making the changes you need, use the following command-line command to get rid of the share:

net use P: /delete

You could also try to map a drive by using a USB drive. Use the disk management tools in the Control Panel to change the drive letter of the USB drive to P:. Once this is done you can easily change the Autosave directory in Excel.

If you don't want to take the route of mapping a new drive, you can always try to edit the Registry. Try examining the data in the following key to see if you can locate the folder designation:

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options

You'll need to change the key name depending on your version of Excel; this example is for Excel 2016 and later versions. All you need to do is change the "16.0" portion to reflect the version you are using. (Look for the AutoRecoverPath key.) If you locate the path to the Autosave folder in the key, simply delete it or change it to point to an available path.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12813) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Changing an Invalid Autosave Folder.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Automatic Lines for Dividing Lists

When preparing a report for others to use, it is not unusual to add a horizontal line between major sections of the ...

Discover More

Printing Rows Conditionally

Need to only print out certain rows from your data? It's easy to do if you apply the filtering or sorting techniques ...

Discover More

Jumping to a Table Row

Need to jump to a particular row in a table? Word provides an easy way to jump to all sorts of things, but it doesn't ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Disabling Shift+Ctrl

Both Excel and Windows have scores of defined shortcut keys. This can be great for productivity, but it can be a real ...

Discover More

Controlling the Behavior of the Mouse Wheel

The mouse wheel, by default, controls scrolling vertically through your worksheet. If you don't want the wheel to control ...

Discover More

Disappearing Ribbon Buttons

Excel allows you to configure your system, even to the point of adding macros to your ribbon area. What are you to do, ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.