Bypass UAC via MECM/SCCM

Andy 51 Reputation points
2021-10-27T01:07:34.54+00:00

Client Version Windows 10 2004
MECM version 2107
I am using Compliance Settings to uninstall apps on clients everything runs smoothly except UAC (if clients with admin rights no problem at all).
Is there any method we can bypass UAC via PowerShell or settings?
I know we can using GPO but it's not controlled by us
Thank you in advance

Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,751 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,360 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 40,081 Reputation points Microsoft Vendor
    2021-10-27T08:45:22.687+00:00

    Hi, @Andy
    Thank you for posting in Microsoft Q&A forum.

    We may try to uninstall software using WMI, here is a great example to uninstall Java by compliance setting, you may refer to it to see if it helps:
    https://blog.ctglobalservices.com/powershell/mas/uninstall-java-or-other-software-with-configmgr-compliance-baselines/
    (Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

    Don't check the option "Run scripts by using the logged on user credentials".


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.