Skip to main content
3 of 3
broken link fixed, cf. https://meta.stackoverflow.com/a/406565/4751173
Glorfindel
  • 2.2k
  • 5
  • 18
  • 26

In trying to setup back up device, net use command throws operating system error 53 when passing in a unc

So I'm trying to use XP_CMDSHELL to set up my drive for using a backup. I already have the drive mapped, but per Link, I figured I'd need to mount the drive using net use.

But when I do, I get System error 53, 'The network path was not found.'

EXEC XP_CMDSHELL 'net use S: \\sql-backup'

I know this unc is accessible from the server because it is mounted as a network share on the sql server.

Any ideas why the unc is unreachable?

rsteckly
  • 921
  • 1
  • 7
  • 13