How to Locate the System Root Directory Windows 2000 through Windows 7

You need to be able to find the system root directory in order to find the drivers that are actually in use, to find the system log files, and to find the debug crash dump files.

To locate the system root directory:

  1. Press and hold the Windows key WinKey, then press the letter 'R'. (You can also click start->run... to get the same dialog box.)
  2. Enter the word "cmd" in the program prompt, as shown, and press OK.
    Run Command

  3. A command window should appear. Enter the command "set systemroot" at the prompt, and press enter, as shown below. The system will display the system root. (The example is from Windows 2000, but the same procedure works for Windows XP through Windows 7.)
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\>set systemroot