Jump to content
Donations Read more... ×
coucou

[SOLVED] Assistance Required Concerning UAC Prompt

Recommended Posts

coucou

Hello,
I installed Windows 10 Pro x64 with several apps about 2 months ago. Everything works fine.
However, UAC promt appears when IObit Uninstaller 7.2 or Symantec Endpoint Protection 14.0.1 are launched.
I even used the Task Scheduler Method ... without success.

 

I'll appreciate any Help to get ride from this UAC prompt.

Regards

Share this post


Link to post
Share on other sites
Rekkio

Do you run the EXE file or the task using schtasks.exe ?

 

If you still run the .exe file it will always ask for admin rights: you have to run the task you created, not the program itself.

 

I think that's what you did since you say it appears when you launch the apps, but you shouldn't run the apps themselves.

You should instead run the task that will launch them and optionally replace the desktop shortcuts accordingly.

 

An example of an UAC bypass (from the CCleanerSkipUAC task): You can also edit it and import the XML file.

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Author>Any author name</Author>
  </RegistrationInfo>
  <Triggers />
  <Principals>
    <Principal id="Author">
      <UserId>COMPUTERNAME\Username</UserId>
      <LogonType>InteractiveToken</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>4</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"Path to your EXE file"</Command>
      <Arguments>$(Arg0)</Arguments>
    </Exec>
  </Actions>
</Task>

 

Then replace the software's desktop shortcut location for the EXE file to: (from StackOverflow)

 

%SystemRoot%\System32\schtasks.exe /Run /TN "Task name"

 

 

Share this post


Link to post
Share on other sites
coucou
Posted (edited)

TNX for replying Rekkio

I'm using the task using schtasks.exe (see here bellow the export xml  of IObit Uninstaller).

 

Precisely for IObit Uninstaller not only I use shtasks.exe, but also the command "\Uninstaler_SkipUac.exe" (see picture below). Despite that I still have UAC prompt.

 

Regarding Symantec Endpoint Protection 14.0.1 , is there any settings inside to get ride from UAC?

Regards

 

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2018-05-15T18:07:18.2713566</Date>
    <Author>LAPTOP-S510UN\HEN</Author>
    <Description>Open IObit Uninstaller w/o UAC prompt</Description>
    <URI>\UAC white liste\IObit Uninstaller Elevated</URI>
  </RegistrationInfo>
  <Triggers />
  <Principals>
    <Principal id="Author">
      <UserId>S-1-5-21-576156790-138617275-2233092535-1001</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\IObit\IObit Uninstaller\Uninstaler_SkipUac.exe"</Command>
    </Exec>
  </Actions>
</Task>

 

IObitUninstaller_Shortcut.jpg

 

 

Edited by coucou

Share this post


Link to post
Share on other sites
jayballs

To keep it simple

 

go to regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

 

  change " EnableLUA" DWORD value  to 0

:)

Share this post


Link to post
Share on other sites
Rekkio

The _SkipUAC part in your xml snippet most likely doesn't actually refer to an existing file:

  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\IObit\IObit Uninstaller\Uninstaler_SkipUac.exe"</Command>
    </Exec>
  </Actions>

By the way, I think there's a typo in Uninstaler - Since the folder name uses Uninstaller, it's most likely a typo in the exe filename.

 

However I might be wrong, because I've actually seen softwares coming with a filename typo out-of-the-box.

 

Also,

 

Does the Uninstaller_SkipUac.exe file actually exist ? I think you added it as some kind of elevation suffix:

 

The command key is actually misleading, it means the absolute file path, you should try:

  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\IObit\IObit Uninstaller\Uninstaller.exe"</Command>
    </Exec>
  </Actions>

I think this one will work, I don't know what's the filename of the IOBit exe file but it should be like this, without the _SkipUac part.

 

The IOBit uninstaller shortcut is good (assuming there's no typo in the actual task name).

 

 

Share this post


Link to post
Share on other sites
coucou

Hi Rekkio,

There's a typo in Uninstaler: folder=Uninstaller; files=Uninstaler (see image attached).

Yes! Uninstaler_SkipUac.exe file exist but Uninstalier_SkipUac.exe not exist.

No sense to use a  command key "Uninstaller.exe" since is not exist.

 

Anyway, I've tried both tasks with both command key Uninstaler_SkipUac.exe and Uninstale.exe without success. Infact when I launch the task, a cmd windows is opened and closed.

Regards

 

Explore-IObitUninstaler2.jpg

Share this post


Link to post
Share on other sites
Rekkio

Can you try with IObitUninstaler.exe ?

<Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\IObit\IObit Uninstaller\IObitUninstaler.exe"</Command>
    </Exec>
</Actions>

 

The Uninstaler_SkipUac.exe file is surely something that's not meant to be run directly, hence the command prompt that appears then vanishes.

 

The full XML file with edits:

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Author>IObit</Author>
  </RegistrationInfo>
  <Triggers />
  <Principals>
    <Principal id="Author">
      <UserId>LAPTOP-S510UN\HEN</UserId>
      <LogonType>InteractiveToken</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>4</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\IObit\IObit Uninstaller\IObitUninstaler.exe"</Command>
      <Arguments>$(Arg0)</Arguments>
    </Exec>
  </Actions>
</Task>

You can name it IObit Uninstaller Elevated and replace the old one so you don't have to update the desktop shortcuts.

 

 

Share this post


Link to post
Share on other sites
coucou
On 20/05/2018 at 1:22 PM, Rekkio said:

Can you try with IObitUninstaler.exe ?

 

That what I did already

I already tried with IObitUninstaler.exe
In fact, I wrote here above Uninstale.exe , I meant IObitUninstaler.exe

Regards

 

Share this post


Link to post
Share on other sites
Rekkio
Posted (edited)
3 hours ago, coucou said:

That what I did already

I already tried with IObitUninstaler.exe
In fact, I wrote here above Uninstale.exe , I meant IObitUninstaler.exe

Regards

 

 

Try using the full XML file I posted, if it doesn't work edit it for another software that requires admin rights.

 

If it works for another software but not IObit Uninstaller, it'll definitely be an issue with the software itself.

 

However it shouldn't be having any issues to begin with, so if that doesn't work you'll have to go for a custom software (non-native) solution:

 

https://www.anonymz.com/?https://www.raymond.cc/blog/task-scheduler-bypass-uac-prompt/

 

This website mentions 3 softwares: One called UAC Pass another called UAC Trust Shortcut and the last one called ElevatedShortcut.

 

I've a preference for ElevatedShortcut, it looks better, it looks like a native Windows utility so you can get accustomed to it.

 

 

Edited by Rekkio
typos

Share this post


Link to post
Share on other sites
knowledge
Posted (edited)

 Norton  and UAC is like friend i think longtime ago was tricks to beat UAC with norton but it be long time from when i installed again as it spy and backdoor

 maybe u need program like UAC Replacement so it kill UAC

Edited by knowledge

Share this post


Link to post
Share on other sites
Kalju
On 5/16/2018 at 3:17 PM, coucou said:

Hello,
I installed Windows 10 Pro x64 with several apps about 2 months ago. Everything works fine.
However, UAC promt appears when IObit Uninstaller 7.2 or Symantec Endpoint Protection 14.0.1 are launched.
I even used the Task Scheduler Method ... without success.

 

I'll appreciate any Help to get ride from this UAC prompt.

Regards

It seems to me that something weird is happening and that's why I ask.
How do you run the IObit Uninstaller? Please write this link what You uses to run IObit Uninstaller.
About Norton I don't know nothing, but maybe there is the same thing.

Share this post


Link to post
Share on other sites
humble3d
Posted (edited)

WHY NOT JUST TURN UAC OFF... WHEN USING THE APP...

PUSH THE SLIDER DOWN ALL THE WAY IN THE GUI...

SEARCH UAC TO SEE THE GUI...

Edited by humble3d
IMCOMPLETE...MISPLACED EYE GLASSES

Share this post


Link to post
Share on other sites
Togijak
23 hours ago, Rekkio said:

I've a preference for ElevatedShortcut

 

ElevatedShortcut has been superseded by Winaero Tweaker and is no longer being maintained. Unlike this app, Winaero Tweaker supports all recent Windows versions, including Windows 7, Windows 8, Windows 10 and above. It constantly receives updates to improve the end user experience and make all its options more friendly for the end user.

Source

Share this post


Link to post
Share on other sites
coucou
Posted (edited)
On 22/05/2018 at 8:16 PM, Rekkio said:

 

Try using the full XML file I posted, if it doesn't work edit it for another software that requires admin rights.

 

If it works for another software but not IObit Uninstaller, it'll definitely be an issue with the software itself.

 

Hi Rekkio, you are the BEST:clap::clap::clap:I tested yr .xml, it works like a charm :thumbsup:

Indeed, the only difference with my xml is

<Arguments>$(Arg0)</Arguments>

Finally, I created and tested a task with Uninstaler_SkipUac.exe and the argument $(Arg0), as well as its desktop shortcuts. It works very well :dance:
I even created a task for Symantec Endpoint Protection always with your argument and the appropriate desktop shortcuts, it works very well too :dance:

 

Remains to be done: the shortcut of Symantec Endpoint Protection which is located in the Taskbar Notification area.

How to access to that shortcut?

 

Regards

 

Edited by coucou

Share this post


Link to post
Share on other sites
Rekkio
3 hours ago, coucou said:

Remains to be done: the shortcut of Symantec Endpoint Protection which is located in the Taskbar Notification area.

How to access to that shortcut?

 

The Symantec icon you see in the notification area actually isn't a shortcut but the running process:

 

If you need to go through an UAC prompt when you click on it, that means the AV's main application doesn't run elevated.

This could be done on purpose to prevent unauthorized changes in your AV's protection settings from other users.

 

You can bypass it by replacing the Autorun registry entry of your AV's exe file by an schtasks.exe command:

 

You need to disable the AV's self-defense / protection features before doing this.

It also implies that you'll have a small schtasks window popping up for a second everytime you boot your computer.

 

A guide for adding / removing an Autorun registry key:

 

https://www.anonymz.com/?https://www.akadia.com/services/windows_registry.html

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×