diff --git a/src/vs/code/electron-main/windows.ts b/src/vs/code/electron-main/windows.ts index e0fc870d4d8..26db33a6d80 100644 --- a/src/vs/code/electron-main/windows.ts +++ b/src/vs/code/electron-main/windows.ts @@ -948,7 +948,7 @@ export class WindowsManager implements IWindowsMainService { if (pathToOpen && pathToOpen.folderUri) { windowsToOpen.push(pathToOpen); } - } else if (restoreWindows !== 'folders' && openedWindow.backupPath) { // Windows that were Empty + } else if (restoreWindows !== 'folders' && openedWindow.backupPath && !openedWindow.remoteAuthority) { // Local windows that were empty. Empty windows with backups will always be restored in open() windowsToOpen.push({ backupPath: openedWindow.backupPath, remoteAuthority: openedWindow.remoteAuthority }); } }