What's new
SNBForums

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Samba Net use from Windows 7 not working

thelonelycoder

Part of the Furniture
This is embarrassing. I am using a batch file to mount shares on a QNAP NAS, two CentOS Servers and even my rooted iPad (smb) in Win7 Pro.
It all works flawless with these using a command like:
Code:
Net use X: \\<IP>\<share> <password> /user:<user> /persistent:NO
or:
Net use X: \\<IP>\<share> /user:<user>  <password>  /persistent:NO
But I have no luck to do the same with my RT-AC66U with FW 374.40.
What I can do:
- On Win7 browse in Explorer / Network and connect
- On Win7 I can ping and list shares with net view \\<ip> or net view \\<Router Name>
- In Win7 if I disable the password for Samba on the Router (Share without account) I can connect.
- On Linux using mount command or over GUI connect to Windows-share

So Samba is working on my Router. It seems Win7 has a problem using a *.bat file and the Net use command.
Google lists about a million solutions, none of them make sense or work for me.
The error message I get is
Code:
System error 53 has occurred.
The network path was not found.
Now, I know the network path is existent and correct, settings for share are correct.
Help, anyone?
 
Shot in the dark.....are you trying to run the bat file as an administrator? If so, try merging the two .reg files in the zip and rebooting....
 

Attachments

No, not running them as Administrator. My User Account has Admin rights though. Would that be the cause?
I have not yet merged the two reg files.
 
Yes, admin rights count......if you are worried about the reg files, just take a system checkpoint before applying them and you can easily go back.
 
I have merged the files, rebooted and tried again --> nope :(

Deleted the entries in the registry (they were not present before), rebooted and thought again about the The network path was not found Error.

Low and behold in the "Miscellaneous setting" is a "Simpler share naming
(without the disk name)" Setting. Checked this Yes and Applied and it's working now.
Still strange as I've tried various paths in the Net use command.
Thanks for your help anyway.
 
Glad to hear you got it figured out.....I'll have to make a note about that Simple Share Name.....(I had already disabled it as it just seemed to add clutter).
 
I had samba problem from WD tv live to Windows 7 with 0.39 and 0.40 alfa and beta so I reverted back to 0.38_2.

Hope Merlin will fix Samba in 0.40 stable..
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top