Windows 10: Run .BAT as admin without UAC prompt? Solved

Page 2 of 2 FirstFirst 12
  1. topgundcp's Avatar
    Posts : 2,435
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       10 Feb 2017 #11

    If you want to use the converter. IMO, it is better to use a portable version, why install something that is seldom used, Here's the link for portable version (no setup/install required):
    Bat To Exe Converter Portable - Free download and software reviews - CNET Download.com
    However, I think using registry hack is good enough.
      My ComputerSystem Spec


  2. Posts : 1
    Windows 10 Pro
       26 Jun 2018 #12

    topgundcp said: View Post
    Create a reg file with code below and merge into the registry to avoid UAC prompt from bat file:
    Windows Registry Editor Version 5.00

    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{E2F13B98-650F-47DB-845A-420A1ED34EC7}User\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
    "LowRiskFileTypes"=".exe;.bat;.cmd;.vbs"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
    "LowRiskFileTypes"=".exe;.bat;.cmd;.vbs"
    I've tried this on Windows 10 Pro 1803 x64, and I can't get a .bat file to run (which has text saved within to elevate to admin), without a UAC window appearing.

    I need to be able to have a colleague (with non-admin credentials), on a domain environment, have the ability to run a basic batch script to automatically start an inbuilt Windows Service, without any admin intervention required.

    Any help you can provide is greatly appreciated.

    Many thanks,

    kc
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
I have a problem that seems (to me at least) to be quite common as well as annoying when it happens because you don't know when it started occurring and have no way to fix it, which is why I am finally asking after all these years. The problem...
Hello, i'm getting a Blank, Black screen when i try to run the Command prompt as an Admin, install McAfee Virus software and when trying to update to the latest Java update version. I'm not 100% sure, but this problem seems to have started after...
Hello All, I'm delighted to have found you and after a long day of trying to help myself i am now requiring your much appreciated assistance please!:cry: I'm not a techy person at all and am hoping someone can help:) Last week my husband purchased...
Hi Yet again, Windows is frustratingly taking up all of my time and I have tried everything google has to offer to try and fix it but it seems like no one has screwed up as much as I have on whatever forum. Let me explain the problem: I'm...
Frustrated with admin rights - Please help me. Just purchased new PC - HP Pavilion desktop and upgraded to Windows 10 during installation. I've downloaded Google Chrome as my default search engine with no issues. I've attempted several times to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:04.
Find Us