You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode instances all open in the same Windows Desktop after an update/restart #319435
When my computer updates, VSCode windows do not remember the desktop there were in before the reboot.
I usually have 8+ VSCode instances, and on every update I need to re-organize them in my multiple desktops, since they all open in the same one after an update. It would be great to add this enhancement.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Same problem here on Windows 11, and it also hits Cursor (VS Code fork).
I keep multiple editor windows on separate virtual desktops. After a restart or an update, every previously open window is dumped onto whichever desktop is currently active. I then have to put them all back by hand.
This is not a Windows limitation. Brave / Chrome / Edge restore each window to the desktop it was on. Chromium already does this with IVirtualDesktopManager (GetWindowDesktopId on save, MoveWindowToDesktop on restore). VS Code / Electron only persist size, position, and which folders were open, so the recreated windows all spawn on the current desktop.
enable-rdp-display-tracking looks like RDP/display tracking, not virtual-desktop restore. I can try it, but I would not expect it to put windows back on specific desktops.
Please keep this open and do not close it on the 20-upvote timer again. This has been reported for years and still happens after every restart/update.
Reacted by Dmitriy Vasyura, seb303 and yurivilmanis
🤖 Thanks for the report. This is already tracked in #152869, whose original report describes the same behavior: windows distributed across Windows virtual desktops all reopen on the current desktop after restarting. Your Windows 11 scenario with eight or more windows after updates or reboots adds useful context to that request. The suggested enable-rdp-display-tracking option handles monitor placement during RDP reconnection, not virtual-desktop restoration.
Activity
vs-code-engineering commentedon Jun 9, 2026
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vs-code-engineering commentedon Jul 30, 2026
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vs-code-engineering commentedon Aug 10, 2026
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
dmitrivMS commentedon Aug 10, 2026
Filiberto Fuentes (@fifuente) Could you please try the following:
Preferences: Configure Runtime Argumentscommandargv.jsonadd the following sett:"enable-rdp-display-tracking": truePlease let me know if this fixes the issue for you.
dmitrivMS commentedon Aug 10, 2026
Possibly related: #248537
electron/electron#47016
dimy-osman commentedon Aug 23, 2026
Same problem here on Windows 11, and it also hits Cursor (VS Code fork).
I keep multiple editor windows on separate virtual desktops. After a restart or an update, every previously open window is dumped onto whichever desktop is currently active. I then have to put them all back by hand.
This is not a Windows limitation. Brave / Chrome / Edge restore each window to the desktop it was on. Chromium already does this with
IVirtualDesktopManager(GetWindowDesktopIdon save,MoveWindowToDesktopon restore). VS Code / Electron only persist size, position, and which folders were open, so the recreated windows all spawn on the current desktop.Related:
enable-rdp-display-trackinglooks like RDP/display tracking, not virtual-desktop restore. I can try it, but I would not expect it to put windows back on specific desktops.Please keep this open and do not close it on the 20-upvote timer again. This has been reported for years and still happens after every restart/update.
dmitrivMS commentedon Nov 24, 2026
🤖 Thanks for the report. This is already tracked in #152869, whose original report describes the same behavior: windows distributed across Windows virtual desktops all reopen on the current desktop after restarting. Your Windows 11 scenario with eight or more windows after updates or reboots adds useful context to that request. The suggested
enable-rdp-display-trackingoption handles monitor placement during RDP reconnection, not virtual-desktop restoration./duplicate of #152869