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


Groups > comp.lang.python > #8434

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!newsfeed.xs4all.nl!newsfeed6.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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'startup': 0.04; '"run': 0.09; "(i'm": 0.09; '(it': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:admin': 0.09; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'entries': 0.16; 'skip:" 40': 0.16; 'trying': 0.23; '-0700': 0.23; 'works.': 0.23; 'checked': 0.25; 'url:home': 0.25; 'fri,': 0.28; 'lee': 0.28; 'script': 0.29; 'equivalent': 0.31; "i've": 0.33; 'rather': 0.33; 'skip:" 20': 0.33; 'usually': 0.33; 'header:X -Complaints-To:1': 0.34; 'there': 0.34; 'to:addr:python-list': 0.34; 'things': 0.35; 'app': 0.35; 'charset:us-ascii': 0.36; 'skip:" 10': 0.36; 'subject:/': 0.36; 'connection': 0.36; 'but': 0.37; 'received:org': 0.38; 'user': 0.38; 'forgive': 0.38; 'hello,': 0.38; 'subject:: ': 0.38; 'run': 0.39; 'header:Mime- Version:1': 0.39; 'to:addr:python.org': 0.39; 'choose': 0.61; 'media': 0.62; 'jun': 0.67; 'dennis': 0.77; 'click': 0.79; 'subject:write': 0.84; 'plant': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: how to write to registry without admin rights on win vista/7
Date Fri, 24 Jun 2011 22:06:04 -0700
Organization > Bestiaria Support Staff <
References <321efdbf-e2e7-44db-90f2-60d784b6e5c1@d1g2000yqm.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host user-11fa8s2.dsl.mindspring.com
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
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.403.1308978380.1164.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 82.94.164.166
X-Trace 1308978381 news.xs4all.nl 186 [::ffff:82.94.164.166]:60175
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8434

Show key headers only | View raw


On Fri, 24 Jun 2011 01:08:55 -0700 (PDT), miamia
<peterirbizon@gmail.com> declaimed the following in
gmane.comp.python.general:

> Hello,
> 
> In my program I can set to run after system startup (it writes path to
> Software\Microsoft\Windows\CurrentVersion\Run) but when normal user is
> logged in my application crashes. I must right click on app an choose
> "Run As Admin" and then everything works.
> 
> How can I do it to write to registry without "Run As Admin" ?

	Forgive me -- I've not checked recently (I'm usually trying to kill
things that set up auto-run stuff)...

	Are there any equivalent registry entries in the /user/ hive rather
than the system hive? (Appears to be since I found this in regedt32:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe"
"AdobeBridge"=""
"WMPNSCFG"="C:\\Program Files\\Windows Media Player\\WMPNSCFG.exe"
"H/PC Connection Agent"="\"C:\\Program Files\\Microsoft
ActiveSync\\wcescomm.exe\""
)

	Or can you plant a script into the userprofile startup directory?
-- 
	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 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