Windows 7 Forums


Windows 7: execute a .bat and .exe file as administrator once for all

06 Oct 2011   #1

Windows 7 32bit
 
 
execute a .bat and .exe file as administrator once for all

hello,
Once i double click on bat file, a new program .exe is launched and receive a msg asking if i allow the program to modify my computer. I click yes, and my short life continues...
Any clue what can be done to remove this msg once for all for this program ?



After right click on .bat file, i choose property and then compatibility tab.
The option to change the privilege level is faded out and i'm unable to mark this option. The same happens for the .exe file. On the Security tab, i have the "Total Control" marked for all user's group.

I'm running windows 7 ultimate, 32bits, and logged as Administrator privilege.
My System SpecsSystem Spec

06 Oct 2011   #2

Windows 7 Ultimate SP1 (x64)
South Australia
 
 

Hi,

The message you are reffering to sounds like a UAC prompt - a built in security feature of Windows that is generally not recommended to turn it off.

You can't remove UAC specifically for that program, but you can create an elevated shorcut that will bypass UAC. See this:

Elevated Program Shortcut without UAC Prompt - Create

Regards,
Golden
My System SpecsSystem Spec
06 Oct 2011   #3

Windows 7 32bit
 
 

that's a nice approach... but i don't see a way to setup the product into the batch file to run under administrative authority....

any other suggestion ?
My System SpecsSystem Spec
.


06 Oct 2011   #4

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello Knob, and welcome to Seven Forums.

Could you have the .bat file run the elevated shortcut created in that tutorial instead of the .exe file since the elevated shortcut will run the .exe file as administrator without a UAC prompt?
My System SpecsSystem Spec
Reply

 execute a .bat and .exe file as administrator once for all problems?



Thread Tools



Similar help and support threads for: execute a .bat and .exe file as administrator once for all
Thread Forum
Solved Can't execute .exe file because lack of permission Gaming
Administrator with full access still can't execute program System Security
Solved Renamed new text file too .reg but it won't execute, why is this? General Discussion
Windows 7 administrator: can't restart, shutdown, execute anything General Discussion
Help bat file to execute a bat General Discussion


All times are GMT -5. The time now is 01:57 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32