net use famous 53 error

Home Forums Scripting DOS Command Shell net use famous 53 error

This topic contains 2 replies, has 2 voices, and was last updated by Avatar mla 3 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Avatar
    mla
    Participant
    #166208

    I am going to create a batch file for copying files.
    Few commands with switches are tested and doing the job.

    But I have the problem with simple “net use” command that I need to execute before other commands.
    What is weird that it is intermittent…
    Sometimes works but mostly not…
    Scenario:
    Running net use from Server 2012 in Admin CMD towards Server 2008 R2.
    See attached pic… The folder DHCP is shared for domain admins and my account is part of it.
    Don’t want to try dedicated backup account yet. I just cannot find the answer.
    On web all shows that error 53 could be a credentials issue.
    After it successfully run from CMD I try the batch with net use first line. Run batch as admin.
    It fails, than it works from cmd in few hours…
    Have no idea….
    Any advice.
    Thx.

    Avatar
    mla
    Participant
    #309869

    I will try to use PS for mapping instead …

    Rems
    Rems
    Moderator
    #228471

    Just remove the backslash at the end op the path.

    net.exe use X: “\jr17v00001.domain.localdhcpbackup” /p:n

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.