Issue Description
For a machine-scope installation (ALLUSERS=1), the installer should add the Podman installation directory to the system PATH: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
so that Podman is available for all users on the device, but Instead, the PATH entry is written to: HKCU\Environment\Path
Steps to reproduce the issue
Steps to reproduce the issue
- Install Podman MSI in System Context as machine-wide installation: msiexec /i podman-installer-windows-amd64.msi ALLUSERS=1
- Try to run podman info as different user - it will fail.
Describe the results you received
Observed behavior
- Podman installed to C:\Program Files\Podman
- MSI_Log: WriteEnvironmentStrings action completed successfully
- MSI_Log: EnvEntriesComponent was installed (Action: Local)
- No PATH update in HKLM system environment
- PATH update found in the installing user's HKCU environment
Impact
This affects enterprise deployments (Intune, MECM/SCCM, EPM, installations as SYSTEM, etc.), where Podman is installed successfully but is not available in PATH for end users without additional remediation.
Describe the results you expected
For a machine-scope installation (ALLUSERS=1), the installer should add the Podman installation directory to the system PATH: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path so that Podman is available for all users on the device.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Issue Description
For a machine-scope installation (ALLUSERS=1), the installer should add the Podman installation directory to the system PATH: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
so that Podman is available for all users on the device, but Instead, the PATH entry is written to: HKCU\Environment\Path
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Observed behavior
Impact
This affects enterprise deployments (Intune, MECM/SCCM, EPM, installations as SYSTEM, etc.), where Podman is installed successfully but is not available in PATH for end users without additional remediation.
Describe the results you expected
For a machine-scope installation (ALLUSERS=1), the installer should add the Podman installation directory to the system PATH: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path so that Podman is available for all users on the device.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting