Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > bypass UAC control through python script (to be run from batchfile)

Thread Tools

bypass UAC control through python script (to be run from batchfile)
Posts: n/a

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?

Reply With Quote
Michel Claveau - MVP
Posts: n/a
Hi !

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

Michel Claveau
Reply With Quote
Posts: n/a

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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista uac problems patrick Java 3 01-08-2008 11:31 PM
ClickOnce Vista UAC. Application Manifest. =?Utf-8?B?VG9teTExMDI=?= ASP .Net 1 06-08-2007 04:41 AM
UAC has to be turned off to run MS Office 2007 =?Utf-8?B?bGNpY2NhcjIyMg==?= Windows 64bit 10 04-21-2007 08:32 PM
Aol recommended turning off UAC in order to listen to their XM radio canixs Windows 64bit 2 03-06-2007 09:25 AM
UAC had to be turn off for IE developer toolbar installed correctly canixs Windows 64bit 0 03-02-2007 03:42 PM