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


Groups > comp.lang.python > #8395

Re: how to write to registry without admin rights on win vista/7

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.167
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.01; 'subject:admin': 0.09; 'am,': 0.13; 'wrote:': 0.15; 'call?': 0.16; 'uac': 0.16; 'header :In-Reply-To:1': 0.22; 'windows': 0.27; 'booth': 0.30; 'message- id:@gmail.com': 0.32; 'error': 0.33; 'header:User-Agent:1': 0.34; 'there': 0.34; 'to:addr:python-list': 0.34; 'normally': 0.34; 'explicit': 0.35; 'subject:/': 0.36; 'received:google.com': 0.37; 'using': 0.38; 'received:209.85': 0.38; 'received:192': 0.38; 'received:209.85.161': 0.38; 'subject:: ': 0.38; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; '740': 0.84; 'elevation': 0.84; 'heh.': 0.84; 'subject:write': 0.84; 'username.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=XFvwC9yyLM7bqMdWJimYEfhIFvhVBwjO+TyGHKPl+IQ=; b=px9OdQxwHRx1hdT2GjQUfVoapcPmzmb91ObM3A5spap0Uu7vTm45k5DjI+IeX/ogKG jnRDrKE4fDn/c5BZcaqwu51E1sfMuiMGmOg9poXrHbYnYpYmB9Wbm5CO0yMrYKTeplPy dOAAHWfkhhj7mux1xGkwW1cNAIjfxUpII6iAI=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=DTSxf7Jl1mgjwxKgenmZ67fye+dmUORDaoJ51mn4QTx4Sxv+5K8cyB8CMM2mDUroq7 +tPuyaBwePbf85BOibZjFMMhLSYHdpybXsgtC/dj6u5KH6wZn2V8TlK1nFYjd2z75j3w KrAaY3ZQ8tCT5Wj0WwtHySbHDyRhv11UCzvLs=
Date Fri, 24 Jun 2011 14:02:54 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 ThunderBrowse/3.3.5
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: how to write to registry without admin rights on win vista/7
References <321efdbf-e2e7-44db-90f2-60d784b6e5c1@d1g2000yqm.googlegroups.com> <Xns9F0E63BB8A350duncanbooth@127.0.0.1>
In-Reply-To <Xns9F0E63BB8A350duncanbooth@127.0.0.1>
X-Enigmail-Version 1.1.1
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.378.1308942191.1164.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 82.94.164.166
X-Trace 1308942191 news.xs4all.nl 182 [::ffff:82.94.164.166]:54381
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8395

Show key headers only | View raw


On 2011.06.24 03:48 AM, Duncan Booth wrote:
> http://stackoverflow.com/questions/130763/request-uac-elevation-from-within-a-python-script
Heh. On Windows 7, using 'runas' for the operation in os.startfile()
gives me a normal UAC prompt.

Is there any way to ask for elevation from a subprocess.Popen() call?
Launching an application that normally asks for elevation automatically
fails with error 740 - 'The requested operation requires elevation'. The
runas utility needs an explicit username.

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


Thread

how to write to registry without admin rights on win vista/7 miamia <peterirbizon@gmail.com> - 2011-06-24 01:08 -0700
  Re: how to write to registry without admin rights on win vista/7 Duncan Booth <duncan.booth@invalid.invalid> - 2011-06-24 08:48 +0000
    Re: how to write to registry without admin rights on win vista/7 Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-24 14:02 -0500
      Re: how to write to registry without admin rights on win vista/7 Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-25 08:03 +0200
    Re: how to write to registry without admin rights on win vista/7 Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-24 19:20 -0500
  Re: how to write to registry without admin rights on win vista/7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-06-24 22:06 -0700
  Re: how to write to registry without admin rights on win vista/7 Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-25 07:48 +0200

csiph-web