none
Mapped Network Drive Error 1219 Hell. Phantom Drive? RRS feed

  • Question

  • I try to copy large files across untrusted domains using a mapped network drive script that passes credentials along, does the copy, and disconnects the mapped drive.  For some reason MS Windows Server 2008R2 acts as if the connection exists on one layer, but not the other.  I copy/pasted my test results below.  Do note this is not the 'run as' admin user context issue.

    I've had mixed results doing this via powershell and cmd prompt, also had the same problems going from windows/windows or windows/linux.

    delete all mapped drives:

    Z:\Scripts>net use * /delete
    There are no entries in the list.
    

    Attempt to delete W: drive explicitly

    Z:\Scripts>net use w: /delete /y
    The network connection could not be found.
    
    More help is available by typing NET HELPMSG 2250.
    

    Attempt to change directory to mapped drive, note logon failure

    Z:\Scripts>w:
    Logon failure: unknown user name or bad password.
    

    Attempt to delete again

    Z:\Scripts>net use W: /delete /y
    The network connection could not be found.
    
    More help is available by typing NET HELPMSG 2250.
    

    No connections show up

    Z:\Scripts>net use
    New connections will not be remembered.
    
    There are no entries in the list.
    

    W: Drive Does Not Exist

    Z:\Scripts>net use W: /delete /Y
    The network connection could not be found.
    
    More help is available by typing NET HELPMSG 2250.
    

    Attempt to map a drive to it

    Z:\Scripts>NET use W: \\servername\sharename PASSWORD /user:domain\username
    System error 85 has occurred.
    
    The local device name is already in use.
    


    Support my SQL MCM & Internal Training blog on AliRazeghi.Com.  Have a tough I.T. job and you need to talk to someone with no obligation?  Contact my certified associates and I at Rosonco.com!

    If you find a question answered please click 'mark as answer' or 'vote as helpful'.  This will help other users find answers quickly.  Thanks for visiting!

    Tuesday, December 11, 2012 11:39 PM

All replies

  • Bump!

    Support my SQL MCM & Internal Training blog on AliRazeghi.Com.  Have a tough I.T. job and you need to talk to someone with no obligation?  Contact my certified associates and I at Rosonco.com!

    If you find a question answered please click 'mark as answer' or 'vote as helpful'.  This will help other users find answers quickly.  Thanks for visiting!

    Monday, December 17, 2012 5:54 PM