Bug Report: Portable Mode Does Not Update Windows Taskbar Recent Items
Does this issue occur when all extensions are disabled?
Yes
Environment
- VS Code Version: 1.114.0
- Commit: e7fb5e9
- Date: 2026-04-01
- OS: Windows 10 x64 (10.0.19045)
Description
When running VS Code in portable mode (i.e., a data folder exists in the VS Code directory), opening folders does not update the Windows taskbar “Recent” list (right-click on the VS Code icon).
However, when running VS Code in normal (non-portable) mode, recently opened folders are correctly shown in the Windows taskbar jump list.
Steps to Reproduce
Case 1: Portable Mode (Issue occurs)
- Create a
data folder inside the VS Code installation directory (portable mode enabled)
- Launch VS Code
- Open any folder
Result:
The opened folder does not appear in the Windows taskbar "Recent" list.
Case 2: Normal Mode (Expected behavior)
- Remove the
data folder (disable portable mode)
- Launch VS Code
- Open any folder
Result:
The opened folder appears correctly in the Windows taskbar "Recent" list.
Expected Behavior
Recently opened folders should appear in the Windows taskbar jump list regardless of portable mode.
Actual Behavior
In portable mode, recently opened folders are not added to the Windows taskbar recent items.
Additional Notes
- This issue occurs even with all extensions disabled.
- It seems related to how VS Code integrates with Windows shell APIs in portable mode.
- Possibly related to how recent items are stored or registered when using a custom
data directory.
Screenshots
(Attached in original report)
Bug Report: Portable Mode Does Not Update Windows Taskbar Recent Items
Does this issue occur when all extensions are disabled?
Yes
Environment
Description
When running VS Code in portable mode (i.e., a
datafolder exists in the VS Code directory), opening folders does not update the Windows taskbar “Recent” list (right-click on the VS Code icon).However, when running VS Code in normal (non-portable) mode, recently opened folders are correctly shown in the Windows taskbar jump list.
Steps to Reproduce
Case 1: Portable Mode (Issue occurs)
datafolder inside the VS Code installation directory (portable mode enabled)Result:
The opened folder does not appear in the Windows taskbar "Recent" list.
Case 2: Normal Mode (Expected behavior)
datafolder (disable portable mode)Result:
The opened folder appears correctly in the Windows taskbar "Recent" list.
Expected Behavior
Recently opened folders should appear in the Windows taskbar jump list regardless of portable mode.
Actual Behavior
In portable mode, recently opened folders are not added to the Windows taskbar recent items.
Additional Notes
datadirectory.Screenshots
(Attached in original report)