1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WebDav Drive Mapping Issue

Discussion in 'Support' started by Fross, Sep 9, 2016.

  1. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Hello all,

    I have mapped a drive letter in explorer to my WebDav server. Everything works great in explorer, but the drive letter is not valid in TCC. Secondly, if I start CMD outside of TCMD, then I can access Z: without issue (if I start cmd.exe from within CMD, then it's not available.)

    In Windows Explorer in the "This PC" section I have:

    webdav (\\fross.mooo.com@SSL\owncloud\remote.php)(Z:)

    Code:
    D:\Users\Michael>ver /r
    
    TCC  20.00.17 x64   Windows 10 [Version 6.3.10586]
    TCC Build 17   Windows 10 Build 10586
    
    D:\Users\Michael>echo %_drives
    C: D: E: F: H: I: J: T:
    
    D:\Users\Michael>z:
    TCC: (Sys) The system cannot find the drive specified.
     "Z:"
    
    I'm not sure why Z: is not available to TCMD.

    Any thoughts would be appreciated.

    Michael
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,021
    Likes Received:
    84
    Did you restart TCMD after mapping the drive in Explorer?
     
  3. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Is the "Web Client" service running?
     
  4. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Rex, I did restart TCMD.

    Hi Vince. Yes, it's running and set to Manual (Trigger Start)

    It's odd that it works fine in a non-TCMD CMD session but not TCMD as I assume they both call the same underlying services.

    Michael
     
  5. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    One other update. I tried this on a second machine and it was exactly the same situation. CMD worked, Explorer worked, but TCMD/TCC could not find the drive letter.

    This second machine is also Windows 10 with the same TCMD version.

    I appreciate the help. I need to get this to work so I can do some scripting with it.

    Michael
     
  6. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Does z: appear and work in TCMD's "File Explorer" ... in Notepad's "open file" dialog?

    In Win7, I tried mapping an FTP location (I never knew it could be done). It worked, but I didn't get a drive letter. The location showed up among the drives Explorer and TCMD ... without a drive letter there's no hope for TCC. That location had a little quirk in TCMD. I could expand it in TCMD's navigation pane and a 1-click would show the contents of the selected folder in TCMD's file pane. But a 2-click on a folder in TCMD's file pane would open it in a new Explorer window.
     
  7. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Hi Vince,

    It does not. It does appear in the list, but when I click on it, it says it can't access \\fross.mooo.com@SSL. Error code: 0x80070043 "The Network name cannot be found."

    Unlike your FTP test, I do get a drive letter than can be accessed via CMD like any normal drive letter.

    I'd be happy to create a test ID if anyone would like to take a look. While it didn't work on 2 of my machines, I'd like to see if this can be replicated. I'm accessing an OwnCloud installation on my Ubuntu 16.04 server.

    Michael
     
  8. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Yeah, I'd like to try it. But you must give me detailed instructions. And I don't even know if I can map http://... to a drive letter on Win 7.
     
  9. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Thanks Vince. Pretty simple.

    I no longer have Windows7, but it should be the same as my Win10 setup.

    You just want to map a drive letter like any other. In Win10, I right click "This PC" in windows explorer and choose map a network drive.
    Choose the letter and in Folder put in the URL. For my cloud server it's:

    https://fross.mooo.com/owncloud/remote.php/webdav/

    Choose to connect using different credentials. You probably don't want to reconnect at login.

    I've started a "conversation" with you and included the ID/PW there.

    After that it should show up as a drive letter. You can use it normally via window explorer. If you run a CMD session (not from TCMD) it should work normally...mine does.

    Much appreciated!

    Michael
     
  10. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    It works for me!

    upload_2016-9-10_20-57-47.png

    upload_2016-9-10_21-1-2.png
     
  11. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    And ... I'm pretty sure TCC does nothing special; that it's just another drive.
    upload_2016-9-10_21-8-37.png
     
  12. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Hi Vince. That's good news I think, although very odd. Since I tried it on two Win10 machines, it must have something to do with the OS differences from your v7.

    Is there anyone else out there with Windows 10 that would mind trying it? Only takes a second and I can send you the test ID/PW. That would at least narrow it down from a Windows 10 issue to something silly on my end.....

    And I wonder why it works fine in CMD.....

    Really appreciate the time Vince. Thank you.

    Michael
     
  13. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Indeed, it was as simple as Fross said. It took less that a minute and I did nothing more than Fross said.
     
  14. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Ok! I think it's windows 10.

    I removed my mapping from file explorer and mapped the drive letter via TCC:
    Code:
    net use z: https://fross.mooo.com/owncloud/remote.php/webdav/ /user:xxx * /persistent:yes
    and it seems to work fine. I think windows 10 is doing something very odd with it's drive letter mapping......

    But this I can work with easily.

    Vince, thank you for your help.

    Michael
     
  15. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    I'll stop talking about this now, but I believe my issue had to do elevation. I run my TCC as Administrator. When I map the drive letter in Explorer, which is is not elevated, TCC can't work with it. It seems you can't mix them. If I map my drive via my elevated TCC session, then File Explorer can't seem to work with it.

    Windows 10 is just bizarre.....

    Michael
     
  16. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,021
    Likes Received:
    84
    That's the expected behavior for Windows 10 (and 8).
     
  17. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Does that apply to thumb drives and portable hard drives? Can the behavior be changed ... GPEDIT, maybe?
     
  18. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    If you haven't already found it, Google for "EnableLinkedConnections".
     
  19. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    "Microsoft has confirmed that this is a problem ..."
     
  20. Fross

    Joined:
    May 30, 2008
    Messages:
    230
    Likes Received:
    1
    Hi Vince. Thanks for the note. I'm checking it out now. The EnableLinkedConnections doesn't seem to be working, but I need to play with it a bit more.

    Michael
     

Share This Page