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


Groups > comp.lang.python > #53594

Re: How to execute command on remote windows machine

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'machines.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:command': 0.09; 'subject:How': 0.10; 'windows': 0.15; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:windows': 0.16; 'unavailable.': 0.16; 'ignore': 0.16; 'alex': 0.19; 'basically': 0.19; 'work,': 0.20; 'command': 0.22; 'machine': 0.22; 'url:home': 0.24; 'mon,': 0.24; 'suggested': 0.26; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'disabled': 0.31; 'sep': 0.31; 'doing': 0.36; 'charset:us-ascii': 0.36; 'error.': 0.37; 'received:76': 0.38; 'remote': 0.38; 'server': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'commands': 0.60; 'email addr:gmail.com': 0.63; 'secured': 0.84; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: How to execute command on remote windows machine
Date Tue, 03 Sep 2013 22:54:17 -0400
Organization IISS Elusive Unicorn
References <33a44ace-33d1-493f-85cb-4f0a093368af@googlegroups.com> <l03sav$ufd$1@dont-email.me> <74ce5096-46df-42e4-ad30-fd6f5d22f40f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-253-110-181.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.25.1378263271.5461.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378263271 news.xs4all.nl 15924 [2001:888:2000:d::a6]:47989
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53594

Show key headers only | View raw


On Mon, 2 Sep 2013 23:45:38 -0700 (PDT), gaurangnshah@gmail.com declaimed
the following:

>Hi alex 
>
>I tried the command you suggested however it is giving me following error. 
>
>ERROR: The RPC server is unavailable.
>

	Which basically means that the remote machine has been secured -- by
having the RPC system disabled from access by other machines.

	Consider, os.system() can only perform commands you can execute from
Windows console (command) shell. So until you come up with a command you
can enter at a "DOS Prompt" and have it work, you can ignore doing it with
Python.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

How to execute command on remote windows machine gaurangnshah@gmail.com - 2013-09-02 21:45 -0700
  Re: How to execute command on remote windows machine Steven D'Aprano <steve@pearwood.info> - 2013-09-03 05:19 +0000
  Re: How to execute command on remote windows machine alex23 <wuwei23@gmail.com> - 2013-09-03 15:33 +1000
    Re: How to execute command on remote windows machine gaurangnshah@gmail.com - 2013-09-02 23:45 -0700
      Re: How to execute command on remote windows machine Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-03 22:54 -0400
  Re: How to execute command on remote windows machine random832@fastmail.us - 2013-09-03 08:39 -0400
  Re: How to execute command on remote windows machine 88888 Dihedral <dihedral88888@gmail.com> - 2013-09-03 07:21 -0700

csiph-web