Hot answers tagged

24 votes

Accessing a Windows share with a different username

To delete saved share usernames: open cmd prompt type: net use \\fileservername /delornet use * /delto delete all found @ http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/...
Andrew Corkran's user avatar
19 votes

How to connect to an smb share?

Open Windows Explorer. In the path bar, write \\a.b.c.d (pay attention to the backward slashes). That should create a new entry in "Network" and show its content. Double-click on the share you want, ...
Nicolas Raoul's user avatar
17 votes

How to list all files in a Windows SMB network share

Try the command: smbclient //HOST/PATH -c 'recurse;ls' PASS -U USER
Yezzo's user avatar
  • 171
14 votes
Accepted

How to force Linux cifs mount to default to smb3?

Graphical file managers do not establish 'cifs' kernel mounts; they use Samba's libsmbclient. The corresponding /etc/samba/smb.conf options are: [global] client min protocol = SMB2_02 ; default is '...
u1686_grawity's user avatar
14 votes
Accepted

Cannot connect to Windows share via local network IP address, but can by localhost

When you posted this question 6 months ago, in my efforts to reproduce your problem I disabled then later re-enabled NetBIOS over TCP/IP in the Advanced TCP/IP Settings of my network adapter. A few ...
I say Reinstate Monica's user avatar
14 votes

How to change SMB user in windows 10?

You can override stored credentials for shares in Windows via the credential manager. Under Windows Credentials: If the server in question has an entry, delete it. Select Add a Windows Credential. ...
Candy's user avatar
  • 359
13 votes

How to access C$ share in a network?

I had the same issue on Windows 7 and this solved it: 1. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System 2. Create a DWORD value called ...
E235's user avatar
  • 231
12 votes

How to connect to an smb share?

After the creator's Update in Windows 10, on new Installs Windows disable SMB1 by default in an attempt to stop a virus. That might be a problem if you want to browse your shares because it will stop ...
White_King's user avatar
11 votes
Accepted

Which particular updates fix the WannaCry enabling SMB "flaw"?

Which particular updates fix the SMB "flaw"? This has been fully documented by Microsoft. MS17-010: Security update for Windows SMB Server: March 14, 2017 This security update resolves ...
DavidPostill's user avatar
  • 156k
11 votes
Accepted

What is the implication of MS17-010 patch and SMBv1 deactivation related to WannaCry? Does it remove the malware or just stop it from propagating?

First, a little preface. The MS17-010 patch is included in all the update rollups for Windows 7, 8.1 and 10 from March onwards. So if you have the April or May (or newer) rollup updates installed, you ...
Bob's user avatar
  • 61.5k
10 votes

On macOS, how do I get the IP address of a Windows machine on my local network?

The command-line smbutil utility is what you are after: $ smbutil usage: smbutil [-hv] subcommand [args] where subcommands are: help display help on specified subcommand lookup resolve ...
mystery's user avatar
  • 293
9 votes

How to mount an SMB share on Linux as normal user on the commandline nowadays?

GVFS mounts can be used from the command line with gio mount when there is a dbus enviroment is available. The mount points appear under /var/run/user/[uid]/gvfs. See also the answer to Samba mount ...
jnas's user avatar
  • 191
8 votes

Accessing a Windows share with a different username

The comment to the top answer is a good solution, it does not require mapping network drive, just tries to access the directory with different user account and password, which meets my need. Quoting ...
jasper's user avatar
  • 91
8 votes
Accepted

Rsync for syncing 4TB from SMB to USB Volume 'Hostnameproblem'

rsync does not support SMB itself. The URL you specified was most likely copied from some file management tool. It won’t work. Instead, you have two options: If you have to use SMB, you have to ...
Daniel B's user avatar
  • 62.5k
7 votes

Cannot connect to Windows share via local network IP address, but can by localhost

To automate the Twisty Impersonator solution I have developed a command line program named ShareFix. Sorry if this looks like an ad but it works.
Filippo Bottega's user avatar
7 votes
Accepted

Windows 10 PC unable to access shared folder on NAS

This error indicates it requires the SMBV1.0. If you use Windows 10 1709, by default SMBv1.0 is disabled. Reinstall it to access the NAS with PowerShell command: Enable-WindowsOptionalFeature -...
Waka's user avatar
  • 1,160
6 votes
Accepted

OSStatus-Error when trying to tell Time Machine to use external server as backup drive

You need to turn on samba logging to see detail error. For me, this error means my avahi advertised name is different from my samba share name. in smb.conf ## Definde your shares here [TimeMachine ...
hnws's user avatar
  • 76
5 votes

Determine and change filename encoding on Windows

I can reproduce your problem using next simple Powershell script $RatedName = "šöü" # set sample string $FormDName = $RatedName.Normalize("FormD") # its Canonical ...
JosefZ's user avatar
  • 13.2k
5 votes

How do i renable connecting a network drive using SMB1 since Windows 1709

The problem was that although I had sucessfully reinstalled SMB1, the SMB1 client had not been enabled, so if you hit this problem there are two stages. First Reinstall SMB1.0 In Task bar search for ...
Paul Taylor's user avatar
5 votes

Advanced Port redirection Windows Firewall

You might be looking for Port Forwarding in Windows. Since Windows XP there is a built-in ability in Microsoft Windows to set up network ports forwarding. With it, any incoming TCP connection (IPv4 ...
harrymc's user avatar
  • 475k
4 votes

How to mount a samba share on non-standard port?

This is possible! It's been a good few years, but combining a loopback interface tutorial I found with portions out of @Mike's [..link-only] answer (multihost version) I've created a script that can ...
Hashbrown's user avatar
  • 2,951
4 votes

Mapped drives "stuck" on Windows 7 after disconnecting them..solutions?

According to this site user Zach H's method, I went to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\ ,right-click on the drive mapping key (the "ghost" drive, if Z:...
w10's user avatar
  • 51
4 votes

Forcing Windows 8.1 to use SMB3 only?

First I would like to apologize because the answer was unknown to me at the time, incomplete. I'm now going to be much clearer and correct. I tested this myself (using 7 and 10) and it works well; ...
El8dN8's user avatar
  • 1,866
4 votes

Cannot connect to Windows share via local network IP address, but can by localhost

As a shortcut for the registry hack described above, you can open Control Panel, browse to adapter settings then, interface properties, disable Network and File Sharing, then reopen the window and ...
BobHy's user avatar
  • 200
4 votes

Why can't I mount shares by SMB since High Sierra

I was encountering the same error "mount_smbfs: server rejected the connection: Authentication error" when attempting to connect via command line using the commands: mkdir /Volumes/test mount_smbfs /...
SylvanK's user avatar
  • 141
4 votes
Accepted

SMB not working Windows 8/10

So the solution to my particular case required a modification to the registry, but a relatively easy and benign change that is easily reversible. Open regedit.exe and go to HKEY_LOCAL_MACHINE\SYSTEM\...
Greg Schmit's user avatar
3 votes
Accepted

Shared folder not connecting over Mac VirtualBox guest

Virtual Guest Additions are required to be installed on your virtual machine in order to use Shared folders. These can be installed by selecting Insert Guest Additions CD Image from the Devices menu ...
kenorb's user avatar
  • 25.3k
3 votes
Accepted

If SMBv1 client/server are disabled, do I still need MS17-010 patch?

You do not need the MS17-010 patch if you disable SMBv1 As explained in the Executive Summary of Microsoft Security Bulletin MS17-010: This security update resolves vulnerabilities in Microsoft ...
I say Reinstate Monica's user avatar
3 votes

How to find out which user credentials were used to connect to a SMB share

I already have a mapped network drive, but want to know afterwards which user was used to connect. Try looking at the event logs for EventID 5140: A network share object was accessed: 5140: A ...
DavidPostill's user avatar
  • 156k
3 votes

OSStatus-Error when trying to tell Time Machine to use external server as backup drive

Check Samba logs in /var/log/samba/log.[your client's hostname]. In my case, the log said: Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/streams_xattr.so': /usr/lib/x86_64-linux-gnu/...
eternal404's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible