From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id D4D383857C4E for ; Tue, 31 Aug 2021 15:38:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4D383857C4E Received: by mail-oi1-x235.google.com with SMTP id s20so25015148oiw.3 for ; Tue, 31 Aug 2021 08:38:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=gfoljC+Yzi08ueEA5ghNecy9gVuaA7+plZjVtpydh9Y=; b=sM94QwwCdoHHLSvJ/fjAJhkzzcC4EXaVV6v3RyzRQT+Zju1AqMn9D4S17lauQPoFq+ SLhuqq2MUHeUCfzEIe3W+lYZWDn+6S/pUHhI4LQ5eQD5jKuIAJTizKO6tq4fjrumSL1V 0uvxpGM6Sg4ugh9xMJC2IhtfYuwZw29bMzEBsnTJwqMfe5inc7zWhCfSBlnHrg4U8vdJ vha98WJahfzol/iLURUVbafC1qyIAOQstx0xywHR2Y/CrNkwSNP8jeXM+dZEh+L56ZR8 S9UF4W6WtdCw5zprpTHmWIVPfiHCbZ1cLUoZMp6FnNfLDQ2MDiUpx1lyQoI/etyvI5Gp yvaw== X-Gm-Message-State: AOAM530CoUdFD9p06J5q8f8noF7dvrwONIecokJoPKKlcVmLSYXZA8fK 6vxYaijS0FwFMgGyt68HCU5104Ua+UQ= X-Google-Smtp-Source: ABdhPJwV9qUaZjHuMQ+sMkQwwhfjbQXctS4pIS0D5LwdWuCW7c/geUBIDO/gM0m/nWH3yg7oD4BJBg== X-Received: by 2002:aca:f386:: with SMTP id r128mr3603957oih.168.1630424301012; Tue, 31 Aug 2021 08:38:21 -0700 (PDT) Received: from [192.168.149.55] (gate.reksoft.ru. [188.64.144.36]) by smtp.googlemail.com with ESMTPSA id y138sm3594167oie.22.2021.08.31.08.38.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Aug 2021 08:38:20 -0700 (PDT) To: cygwin@cygwin.com From: ilya Basin Subject: requestedExecutionLevel "asInvoker" is ignored for setup-x86_64.exe Message-ID: Date: Tue, 31 Aug 2021 18:38:16 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: ru Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2021 15:38:23 -0000 Hi. I noticed that despite having: in setup-x86_64.exe the UAC prompt is not bypassed and when I click Cancel the program is not started. Previously I used the same binary to install Cygwin for "Just me" on a host where regular users are simply not allowed to trigger a UAC prompt. I have downloaded some other software installers and they work as intended: cf7_installer.exe Git-2.33.0-64-bit.exe pgadmin4-5.6-x64.exe The following env var also failed: set __COMPAT_LAYER=RunAsInvoker Then I tried to un-UPX and remove the manifest with ResHacker and I also renamed "setup-x86_64.exe" to "putes-x86_64.exe" because I heard that UAC looks for keyword in .exe name without a manifest, but the resulting binary still triggers the UAC. Reproducible on: Windows 10 20-H2 build 19042.746 Windows 7 sp1 buld 7601