23

I work on multiple projects involving many different tools and therefore windows in my taskbar.

I use the virtual desktop feature of Windows 10 to avoid having a messy desktop.

I can let my laptop go to sleep when I close it (without losing my desktop sessions), and I can switch between sessions when I am working on specific projects.

But what can I do for rebooting, applying updates, or simply turning off the computer?

I would like to be able to save each instance of a running virtual desktop and then relaunch them with all their associated applications and windows (e.g. IntelliJ + Firefox + ... for one desktop).

How can I achieve this?

peejay
  • 127
  • 1
  • 1
  • 6
jacq
  • 339

1 Answers1

1

You can use the application VDesk this way:

  1. You configure VDesk to automatically create N new Virtual Desktops when opened;
  2. You configure VDesk to automatically open your applications on each Virtual Desktop;
  3. You set VDesk to autostart with Windows;

∴ Each time you login on Windows, all pre-configured Virtual Desktop sessions will be opened, each with their respective programs.

How to use VDesk?

The main command looks like this: vdesk [n] [command [args]]

  • n sets the index of the virtual desktop you want to launch the program on.
  • [command [args]] specifies the program and arguments that you want it to start.

The command vdesk notepad.exe launches Notepad on a new virtual desktop, while vdesk 3 notepad c:\text.txt opens Notepad on virtual desktop 3 and uses an argument to load text.txt automatically.

As detailed on Windows 10 - virtual desktop startup automation .