Access samba shares from Windows Vista

In Vista, use 'regedit' to change to '1' the value of:


(the default value of this key is '3')

Check whether smb.conf is correct


List connected users and locked files


List the shares of a host

smbclient -L <host> -N

Lookup NetBIOS names

nmblookup -S <host>

Mount a remote shared filesystem

mount -t smbfs -o fmask=644,dmask=755,uid=<user>,guest //<host>/<share> /mnt

Send a WinPopup message

echo "message" | smbclient -M <NetBIOS_name>