'net use' troubles


  1. Posts : 3
    Win10Pro64
       #1

    'net use' troubles


    G'day all! I'm in the process of migrating from Win7Pro to Win10Pro, but some important stuff that worked in 7 doesn't seem to in 10 (at least I can't get it to work!). Any help appreciated. Just so you know a little about my hardware, I've attached a screenshot from SysInfo. I currently have a dual-boot set-up with Win7 (default) and Win10 in separate partitions (until such time as I'm happy Win10 will do all I want, at which time I'll revert to a single Win10 partition arrangement).

    I have several issues, but to keep this simple I'll just start with one...

    I have an industrial MS-DOS-based (v6.22) touch-screen PC, running Microsoft Network Client 3.0, on my (wired) LAN, and I need to be able to read and write to it's C: drive from my Win10 PC (as I could from Win7 before).
    I also have a NAS on my LAN, used for automated daily backups. This too must always be readily accessible from the Win10 PC for the backups to work. (After sorting out the credentials storage for the NAS, it is now assigning correctly from my batch file.)

    In Win7, this batch file was run automatically at boot-up:
    Code:
    rem This files belongs in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"
    timeout /t 10
    net use T: \\HIFI\C /persistent:no
    rem net use T: \\192.168.0.111\C /persistent:no
    net use A: \\192.168.0.121\Backups /persistent:no
    timeout /t 1
    "C" is the share-name for the HIFI's C: drive. I Use '/persistent:no' because (IIRC) in Win7 'yes' did not restore the assignments on reboots.

    When that batch file runs at boot-up for Win10, the T: assignment produces this message:
    Code:
    net use T: \\HIFI\C /persistent:no
    System error 53 has occurred.
    
    The network path was not found.
    On earlier attempts there was (for the T: assignment) a message about SMB1 not being supported. Of course, the DOS PC only knows about SMB1, and I don't think SMB2 can be installed on it. On the other hand, in recent Win10 versions, SMB1 is not just disabled, but not even provided! I have 'NetBIOS over TCP/IP' enabled in the adapter Properties for IPv4.

    So in this initial plea (there'll be many to follow! ), I just seek advice on how to get a DOS 6.22/MS NetClient 3.0 PC networked to a Win10Pro64 PC.

    Daniel
    (Australia)
    Attached Thumbnails Attached Thumbnails 'net use' troubles-w10_sysinfo.png  
      My Computer


  2. Posts : 890
    10 Pro/11 Pro Dual Boot
       #2

    DanielFFF said:
    G'day all! I'm in the process of migrating from Win7Pro to Win10Pro, but some important stuff that worked in 7 doesn't seem to in 10 (at least I can't get it to work!). Any help appreciated. Just so you know a little about my hardware, I've attached a screenshot from SysInfo. I currently have a dual-boot set-up with Win7 (default) and Win10 in separate partitions (until such time as I'm happy Win10 will do all I want, at which time I'll revert to a single Win10 partition arrangement).

    I have several issues, but to keep this simple I'll just start with one...

    I have an industrial MS-DOS-based (v6.22) touch-screen PC, running Microsoft Network Client 3.0, on my (wired) LAN, and I need to be able to read and write to it's C: drive from my Win10 PC (as I could from Win7 before).
    I also have a NAS on my LAN, used for automated daily backups. This too must always be readily accessible from the Win10 PC for the backups to work. (After sorting out the credentials storage for the NAS, it is now assigning correctly from my batch file.)

    In Win7, this batch file was run automatically at boot-up:
    Code:
    rem This files belongs in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"
    timeout /t 10
    net use T: \\HIFI\C /persistent:no
    rem net use T: \\192.168.0.111\C /persistent:no
    net use A: \\192.168.0.121\Backups /persistent:no
    timeout /t 1
    "C" is the share-name for the HIFI's C: drive. I Use '/persistent:no' because (IIRC) in Win7 'yes' did not restore the assignments on reboots.

    When that batch file runs at boot-up for Win10, the T: assignment produces this message:
    Code:
    net use T: \\HIFI\C /persistent:no
    System error 53 has occurred.
    
    The network path was not found.
    On earlier attempts there was (for the T: assignment) a message about SMB1 not being supported. Of course, the DOS PC only knows about SMB1, and I don't think SMB2 can be installed on it. On the other hand, in recent Win10 versions, SMB1 is not just disabled, but not even provided! I have 'NetBIOS over TCP/IP' enabled in the adapter Properties for IPv4.

    So in this initial plea (there'll be many to follow! ), I just seek advice on how to get a DOS 6.22/MS NetClient 3.0 PC networked to a Win10Pro64 PC.

    Daniel
    (Australia)

    Win10 does have smb1 if needed. Control panel > add/remove programs > turn windows features on and off.
    'net use' troubles-1.png
      My Computers


  3. Posts : 8,099
    windows 10
       #3

    By default c and all win10 drives are shared with a $ is c$ d$ so you need to connect to c$ and you must pass a admin username and password if you have shared c your self remove the share. Even with c$ a lot of folders on c are protected
      My Computer


  4. Posts : 3
    Win10Pro64
    Thread Starter
       #4

    Tom,

    Thanks for that. But I had already ticked that and the following setting, which is perhaps why the error message changed from being about the absence of SMB1 to being 'path not found'? So I guess what I really need help with is why Win10 can't find the path to my HIFI PC (I can ping it with no problem).

    Samuria,

    Thanks also for your comments, but I believe not applicable to my case. When setting up sharing on the DOS PC, I got the chance to specify the 'share name', and I chose just 'C', which worked fine in Win7. (I'm going from memory here; it was 2015 when all this was set up and has worked since then until a week ago when I tried it with Win10.)

    Daniel
      My Computer


  5. Posts : 890
    10 Pro/11 Pro Dual Boot
       #5

    DanielFFF said:
    Tom,

    Thanks for that. But I had already ticked that and the following setting, which is perhaps why the error message changed from being about the absence of SMB1 to being 'path not found'? So I guess what I really need help with is why Win10 can't find the path to my HIFI PC (I can ping it with no problem).

    Samuria,

    Thanks also for your comments, but I believe not applicable to my case. When setting up sharing on the DOS PC, I got the chance to specify the 'share name', and I chose just 'C', which worked fine in Win7. (I'm going from memory here; it was 2015 when all this was set up and has worked since then until a week ago when I tried it with Win10.)

    Daniel
    for the path, try "//192.168.0.x/c" without the quotes and replace the 192. address with the ip of the dos box
      My Computers


  6. Posts : 3
    Win10Pro64
    Thread Starter
       #6

    tomdsr said:
    for the path, try "//192.168.0.x/c" without the quotes and replace the 192. address with the ip of the dos box
    Tom, thanks again, but as you can see from the REM'd-out line in my batch file, I've already tried that.

    Daniel
      My Computer


  7. Posts : 890
    10 Pro/11 Pro Dual Boot
       #7

    DanielFFF said:
    Tom, thanks again, but as you can see from the REM'd-out line in my batch file, I've already tried that.

    Daniel
    oops, thats old age catching up with me.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:21.
Find Us




Windows 10 Forums