Visual Studio Code Black Screen Windows 7, 8.1 and 10

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:

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

     "C:\Program Files\Microsoft VS Code\Code.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 try in 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

Post a Comment


  1. 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!

  2. 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?

  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.


If you have any doubts, Please let me know.
Note : - Please do not enter any spam link in the comment box.