I am trying to access a Windows PC on my network from Ubuntu using the command line. My goal is to retrieve a few files from that Windows box.
- I don't have access to the Ubuntu GUI, all I can use is the command line
- I don't have physical access to the Windows box
- the username I have for the Windows box has Administrator rights
I have tried to use those 2 smbclient
commands but both gave the same error:
smbclient //192.168.1.64/c$
smbclient //192.168.1.64/c$ -U WindowsUserName
Connection to //192.168.1.64/c$ failed (Error NT_STATUS_CONNECTION_REFUSED)
I also tried to use this answer, but got an error too:
mount -t smbfs //192.168.1.64/c$ /mnt/windows-pc -o user=WindowsUserName
mount: mount point /mnt/windows-pc does not exist
smbclient //192.168.1.21/Users -U WindowsUserName
worked. Thanks