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

R

rizwanahmed24

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
 
M

Michel Claveau - MVP

Hi !

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

@-salutations
 
R

rizwanahmed24

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top