# Problem running ROOT on Windows after installation

**URL:** <https://root-forum.cern.ch/t/problem-running-root-on-windows-after-installation/53713>\
**Category:** Newbie\
**Created:** [February 21, 2023, 10:29am UTC](https://root-forum.cern.ch/t/problem-running-root-on-windows-after-installation/53713 "2023-02-21T10:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Down](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/5daacb/32.png) [@Down](https://root-forum.cern.ch/u/Down)\
**Post date:** [February 21, 2023, 10:29am UTC](https://root-forum.cern.ch/t/problem-running-root-on-windows-after-installation/53713/1 "2023-02-21T10:29:29Z")

</div>

_ROOT Version:_ v6.28.00  
_Platform:_ Windows 10  
_Compiler:_ Visual Studio 2022

Hi,

I’ve tried to install ROOT using the Windows 10 x64 .exe provided for the latest version. I did install beforehand Cmake and Visual Studio 2022. Installation seems to go smoothly, but when I try running ROOT from the .exe, I only get a command prompt blinking on the screen. To have a look at the error message, I tried running it directly from the VS 2022 command prompt and got the following errors:

 ![Capture](https://root-forum.cern.ch/uploads/default/original/3X/3/5/35779685b3a78019f1379dd56c49960b32c59334.jpeg)

…which I do not understand at all. The problem persists after several reboots and re-attempts to install.

Note that I am almost entirely ignorant of command prompt installation procedures and would have no idea how to proceed from the bin files (and much less from the source files)…

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [February 21, 2023, 10:34am UTC](https://root-forum.cern.ch/t/problem-running-root-on-windows-after-installation/53713/2 "2023-02-21T10:34:16Z")

</div>

Welcome to the ROOT Forum!  
Make sure you have selected the `Desktop development with C++` in the Visual Studio installer, with the proper Windows SDK, and then you have to start ROOT from within a `x64 Native Tools Command Prompt for VS 2022`

---

<div class="post-metadata">

**Author:** ![Down](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/5daacb/32.png) [@Down](https://root-forum.cern.ch/u/Down)\
**Post date:** [February 21, 2023, 11:50am UTC](https://root-forum.cern.ch/t/problem-running-root-on-windows-after-installation/53713/3 "2023-02-21T11:50:42Z")

</div>

That worked, thanks!
