time-clock-circle multiple-users-1 bin-paper-1 smiley-indifferent view-off alert-diamond envelope-letter rating-star network-browser pencil-write ticket-1 button-record headphones-customer-support close synchronize-arrows-1 common-file-stack close-quote arrow-down-2 multiple-circle attachment-1 folder-file-1 disable smiley-indifferent shield-warning love-it smiley-smile-1_1 check-circle-1 time-clock-midnight floppy-disk view smiley-unhappy book-star lock-unlock-1 arrow-right-1 archive smiley-unhappy send-email-1 hierarchy-9 open-quote add-circle-bold search remove-circle cog-1 filter-1 hyperlink-2 analytics-pie-2 flying-insect-honey navigation-menu-horizontal pencil-1 smiley-thrilled check-1 arrow-up-1 lock-2 navigation-menu add layout-module-1 archive arrow-left-1 wench arrow-down-1 multiple-neutral-1 expand-6 close drawer-send alarm-bell-1 social-media-twitter keyboard-arrow-up ticket-1 copy-paste rating-star download-thick-bottom information-circle smiley-sad-1 single-neutral-actions remove-square-1 file-code pencil-1 keyboard-arrow-down smiley-sad-1 cog single-neutral add-circle move-to-top list-bullets expand-6 undo tags-double smiley-happy view-1 messages-bubble-square print-text add-square smiley-happy credit-card-1 envelope-letter diagram-fall-down

The directory name is invalid error

In Archive Manager the plan status may indicate 'The directory name is invalid'. The scheduled task last result may indicate 0x8007010b.

Typically, the message 'the directory name is invalid' means the remote computer cannot find the store on the network or does not have permission to access it. A second possibility is that the remote computer cannot find the AIQRemote$ share on the Archive Manager server.

1. Log onto the remote computer with the account set to run the protection plan. 

2. Open Windows File Explorer and try to access the UNC path to the store. You can get this path from the store properties page in Archive Manager.

3. Next, try to access the UNC path to the AIQRemote$ share, e.g. in the format \\[server name]\AIQRemote$.

4. Try to ping the Archive Manager server. Confirm the IP address is correct.

You may need to resolve a network issue, such as a DNS host record that contains an invalid IP address, or a bad switch port. 

Infrequently, the plan may end with 'the directory name is invalid' error when the scheduled task is configured for Server 2008 through Server 2012, even though the steps above are successful. In this case, edit the schedule of the plan through Archive Manager > Remote Computers > [the computer] > protection plans action > edit schedule action. Set the Configure for: field to 'Windows Server 2003, Windows XP, or Windows 2000'. See image.

Click OK to save the change.

Server 2012 - Invalid Directory Configure for 2003.png