Query to modify package

TechUST 561 Reputation points
2025-01-12T17:27:46.4666667+00:00

Hii There

,

I am working on the Anypoint Studio 7.20.0 package. I have deployed the package through Intune and SCCM using a script, and the application has successfully been installed on the test machine. The behavior of this application is that it extracts the entire ZIP file to the C drive and then moves it to the Program Files directory. Additionally, it creates a shortcut to AnypointStudio.exe on the desktop.

The problem is that after deployment through SCCM or Intune, the app installs successfully, and the shortcut is created on the desktop. However, when the end user clicks on the shortcut to open the application, a UAC (User Account Control) or firewall pop-up window appears, prompting the user to enter a password. Since the end user does not have admin privileges, they are unable to proceed.

I would like to resolve this issue by either modifying the script to prevent this prompt or configuring Defender or firewall settings through Intune to ensure that the pop-up does not appear on the user's end.

When I performing a manual installation, i.e., running the script, a Firewall or UAC pop-up appears. I am not sure how to remove this so that the end user does not encounter a UAC or admin credential pop-up whenever they open the shortcut. Also, I don’t want to suppress this using Task Scheduler, so please suggest another solution.

I am attaching the script and the application URL for your review. Please review it and help me resolve this issue. I would greatly appreciate your assistance.

Anypoint Studio 7.2.0 for Windows 64bin the URL is https://mule-studio.s3.amazonaws.com/7.2.0-GA/AnypointStudio-for-win-64bit-7.2.0-201807311324.zip

Java is required for Anypoint Studio, and I have deployed the Java 17 package separately.

Pop-up appear when click shortcut icon from desktop....

1000126036

Anypoint.pdf _ here the script which i made.

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
1,051 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,430 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,972 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,735 questions
Microsoft Defender for Cloud Apps
Microsoft Defender for Cloud Apps
A Microsoft cloud access security broker that enables customers to control the access and use of software as a service apps in their organization.
164 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 37,941 Reputation points Microsoft Vendor
    2025-01-13T06:08:33.65+00:00

    Hi,

    Hope everything is going well.

    1,Is the application running as System or the logged in user? We can check as below in SCCM:

    Application Package -> Properties -> Deployment Types (Edit) -> User Experience.

    If the Installation Behavior is "Install for system if resource is device; otherwise install for user", change it to "Install for System."

    2,We can also try to bypass or disable UAC prompt:

    a,Bypass UAC prompt:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    ConsentPromptBehaviorUser DWORD

    Change the value to 3 to have a try.

    0 = Automatically deny elevation requests

    1 = Prompt for credentials on the secure desktop

    3 = Prompt for credentials (default)

    How to Change User Account Control (UAC) prompt Behavior for Standard Users in Windows

    b,We can also try to disable UAC via below command line:

    %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

    Disable UAC via command line

    Note: Since the website is not hosted by Microsoft, just for your reference

    Hope it helps. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.