Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31892

Re: Is there a way to programmatically turn on remote registry?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'cc:addr:python-list': 0.10; 'disabled.': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'registry': 0.16; 'tjg': 0.16; 'url:timgolden': 0.16; 'wmi': 0.16; 'wrote:': 0.17; '(or': 0.18; 'trying': 0.21; 'cc:2**0': 0.23; 'kevin': 0.23; 'cc:no real name:2**0': 0.24; 'machine': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'this?': 0.28; 'run': 0.28; 'remotely': 0.29; 'url:python': 0.32; 'running': 0.32; 'received:192.168.100': 0.33; 'anyone': 0.33; 'another': 0.33; 'so,': 0.35; 'remote': 0.35; 'subject:?': 0.35; 'there': 0.35; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'think': 0.40; 'back': 0.62; 'needing': 0.62; 'grab': 0.64; 'subject:there': 0.65; 'due': 0.66; 'account': 0.67; 'incoming': 0.69; 'url:me': 0.69; 'from:addr:mail': 0.71; 'to:none': 0.93
Date Mon, 22 Oct 2012 16:05:16 +0100
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version 1.0
CC python-list@python.org
Subject Re: Is there a way to programmatically turn on remote registry?
References <CAN4UfGy6dkdtKiQ+ghh7=CirS9Lca8DOrHvEiKRefgWUSwVFDA@mail.gmail.com> <5B80DD153D7D744689F57F4FB69AF4741671F47B@SCACMX008.exchad.jpmchase.net> <CAN4UfGx1JEzaTm_hKLH8Mf1N9qCB_d9qtNUTupFCkctUGaB2wQ@mail.gmail.com> <c1t3881ofvciftl2pjpkkm4cfjeacvftkj@invalid.netcom.com> <CAN4UfGzz81jvkzMByhQ3MAjpdFT_eNy9oRfcwa2j_PGFpoTePw@mail.gmail.com>
In-Reply-To <CAN4UfGzz81jvkzMByhQ3MAjpdFT_eNy9oRfcwa2j_PGFpoTePw@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2626.1350918326.27098.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350918326 news.xs4all.nl 6849 [2001:888:2000:d::a6]:40745
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31892

Show key headers only | View raw


On 22/10/2012 15:51, Kevin Holleran wrote:
> Back at it this morning.  The RPC was due to needing to run it under
> another account (or so I think now...). However, the RemoteRegistry
> service is not just STOPPED but DISABLED.
> 
> I am trying to see if there is a call to actually set the state to
> MANUAL.  Then I can star the registry, grab what I need, stop the
> service, then set it back to disabled....
> 
> Does anyone know if there is a way to do this?  

Can you connect to the remote machine via WMI? (If the remote registry
service is stopped, WMI might be also). If so, you can access the
registry remotely via WMI:


  http://timgolden.me.uk/python/wmi/cookbook.html#list-registry-keys

Ultimately, you need *something* on the remote machine to be running
which will accept incoming requests. If nothing is (because the machine
& network are secured) then you're not going to be able to do what you want.

TJG

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Is there a way to programmatically turn on remote registry? Tim Golden <mail@timgolden.me.uk> - 2012-10-22 16:05 +0100

csiph-web