Skip to content

[Bug]: WinGet Disable CLI policy not bypassed #1162

@A55imilat0r

Description

@A55imilat0r

The problem

We are trying to prevent interactive users from running WinGet via CLI with this ADMX/CSP by setting this to Disabled.
./Device/Vendor/MSFT/Policy/Config/DesktopAppInstaller/EnableWindowsPackageManagerCommandLineInterfaces

However for obvious reasons this breaks the fundamental behaviour of Winget-Autoupdate scheduled tasks.

What do we need to do here to keep the CLI disabled for interactive users but allow Autoupdate scheduled tasks to function?

What version of WAU has the issue?

2.3.1

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 25H2

What version of winget are you using?

1.28.240

Log information

#################################################################
#    11/05/2026 - CHECK FOR APP UPDATES (System context - Connected user)
#################################################################
09:20:02 - Reading WAUConfig
09:20:02 - Notification Level: SuccessOnly. Notification Language: English
09:20:02 - Checking internet connection...
09:20:02 - Connected!
09:20:03 - Checking prerequisites...
09:20:03 - VC++ x64 already installed (14.50.35719.0)
09:20:08 - WinGet installed version: This operation is disabled by Group Policy: Enable Windows Package Manager command line interfaces | WinGet available version: 1.28.240
09:20:09 - Prerequisites check failed
09:20:09 - Selected winget instance: C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.28.240.0_x64__8wekyb3d8bbwe\winget.exe
09:20:09 - WAU current version: 2.11.0
09:20:09 - WAU AutoUpdate is Disabled.
09:20:09 - WAU uses White List config
09:20:09 - -> Successfully loaded local included apps list.
09:20:10 - Checking application updates on Winget Repository named 'winget' ..
09:20:10 - No update found. 'Winget upgrade' output:
This operation is disabled by Group Policy: Enable Windows Package Manager command line interfaces
09:20:10 - No new update.
09:20:10 - End of process!
10:33:49 - Rerun WAU in system context with ServiceUI

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions