[Samba] Access registry on remote Windows machine?

Gregor Beck gbeck at sernet.de
Thu Oct 6 01:16:04 MDT 2011

On Wednesday, October 05, 2011 11:08:46 PM Ken D'Ambrosio wrote:
> Hi, all.  I just bumped into an old script that used SambaTNG's rpcclient
> to access a remote Windows machine's registry:
> rpcclient -S $ip -U administrator\%pwd -c 'registry key enum "$query"'
> That's pretty slick -- but I see no way to accomplish this through stock
> Samba, be it rppcclient or something else.  Am I missing something?

net rpc -I $ip -U administrator%pwd  registry enumerate  "$key"


More information about the samba mailing list