How to start VSCode Automatically when you sign into Windows 11

Posted on 20 November 2021

Are you looking for web hosting?

Start today from just £2.99/month

Our super-fast web hosting comes with the Direct Admin control panel, super-fast SSD drives, NGINX-Apache config for top performance, brotli compression, 99.9% uptime, daily backups and 1Gbps connectivity

Sign Up

Windows 11 is the operating system we currently use. VSCode or Visual Studio code is our chosen IDE. If you use VSCode often enough, you might be thinking of just setting it up to open automatically… how do you go about this in Windows 11?

The Solution

The easiest way is to add VSCode to your startup folder. This was easy back in the days of Windows XP as it meant you could just dump the shortcut in the “Startup” folder in the start menu.

This isn’t present in Windows 11 however there is a way, with the following steps!

Step 1

The first thing you need to do is press and hold the Windows Key and tap the R key. This will bring up a run box. From here you need to type the following

Are you looking for web hosting?

Start today from just £2.99/month

Our super-fast web hosting comes with the Direct Admin control panel, super-fast SSD drives, NGINX-Apache config for top performance, brotli compression, 99.9% uptime, daily backups and 1Gbps connectivity

Sign Up

shell:startup

And lastly, press enter. This will open the startup folder, leave this to one side.

Step 2

You now need to get a VSCode shortcut. The easiest way of doing this is to go to the start menu and search for VSCode or Visual Studio Code, right click on the VSCode icon and left click open file location.

When you get to the folder containing Visual Studio Code, you’ll need to right click on it and then left click on “Show More Options”, from here you’ll get the option to copy. Alternatively you can single click the icon and press CTRL and Copy.

Step 3

Last step is to either right click and paste in the startup folder or press CTRL and V. That’s all there is to it. From now on VSCode will open on sign in!

Share this post with your friends, followers and connections!


Subscribe to our mailing list

* indicates required

View previous campaigns.