Blue
8de4cefdfd
Localization change from build: 146826820 ( #40522 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-13 08:19:32 -07:00
Gordon Lam
c1fab7f8ee
fix(l10n): add localization guidance comments for technical terms ( #14441 )
...
* fix(l10n): add localization guidance comments for technical terms
Add <comment> elements to en-US/Resources.resw providing translation
guidance for technical terms that are frequently mistranslated:
- File formats (tar, VHD) should not be translated
- Technical terms (mount, swap, sparse, DNS, proxy) need locale-appropriate terms
- Safe mode should use standard OS terminology
These comments help the localization team produce more accurate
translations without directly modifying locale-specific files.
Ref #14090
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix(l10n): add period separators and glossary comment
- Add '.' between existing guidance and appended technical term
guidance in 16 comment lines (fixes run-on sentences)
- Add top-level XML glossary comment listing all technical terms
(mount, VHD, tar, swap, sparse, DNS, proxy, safe mode) for
developer/reviewer reference
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-12 19:10:52 -07:00
Blue
accafbf6f1
Localization change from build: 146737192 ( #40506 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-12 08:29:38 -07:00
David Bennett
bf3a2ef5ee
CLI: Add system command ( #40438 )
2026-05-11 11:22:43 -07:00
Blue
210b7640f7
Localization change from build: 146591704 ( #40484 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-10 07:32:01 -07:00
Blue
49fdc518a5
Localization change from build: 146433156 ( #40463 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-08 08:52:36 -07:00
AmirMS
478b83e3df
CLI: Initialize cidfile option ( #40455 )
...
* Initialize cidfile option
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-08 02:22:30 +00:00
Blue
6497beccba
Localization change from build: 146336188 ( #40451 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-07 06:48:15 -07:00
Blue
07c6b74c5e
Localization change from build: 146276446 ( #40442 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-06 20:56:04 +00:00
AmirMS
c12e3c03d4
CLI: Initialize shm-size and configure stop-signal ( #40385 )
...
* Init retarget
* Fix build
* Added tests
* Update resw string
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Clang format
* Resolve copilot comment
* Apply suggestion from @AmelBawa-msft
* Address PR comments: use pre-configured stop-signal and remove SignalArgDescription from non-en-US resw files
Agent-Logs-Url: https://github.com/microsoft/WSL/sessions/18b17574-a958-4927-8ce9-10f3a054a4e7
Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com >
* Revert "Address PR comments: use pre-configured stop-signal and remove SignalArgDescription from non-en-US resw files"
This reverts commit 66e27600f2 .
* Fix StopSignal type to WSLCSignal in metadata struct per code review
Agent-Logs-Url: https://github.com/microsoft/WSL/sessions/18b17574-a958-4927-8ce9-10f3a054a4e7
Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com >
* Update strings
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-05-06 10:50:26 -07:00
Blue
94792a419a
Localization change from build: 146240549 ( #40436 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-06 09:06:49 -07:00
Blue
8aff667c15
Localization change from build: 146202368 ( #40429 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-05 23:48:44 +00:00
Ben Hillis
20df81ae7b
Fix typos in user-facing strings: 'chose' -> 'choose' ( #40411 )
...
* Fix typos in localization: 'chose' -> 'choose'
Two user-facing strings used 'chose' (past tense) instead of 'choose'
(present tense / imperative):
- MessageDistroNameAlreadyExists
- MessageDistributionNameNeeded
These are shipped to users in error messages.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Update UnitTests expected output for chose -> choose typo fix
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com >
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
Co-authored-by: Ben Hillis <benhillis@microsoft.com >
2026-05-05 15:03:14 -07:00
Blue
6fce9369ab
Add -n option 'wslc logs' ( #40408 )
...
* Add -n option 'wslc logs'
* Add test coverage
* Format
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Apply PR feedback
* Format
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-05 11:09:41 -07:00
Blue
5744201d6a
Localization change from build: 146151385 ( #40421 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-05 06:33:20 -07:00
Blue
0d632c2153
Localization change from build: 146111704 ( #40404 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-04 21:52:39 +00:00
beena352
3f1007245a
Add WSLCContainerNetworkTypeCustom support ( #40311 )
2026-05-04 13:13:27 -07:00
Blue
d1dda26c96
Localization change from build: 146071349 ( #40400 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-04 09:23:18 -07:00
Blue
d3002fc39f
Localization change from build: 145911850 ( #40382 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-01 12:45:23 -07:00
Blue
58139c50ed
Implement GPU support ( #40371 )
...
* Save state
* Merge remote-tracking branch 'origin/feature/wsl-for-apps' into user/oneblue/wslc-gpu
* Save state
* Save state
* Change --gpu flag to --gpus all for GPU container support
- Rename --gpu (boolean flag) to --gpus (value argument) matching Docker CLI
- Only accept 'all' as value (case-insensitive); display localized error otherwise
- Add argument validation in ArgumentValidation.cpp (early rejection)
- Add GPU LD_LIBRARY_PATH tests for containers (set, pre-existing, trailing colon)
- Add GPU LD_LIBRARY_PATH tests for exec on GPU containers
- Add CLI argument validation unit tests for --gpus
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Improve tests
* Add SDK test coverage for GPU container support
Validate that containers created via the WSLC SDK with both session
(WSLC_SESSION_FEATURE_FLAG_ENABLE_GPU) and container
(WSLC_CONTAINER_FLAG_ENABLE_GPU) flags have:
- /dev/dxg character device available
- GPU drivers directory mounted at /usr/lib/wsl/drivers
- GPU libraries directory mounted at /usr/lib/wsl/lib
- LD_LIBRARY_PATH set correctly for init and exec processes
- LD_LIBRARY_PATH appended when pre-existing value is provided
- No double colon when pre-existing value has trailing colon
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Add SDK test coverage
* Simplify tests
* Apply PR feedback
* Fix e2e HelpCommand tests for --gpus rename
Add --gpus option to expected help output in container create and run
e2e tests. The option was renamed from --gpu (flag) to --gpus (value).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Update tests
* Apply PR suggestions
* Update localization
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-01 10:40:41 -07:00
Blue
49da291edf
Localization change from build: 145890766 ( #40377 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-05-01 07:21:10 -07:00
Blue
de49dfa177
Localization change from build: 145854342 ( #40368 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-30 22:56:58 +00:00
Ben Hillis
358ab87d40
Add WSLC (WSL Containers) feature ( #40366 )
...
WSLC is a container runtime built on the Windows Subsystem for Linux, enabling Windows applications to create and manage Linux containers through a native Windows API surface.
Key components:
- wslc.exe: CLI for managing containers, images, volumes, and networks
(build, run, stop, inspect, push/pull from registries)
- wslcsession.exe: Per-user Windows service hosting container lifecycle,
storage management, and networking
- WSLC SDK: C++ and C# client libraries with NuGet packaging for
programmatic container management
- Container networking: port forwarding, DNS tunneling, virtio
networking, and HCN integration
- Storage: VHD-backed volumes, virtiofs file sharing, overlayfs layers
- GPU passthrough and device host proxy support
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com >
Co-authored-by: 1wizkid <richard.fricks@hotmail.com >
Co-authored-by: AmirMS <104940545+AmelBawa-msft@users.noreply.github.com >
Co-authored-by: beena352 <beenachauhan@microsoft.com >
Co-authored-by: Blue <OneBlue@users.noreply.github.com >
Co-authored-by: Craig Loewen <crloewen@microsoft.com >
Co-authored-by: Darshak Bhatti <47045043+dabhattimsft@users.noreply.github.com >
Co-authored-by: David Bennett <dbenne@microsoft.com >
Co-authored-by: Feng Wang <wang6922@outlook.com >
Co-authored-by: Flor Chacon <14323496+florelis@users.noreply.github.com >
Co-authored-by: John Stephens <johnstep@microsoft.com >
Co-authored-by: JohnMcPMS <johnmcp@microsoft.com >
Co-authored-by: Kevin Vega <40717198+kvega005@users.noreply.github.com >
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com >
Co-authored-by: ramesh-ramn <raman.ramesh@gmail.com >
Co-authored-by: Richard Fricks <richfr@microsoft.com >
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com >
2026-04-30 13:34:43 -07:00
Blue
28f15865b6
Localization change from build: 145307940 ( #40302 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-24 08:12:24 -07:00
Blue
3363d3d111
Localization change from build: 145280293 ( #40299 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-24 01:57:57 +00:00
Blue
34bce0d6f7
Localization change from build: 145214525 ( #40283 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-23 09:29:46 -07:00
Ben Hillis
81839b3fb0
Add admin protection error message for shadow admin scenarios ( #40170 )
...
* Add admin protection error message for shadow admin scenarios
When Windows Admin Protection is enabled, the elevated process runs as a
shadow admin with a different SID, so distributions registered under the
real user are not visible. Surface an informational message in two cases:
1. Launching a distribution by name that is not found (WSL_E_DISTRO_NOT_FOUND)
2. Listing distributions when none are registered (WSL_E_DEFAULT_DISTRO_NOT_FOUND)
* formatting
* Show admin protection message for non-elevated users too
When Admin Protection creates a shadow admin, distros registered under
the real user are invisible to the shadow admin and vice versa. Remove
the elevation check so the informational message appears for both
elevated and non-elevated callers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com >
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-22 23:33:36 +00:00
Blue
2793f4c90e
Localization change from build: 145118702 ( #40271 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-22 08:19:18 -07:00
Blue
e6a5a465d7
Localization change from build: 145021774 ( #40258 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-21 08:31:28 -07:00
Blue
fad87fd45c
Localization change from build: 144997944 ( #40257 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-04-20 20:41:18 -07:00
FetoiuCatalin
8e6584385b
Add boot check for ipv6 disabled via registry in mirrored mode ( #40235 )
...
* Fallback to NAT when IPv6 is disabled via registry for mirrored networking
When the registry key HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
has DisabledComponents set to 0xFF (all IPv6 components disabled), mirrored
networking mode cannot mirror host interfaces. This adds a check in
ValidateNetworkingMode() that detects this condition and falls back to NAT
networking mode with a user-facing warning.
Only mirrored networking mode is affected by this registry key; other
networking modes (NAT, Bridged, VirtioProxy) are not checked.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* add registry check
* pr review
* remove shutdown
* re-add shutdown
---------
Co-authored-by: Catalin-Emil Fetoiu <cfetoiu@microsoft.com >
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-20 18:30:20 -07:00
Darshak Bhatti
37a3aa5b13
Settings: Add pending changes tracking and apply confirmation dialog ( #14425 )
...
* initial commit
* cp
* cp
* pr feedback
* cp
* pr feedback
* pr feedback
* cp
* pr feedback
* refactor
* pr feedback
* cp
* Move Apply Changes button to ShellPage to deduplicate across settings pages
* PR feedback 1
---------
Co-authored-by: Darshak Bhatti <dabhatti@micorsoft.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-04-20 18:24:17 -07:00
Blue
93fa8b5ee0
Localization change from build: 143033415 ( #14553 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-27 09:15:10 -07:00
Blue
2d428fc4db
Localization change from build: 142949177 ( #14542 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-26 08:15:30 -07:00
Blue
8338ecaf52
Localization change from build: 142847827 ( #14525 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-25 08:23:15 -07:00
Feng Wang
83d59d4b4a
Fix: Fail and warn the user when --uninstall is given parameters ( #14524 )
...
Fail and warn the user when --uninstall is given parameters.
2026-03-25 13:08:56 +08:00
Blue
456a5cfe45
Localization change from build: 141225222 ( #14360 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-05 06:51:07 -08:00
Blue
7cadd55247
Localization change from build: 141137626 ( #14352 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-04 08:26:09 -08:00
Ben Hillis
8c220dc083
Fix grammar, typos, and formatting in docs and source ( #14286 )
...
* Fix localization text, Intune capitalization, ADMX indentation, unused import
- distributions/validate.py: Remove unused 'import base64'
- en-US/en-GB Resources.resw: Fix word order 'the list distribution' -> 'the distribution list' in MessageCouldFetchDistributionList
- en-US/en-GB Resources.resw: Remove trailing space from MessageCorruptedDistroRegistration value
- intune/en-US/WSL.adml: Fix 'For Linux' -> 'for Linux' capitalization (5 occurrences) to match official product name
- intune/WSL.admx: Fix inconsistent 3-space indent to 4-space on AllowWSL1 and CustomKernelUserSettingConfigurable policies
* Fix grammar, typos, and formatting in docs and source code
- WmiService.h: Fix duplicated word 'of of' -> 'is of' in WQL comment
- drvfs.md: Fix 'which tell' -> 'which tells' (subject-verb agreement), double space, second 'tell' -> 'tells'
- systemd.md: Fix 'tries synchronizes' -> 'tries to synchronize'
- wslhost.exe.md: Fix 'processes terminates' -> 'process terminates'
- boot-process.md: Add missing 'in' preposition, fix C:/ -> C:\, fix lowercase 'linux' to 'Linux' (4 occurrences), fix misplaced parenthesis
- init.md: Fix double space before hvsocket backtick
- session-leader.md: Fix heading level ## -> ### to match sibling section
- CONTRIBUTING.md: Fix double period after bold security notice
- debugging.md: Fix missing word 'be' in 'can enabled', fix 'process' -> 'processes'
- index.md: Add missing period at end of sentence
- technical-documentation/index.md: Fix 'API's' -> 'APIs' (remove incorrect apostrophe)
- relay.md: Fix lowercase 'linux' to 'Linux' (3 occurrences)
- localhost.md: Fix lowercase 'linux' to 'Linux'
- plan9.md: Fix lowercase 'linux' to 'Linux'
* update errormessages testcase
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com >
2026-03-03 18:13:59 -08:00
Blue
21cb15e009
Localization change from build: 141093872 ( #14345 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-03-03 13:49:17 -08:00
Andy Sterland
32329bb35c
Add vs info to settings ( #14169 )
...
* Initial commit to add a page to the OOBE experience for the Visual Studio integration with WSL.
* Updated link for C++ to the landing page for Linux dev.
* Reverting accidental commit of UserConfig.cmake.sample.
* Revert accidental change
* Revert "cleanup: fix UserConfig.cmake.sample in master branch (#14076 )"
This reverts commit 4b23185dfe .
* Reapply "cleanup: fix UserConfig.cmake.sample in master branch (#14076 )"
This reverts commit d97e2753bb .
* revert
* revert
* Tidying whitespace
* Tidying whitespace
* Tidying whitespace
* Tidying whitespace
* Tidying whitespace
* Update src/windows/wslsettings/Views/OOBE/ShellPage.xaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/windows/wslsettings/Activation/ProtocolActivationHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-03 14:45:00 -05:00
Blue
cf742f0186
Localization change from build: 138754557 ( #14140 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-31 07:52:22 -08:00
Blue
b5c11b15e4
Localization change from build: 138626054 ( #14127 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-29 08:07:56 -08:00
Blue
05603c86ed
Localization change from build: 138543929 ( #14122 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-28 09:01:25 -08:00
Blue
608ce7d8f2
Localization change from build: 138459409 ( #14114 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-27 08:18:42 -08:00
Craig Loewen
49856a2633
Updated enable virtualization error message ( #14110 )
...
* Updated enable virtualization error message
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Ben Hillis <benhillis@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-26 13:38:45 -08:00
Blue
21e60dcfb2
Localization change from build: 137534777 ( #14059 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-13 15:46:54 -08:00
Blue
0a2f80d2cd
Localization change from build: 137487010 ( #14057 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2026-01-13 10:56:13 -08:00
Blue
7ced2d6bd1
Localization change from build: 136690255 ( #14003 )
...
Co-authored-by: WSL localization <noreply@microsoft.com >
2025-12-31 10:42:35 -08:00
Blue
9ed5c130f4
Localization change from build: 135812430 ( #13905 )
...
* Localization change from build: 135812430
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove unused string
---------
Co-authored-by: WSL localization <noreply@microsoft.com >
Co-authored-by: Ben Hillis <benhillis@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com >
2025-12-15 13:36:56 -05:00