[Wylug-help] smbclient/smbmount to WinXP admin$ and c$

jlyht at wylie.me.uk jlyht at wylie.me.uk
Fri Jun 10 20:13:27 BST 2005


On Fri, 10 Jun 2005 14:23:48 +0100, Gary Stainburn <gary.stainburn at ringways.co.uk> said:

> Hi folks I used to back up Win9x boxes to Linux by connecting to
> each box using smbclient on \\boxname\admin$ and then smbmounting
> \\boxname\c$ before then taring the relevent directories.

Firstly - you're lucky that the "$" is at the end of the word - as a
rule, anything on a shell command line with a $ in it needs quoting
with ''.

> I've tried a number of times to do the same with Win XP boxes, but
> always get rejected - see below.  Anyone know how I can do this
> these days?

> # smbclient -U administrator //larc9/ADMIN$ ******

What's the ****** ? A password? Try

smbclient '//larc9/ADMIN$' -U'administrator%******'

-- 
Alan J. Wylie                                          http://www.wylie.me.uk/
"Perfection [in design] is achieved not when there is nothing left to add,
but rather when there is nothing left to take away."
  -- Antoine de Saint-Exupery



More information about the Wylug-help mailing list