bypass UAC control through python script (to be run from batchfile)

Discussion in 'Python' started by rizwanahmed24@gmail.com, Mar 11, 2010.

  1. Guest

    Hi

    here is my problem.

    i want to install a program through python script. The python scripts
    is called from a batch file. The UAC control is not allowing the
    python script to install a msi (installer). I need to somehow by pass
    the UAC control. i dont want to turn it off permanently. Once i have
    run the batch file, i do not interact with the system manually,
    therefore Clicking allow on UAC dialog is not the solution for me.

    i just want to achieve the goal, whether i run batch file in Admin
    mode, or do it form python, doesnt matter.
    any ideas?

    //Rizwan
     
    , Mar 11, 2010
    #1
    1. Advertising

  2. Hi !

    Install a resident soff (script) by task-planified, in Administrator
    rights. Then, call this script from current work, for bypass UAC.

    @-salutations
    --
    Michel Claveau
     
    Michel Claveau - MVP, Mar 12, 2010
    #2
    1. Advertising

  3. Guest

    Re: bypass UAC control through python script (to be run frombatchfile)

    Hi Michel. what is this 'resident soff' script, i cannot find it on
    google. Secondly if i was to install something in admin mode, then i
    would have installed the application i want to install. The actual
    problem is that i dont want to manually run something with admin
    rights and install.
    still havent got the solution
     
    , Mar 12, 2010
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Henry
    Replies:
    5
    Views:
    10,056
    Steven Cheng[MSFT]
    Aug 3, 2004
  2. =?Utf-8?B?VG9teTExMDI=?=

    ClickOnce Vista UAC. Application Manifest.

    =?Utf-8?B?VG9teTExMDI=?=, Jun 8, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    1,958
    =?Utf-8?B?U2l2YSBN?=
    Jun 8, 2007
  3. patrick

    Vista uac problems

    patrick, Jan 8, 2008, in forum: Java
    Replies:
    3
    Views:
    397
    Daniel Pitts
    Jan 8, 2008
  4. Mark Space
    Replies:
    4
    Views:
    1,176
    Roedy Green
    Apr 15, 2008
  5. Replies:
    9
    Views:
    998
    Paddy O'Loughlin
    Feb 27, 2009
Loading...

Share This Page