4.8/5 - (16 votes)

Last Updated on June 18, 2020 by Vikash Ekka

Enable GingerCannot connect to Ginger Check your internet connection
or reload the browser
Disable in this text fieldEditEdit in GingerEdit in Ginger×

Visual Studio Code Black Screen Windows 7, 8.1 and 10
Visual Studio Code Black Screen Windows 10

Due to compatibility issue of Visual Studio Code with Windows Operating system this type of errors generally comes. In this guide we will fix Visual Studio Code Black Screen on Windows 7, 8.1 and 10. Please follow the below steps:

How to Fix Visual Studio Code Black Screen

Step1. Right-click on VS Code Shortcut —> go to properties —> add     –disable-gpu to Target: (Shown in screenshot below)

     “C:Program FilesMicrosoft VS CodeCode.exe” –disable-gpu


Visual Studio Code Black Screen Windows 7

Put same as shown in the above screenshot.

Step2. Now go to compatibility tab and in compatibility mode, tick the box “Run this program in compatibility mode for“.

1. For windows 7 :- Select windows Vista

2. For windows 10 :- Select Windows 8


If above not works then do the vise versa that means change the options one by one and check the issue

Visual Studio Code Black Screen Windows 7, 8.1 and 10

For me I was using windows 10, so I selected Windows 8

Then click on Apply and OK

Visual Studio Code Black Screen Windows
After that we have to restart the VS code application and check the  application.

Note:-The image above is in Portuguese, please translate to your language.


If you are using Windows 7 and  issue is not fixed then I recommend to upgrade your Windows 7 to Windows 10 because support for Windows 7 has been ended on January 14, 2020. Please let me know in the comment box if you are facing any type of issue. I’m very happy to answer your question.

Also Read:- Download, install and activate Microsoft Office 2019 for FREE

Also Read:- Download Windows 10 May 2020 Latest ISO


By Vikash Ekka

Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review. Currently, I have been working as an IT professional since 2018.

16 thoughts on “Visual Studio Code Black Screen Windows 7, 8.1 and 10”
  1. Hello Vikash, first of all, thank you very much for your suggestions. I tried them (and a lot of combinations more haha) but it continues not working :(. I also tried to install a previous VS code version. Would you know how to solve this?

  2. Hello Vikash, first of all, thank you for your time and suggestions. I hace tried them (and a lot of other combinations) but it contniues not working :(. I even tried installing a previous VS code version.. Would you have any other idea that can work for my case? Thank you so much!

  3. There is a blank screen when I open vs code. –disable–gpu is not working as it is showing the target location cannot be changed. Compatibility mode is also windows 8 as I'm working on windows 10 OS

  4. I am facing the same issue of blank screen when i open vs code i have disabled gpu and installed microsoft .net framework as i have windows 7 but still i m facing the same problem.please suggest me solution

  5. Please upgrade your windows as windows 7 is now end of life, so we do not get update for installing any dependencies. Or you can search if any required packages is missing.

Leave a Reply

Your email address will not be published. Required fields are marked *