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


Groups > comp.lang.python > #8418

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.102
X-Spam-Level *
X-Spam-Evidence '*H*': 0.80; '*S*': 0.00; 'subject:admin': 0.09; 'am,': 0.13; 'wrote:': 0.15; 'call?': 0.16; 'uac': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; '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; 'subject:/': 0.36; 'received:google.com': 0.37; 'using': 0.38; 'received:209.85': 0.38; 'received:192': 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
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=0Y4y2HH5JpCqgb/zLNMmK0O2qsR8mDOZGW6DL5BYOyM=; b=Dyk9wTQ02HsY2MKVsg5+b2lNO1MdG3AWo0VsgkDz4JuPFReki/ZKxH4lWSSclasi3v dkBMNypRZaO797/xrVf7vSgRECTEu2IDUiBNofsqB5QQuB96Xpnx/XpRqPAh55P6SMPB Jcj5L601B9YxPU9oX1qI8JQ1qFJqwrHLIjH68=
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=dzl9wm1H2VNLyH8rq1COz03lmD7e/pFGj4kvJzaIIEUBrUYBaNdUe99nY8jDtz6CR0 87KWUMsC6YYqyY6bOfXnJF93ulZV+u4ABWJiL9LjB1/emuXmXwZaYXCN1OyXveS2pcfz 6/+WDJUgGetAqSbqriK4gFazxDo7bgSZpR7NM=
Date Fri, 24 Jun 2011 19:20:00 -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.396.1308957608.1164.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 82.94.164.166
X-Trace 1308957608 news.xs4all.nl 510 [::ffff:82.94.164.166]:47488
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8418

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 automatically asks for elevation
fails with error 740 - 'The requested operation requires elevation'.

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