How to check Windows version in just 2 steps?

  • Option 1: Accessing the About Windows Box
  • Option 2: Opening the System Properties Window
  • Option 3: Looking at the System Information
  • Option 4: Using Command Prompt

How to check Windows version in just 2 steps?

No matter which operating system you use you can figure out your OS version in various ways. It is not a hard process and as you can see it’s just a few clicks or commands. Knowing your OS version helps you in many ways like when you want to install an application on your system. Well, with all this in mind, were you able to check your OS version using the things we said?

What is an OS version?

Your computers are running on some OS and that OS gets several updates regularly. With each update, the version changes, and this is called the OS version.

Is Microsoft an OS?

itself is not an OS but it provides one of the most commonly used Operating Systems called Microsoft Windows.

What is the Best OS for a low-end PC?

Ubuntu is an OS that is good for all kinds of computers. Its several versions can run on most computers. However, it is better to know the version before using it regularly for the best results.

This article will guide you on how to find os version with command line. You know, there are many variants of operating systems such as Windows OS and Linux OS (as well as its distributions). It might be that you’re trying to buy a new Program for your PC or that you want to update your drivers.

In this case, you might be asking yourself about the version of the Operating System that you are using on your device. This piece of information is quite vital for many Computer needs. Luckily command-line utilities show us the version of the Windows running on the computer. The same is true for the Linux Terminal. There are usually more details than just the version, actually. Depending on the OS, you can find other info, like service pack number or check kernel version
. For now, let’s focus on getting the OS version.


   Get-ComputerInfo -Property "WindowsVersion"

Powershell Get-ComputerInfo output

Picture 1:
Above the whole output of the Get-ComputerInfo
powershell invocation, without options.

Some words more



In systeminfo
it is available the OS version (the one with the built number, e.g 10.0.18362) that you may compare with a list similar to the above one, and the Original Install Date. I don’t know if for each major upgrade the Original Install Date value is updated (Remember that YYMM gives that number). At least as minimum you can reconstruct the first installed version on your machine.

A List [ 4
, R

   Windows 10 (1903)       10.0.18362
Windows 10 (1809)       10.0.17763
Windows 10 (1803)       10.0.17134
Windows 10 (1709)       10.0.16299
Windows 10 (1703)       10.0.15063
Windows 10 (1607)       10.0.14393
Windows 10 (1511)       10.0.10586
Windows 10              10.0.10240  

Windows 8.1 (Update 1)  6.3.9600
Windows 8.1             6.3.9200
Windows 8               6.2.9200

Windows 7 SP1           6.1.7601
Windows 7               6.1.7600

Windows Vista SP2       6.0.6002
Windows Vista SP1       6.0.6001
Windows Vista           6.0.6000

Windows XP2             5.1.26003

If I want to check whether Windows is activated, but I can’t be bothered to dive into the menu system or am on a version of Windows without Desktop Experience (such as Server Core), how can I check the activation status using only the command line?

asked Apr 6, 2019 at 23:19

Earl Sven's user avatar

A purely PowerShell solution would be:

   Get-CimInstance SoftwareLicensingProduct -Filter "Name like 'Windows%'" | 
where { $_.PartialProductKey } | select Description, LicenseStatus

This will give you an output like this:

   Description                                 LicenseStatus
-----------                                 -------------
Windows(R) Operating System, OEM_DM channel             1

if LicenseStatus is 1, it means that the system is permanently activated.

Good thing about this is, that you can easily check RemoteMachines, by specifying the -ComputerName

   Get-CimInstance SoftwareLicensingProduct -Filter "Name like 'Windows%'" -ComputerName RemoteComp | 
where { $_.PartialProductKey } | select Description, LicenseStatus

Though I gotta say that slmgr /xpr
is faster and also clearer.

answered Apr 8, 2019 at 6:29

SimonS's user avatar

5 gold badges
28 silver badges
48 bronze badges

   slmgr /xpr

a dialog is shown indicating the operating system’s activation status. If the operating system is not yet activated, the dialog will indicate it is in ‘Notification mode’

Command Prompt with open dialog indicating Windows is in Notification Mode.

If Windows is succesfully activated, the dialog will indicate is is either ‘Permanently Activated’ as shown below, or if using a time-limited volume license activation the time the activation is due to expire will be shown.

Command Prompt with open dialog indicating Windows is permantently activated.

On older versions of Windows (such as Windows 7) the message dialogs will be similar but may have slightly differing text.

This method could also be useful to check the activation status during the out-of-box experience (OOBE) wizard by using Shift + F10 to launch a command prompt, before completing the wizard.

answered Apr 6, 2019 at 23:19

Earl Sven's user avatar

Earl Sven

2 gold badges
7 silver badges
17 bronze badges

You can also do

   SELECT LicenseStatus FROM SoftwareLicensingProduct

as a WMI query, where values are:


Reddy Lutonadio's user avatar

answered May 7, 2020 at 11:00

Shlomi Malul's user avatar

  • To avoid the popup and
  • store the windows version/activation status in a variable
  • use cscript
    to run slmgr.vbs
    and wrap it in a batch file
  • parse output with a for /f

   :: Q:\Test\2019\04\07\SU_1422368.cmd
@Echo off&SetLocal EnableExtensions EnableDelayedExpansion
Set "WinVerAct="

For /f "tokens=*" %%W in ('
    cscript /Nologo "C:\Windows\System32\slmgr.vbs" /xpr
') Do Set "WinVerAct=!WinVerAct! %%W"
if Not defined WinVerAct ( 
    Echo:No response from slmgr.vbs
    Exit /B 1
Echo Windows Version Activation Status:
   > Q:\Test\2019\04\07\SU_1422368.cmd
Windows Version Activation Status:
"Windows(R), Professional edition: Der Computer ist dauerhaft aktiviert."

A single line PowerShell script wrapping slmgr.vbs:

   $WinVerAct = (cscript /Nologo "C:\Windows\System32\slmgr.vbs" /xpr) -join ''

answered Apr 7, 2019 at 17:33

LotPings's user avatar

1 gold badge
15 silver badges
29 bronze badges

The Build Number, Version, “Bit”ness (32-bit or 64-bit) of your Windows installation can be determined using many ways, and here are some of the methods listed.  Screenshots are from a Windows 10 PC, but most of the information applies to all versions of Windows, including Windows 11.

System Settings App

On Windows 10/11, use the System Settings app to find the OS information. Click Start, type About your PC
. Click About your PC
from the results.

find windows 10 version build bitness settings system

System – Control Panel


find windows 10 version build bitness system

Using the DirectX Diagnostic Tool

find windows 10 version build bitness dxdiag

Using WMIC (WMI command-line tool)

Open a Command Prompt window and type:

  wmic os get BuildNumber  

find windows 10 version build bitness wmic

The WMIC command-line (mentioning “OSArchitecture”) tells you the bitness of your Windows. You can get as many details as you need using WMIC OS Get command, such as:

  wmic os get Caption, Version, BuildNumber, OSArchitecture  

Here is a complete list of fields
you can retrieve using WMIC OS Get (which uses the Win32_OperatingSystem class)

System Information Utility

The System Information utility (MSInfo32.exe) has the details you need.

find windows 10 version build bitness msinfo32

Scroll down and check the Hardware Abstraction Layer field. It also shows the full build number, including the minor build number.

find windows 10 version build bitness msinfo32

About Windows (WinVer)

find windows 10 version build bitness winver

Alternately, in Command Prompt, run the ver.exe
command to know the OS build number.

ver.exe get os version

Watermark on the Desktop

If you’ve added the PaintDesktopVersion
or the DisplayVersion
registry values as in the article Display Build Info, Version and WinDir Path in the Desktop
, you’ll see the Windows Edition, Build Information, and WinDir path in the desktop shown as a watermark. For evaluation versions of Windows, the watermark displays by default.

find windows 10 version build bitness paintdesktopversion

Using SystemInfo.exe Command-line tool

Open a Command Prompt window and type in:


find windows 10 version build bitness systeminfo

The SystemInfo
command outputs more information than you need. To get the OS Name and OS Version fields from the output, type this in the Command Prompt window:

  systeminfo | findstr /b /c:"OS Name" /c:"OS Version"  

The findstr
command will parse the output and display only the two lines (OS name and version.)

find windows 10 version build bitness systeminfo

Windows 10/11 Build/Version Upgrade History

Did you know that Windows 10 keeps track of your every build/feature upgrade in the registry? Redditor u/sizzlr
has found an interesting registry location and wrote a PowerShell script to unscramble the Windows 10 build installation dates from the registry.

Every time you install a feature update, Windows 10/11 creates a new subkey named “Source OS (Updated on )” and a bunch of values in the right pane. The registry key is located at:


How to check Windows version in just 2 steps?

  $AllBuilds = $(gci "HKLM:\System\Setup" | ? {$_. Name -match "\\Source\s"}) | % { $_ | Select @{n="UpdateTime";e={if ($_. Name -match "Updated\son\s(\d{1,2}\/\d{1,2}\/\d{4}\s\d{2}:\d{2}:\d{2})\)$") {[dateTime]::Parse($Matches[1],([Globalization. CultureInfo]::CreateSpecificCulture('en-US')))}}}, @{n="ReleaseID";e={$_. GetValue("ReleaseID")}},@{n="Branch";e={$_. GetValue("BuildBranch")}},@{n="Build";e={$_. GetValue("CurrentBuild")}},@{n="ProductName";e={$_. GetValue("ProductName")}},@{n="InstallTime";e={[datetime]::FromFileTime($_. GetValue("InstallTime"))}} };

$AllBuilds | Sort UpdateTime | ft UpdateTime, ReleaseID, Branch, Build, ProductName

How to check Windows version in just 2 steps?

Do you know any other methods to find the Windows build, OS version, and bitness? Let’s know in the Comments section below.

One small request: If you liked this post, please share this?

  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!

So thank you so much for your support. It won’t take more than 10 seconds of your time. The share buttons are right below. 🙂

✅How to Find OS version with Command Line for Linux?

Step 1: Open the terminal application

Open the terminal application ( Linux bash shell
) for how to check Linux version command.


 For remote server login using the ssh: 

  ssh user@server-name  

Step 2: Type below commands 

Type any one of the below commands to see how to check Linux version command to find the version and name:

  cat /etc/os-releaselsb_release –ahostnamectl  
  uname –r  
find os version with command line

Linux Hosting Simplified

Linux Hosting Simplified

:/>  Программы для улучшения звука микрофона

Want a better way to host your websites and web apps? Developing something new? Simply don’t like Windows? That’s why we have Linux VPS.

Get your Linux VPS

How to fix corrupted hard drive using CMD?

Then, type the command (“ chkdsk g: /f
”) and press Enter to start the error checking and fixing process for your corrupted drive: 

Chkdsk Disk Error

: the g: is the drive letter of the damaged hard drive, the f means fixing errors on the disk.

You can add more parameters to the command to make the scan process more rigorous.

chkdsk g: /f /r /x
”: /x locates bad sectors and recovers readable information. /r forces the volume to dismount before the scan if required.

Chkdsk Check Error

Older Windows versions

Every outdated version of Windows can still run CHKDSK — even Windows XP. The blue screen of death has been with Windows since time immemorial, but so have disk scans and methods for fixing the blue screen of death
. The CHKDSK parameters will work the same on all versions.

Scanning and fixing hard drive issues with CHKDSK can help you avoid the blue screen of death.
The dreaded blue screen of death.

In any version of Windows, the Command Prompt and the commands to use are the same, whether you’re trying CHKDSK on Windows 7 or XP. Use chkdsk /f
for reviewing and fixing structural integrity, and chkdsk /r
for finding and fixing bad sectors.

  • In Windows XP
    , you can access Command Prompt by clicking Start
    , then Run
    , and typing cmd

  • In Windows Vista and Windows 7
    , type cmd
    in the Start menu search bar. You can run CHKDSK in Windows 7 or Vista just as you would in Windows 10.

  • In Windows 8
    , you may need to press the Windows key + C
    to open the Charms bar, and then Search
    . Type cmd

Once you’re in, refer to the earlier instructions for running CHKDSK from the Command Prompt
. You don’t need to wonder how to check your disk, because it’s the same in any command prompt. Windows 7 check disk will look and work the same as it does on Windows 10.

If you’ve started up an old computer and see a black screen, don’t worry. You may be able to fix a black screen on Windows startup
and make your computer usable again. Look up other ways to revive an old PC
, too.

Older computers can be riddled with issues like junk files
or broken shortcuts
— you can use a dedicated PC cleaner tool
to help you tidy up your machine. Or, you might also want to physically clean your PC
— just don’t do both at the same time.

You may be wondering if you can use Scan Disk in Windows 10. The ScanDisk command isn’t in use anymore, and it’s been replaced by CHKDSK.

Keep your PC performing its best with AVG TuneUp

You can ensure that your current computer functions properly for years with proper PC maintenance
. Even better, you don’t have to do anything different — you just have to download one program that does it all for you.

AVG TuneUp
schedules regular maintenance to clear out the stuff that commonly bogs down your PC. It uninstalls what you don’t need, cleans up the files that aren’t being used anymore, and automatically updates your programs. The result is a computer that runs faster than ever. Try AVG TuneUp for free right now.

CHKDSK Troubleshooting

Here are some common issues that people struggle with before CHKDSK can run a disk scan.

Volume is in use or read-only

CHKDSK can’t run on any drives currently being used by Windows. Your drive needs to be inactive before CHKDSK can make any changes. Windows runs all sorts of services, including Service Host Superfetch
, that keep a hard drive occupied.

  • Cannot continue in read-only mode.

  • Volume is in use by another process.

  • Cannot lock current drive.

All these errors mean that the drive is currently busy. You might have a photo open, for example, and you simply need to close the program so the volume is no longer in use.

Check if you have a file open

Use your Task Manager to see if there’s anything you can close. Maybe then you can run the Windows disk check.

A screenshot of task manager, where there might be a program using a file on the external harddrive.

Use Safe Mode

Another possibility is that Windows is using your drive. You can get around this by agreeing to schedule CHKDSK so it runs on the next startup. If you see this prompt and want to check your disk the next time you start up, type Y

Command prompt showing the error message that the volume is in use by another process, and asking the user is they'd like to schedule this volume to be checked the next time the system restarts.
If you’ve restarted but still can’t run CHKDSK, go to Advanced Options
in Safe Mode. Repeatedly tap F8 at Startup to access these options.

  1. Go to Settings
    and select Update & Security Options

    A screenshot of Windows 10's settings window. Update & Security is circled.

  2. The menu for Update & Security in Windows Settings. "Recovery" is circled.

  3. Click Restart now
    under Advanced Startup.

    The "Recovery" options in Windows 10 settings. Under Advanced Startup, the "Restart now" button is circled.

You will now go straight to the Advanced Startup options, where you can run the Command Prompt and execute CHKDSK in cmd on the Windows drive without issue.

One way to avoid these obstacles is to use an all-in-one maintenance program. AVG TuneUp
knows the right time to scan your hard drive with CHKDSK, so you don’t have to bother with advanced settings. It also covers everything from clearing the browser cache to deleting junk files.

Enjoy a continually optimized PC without spending any time on it yourself. Try AVG TuneUp today.

What to do when CHKDSK is frozen

  1. Backup all or your most important data to an external drive, because this can be a clear sign that your hard drive is failing.

  2. Defrag your hard drive
    by typing “defrag” into the taskbar and running Defragment and Optimize Drives

  3. Try running Disk Cleanup. Type “disk cleanup” in the taskbar and run Disk Cleanup

If these steps don’t work, try repairing Windows with another Windows installation media.

If you’ve tried everything else and still didn’t manage to run a successful scan, you could try formatting the hard drive
. To avoid complete disk failure and data loss, we highly recommend that you upgrade to a new HDD or SSD
and back up any important data.

“Windows found errors on this drive that need to be repaired”

This error message means that CHKDSK has found something that needs fixing. First, make sure you understand what chkdsk /r

, and bear in mind that there is some risk of losing important files when running a repair scan. Then, run chkdsk /r using Command Prompt


How to change a scheduled disk check

CHKDSK runs automatically on some versions of Windows, which can be an inconvenience ― especially if you’re already struggling with a slow computer. And the process only gets longer and slower as hardware ages. Here’s how to change a scheduled disk check:

  1.  "cmd" has been typed into the taskbar, and Command Prompt is shown, with Run as administrator circled.

  2. Command Prompt is shown, and "chkntfs /t:000" is typed in.

✅Find OS version with Command Line in CentOS/Ubuntu

Step 1:
 Using cat-release commands

The previously explained commands can also apply to  CentOS
 and  Ubuntu

  cat /ets/os-release  

When you run the command to check Linux version, the output will reveal the name of your operating system. Not only this but it will reveal the major release version and other specifications as well. Here is a pictorial representation of how things will work here when you check Linux version ubuntu.

find centos version
  cat /etc/centos-release  
  • Major release number
  • Minor release number
  • Asynchronous release number
get linux version

Step 2: Using hostnamectl command

As mentioned before, you can also use “hostnamectl” instead of the other commands for the Linux version command line. We will also describe an example using hostnamectl. “hostnamectl” can query and change the hostname and other related settings for getting Linux version command line.

current linux version

The Ultimate Minimal Server

The Ultimate Minimal Server

Get CentOS 7 or CentOS 8 on your Cloudzy CentOS VPS and run an efficient Linux-based server with minimal resource consumption.

Get a CentOS VPS

CHKDSK commands

You can choose different CHKDSK parameters to pinpoint specific problems. The chkdsk
command will search the disk drive for issues, but it won’t fix any of them. If your results tell you that “No further action is required,” you won’t need to use any other commands this time.

Here’s an overview of the CHKDSK commands:

  • chkdsk
    cross-references the directory of files with the file system to verify that they match. It’s just a diagnostic and doesn’t try to fix anything.

  • chkdsk /f
    fixes any structural issues with the file system and directory, correcting inconsistencies between the two.

  • chkdsk /r
    searches for corrupted parts of the physical hard drive (while also running chkdsk /f) and tries to recover the data there to put it in a part of the drive that isn’t damaged.

  • chkdsk /x
    dismounts a drive so that it can be checked and fixed. Running this command also runs /f.

  • chkdsk /v
    shows the path and name of all files while running a check.

The drive with Windows on it (usually C) will ask you to restart before CHKDSK can run. Choose Y
to continue. Windows will run CHKDSK right after it’s restarted.

Image of command prompt with the appropriate command for running CHKDSK on the D drive. "chkdsk D: /f"

What does chkdsk /r do?

Chkdsk /r finds and attempts to repair corrupted portions of your hard drive.
It automatically runs chkdsk /f as part of this process to correct errors on your disk as well. This means that you don’t have to run the command chkdsk /f /r.

Chkdsk /r is one of the most valuable check disk commands, because it can alert you to parts of your hard drive that are starting to malfunction. This can serve as a reminder to back up important files so you don’t lose them to hard drive failure.

Before running chkdsk /r, you should backup any valuable files to another storage drive, as they may get deleted after the process completes. There’s a small chance that if these files are located near a bad sector, chkdsk /r will identify them as corrupted and get rid of them.

Chkdsk /r is not meant to be a data recovery
utility, and it sometimes doesn’t recover corrupted files properly. The safest method for data recovery is to use a previously created backup, or to ask an expert before executing chkdsk /r.

If you’re wondering whether to do chkdsk /f or /r, you find out much more information doing /r.

What does chkdsk /f do?

Chkdsk /f performs a whole disk check and rewrites the directory of folders to match what’s actually on the drive.
This is important because if Windows tries to access an important system file and it isn’t there, it can lead to a blue or black screen of death or cause other glitches and crashes.

A computer hard drive can be thought of a bit like a book, except the information stored within it is constantly being added, updated, moved, and deleted. So the chkdsk /f function ensures that your disk’s “table of contents” lists all the right “chapters,” that every “chapter” has an entry, and that all entries point to the correct “page numbers.”

CHKDSK commands glossary

Want to know how to run check disk in even more ways? Here are some other commands you can use when performing a disk check in Command Prompt:

  • chkdsk
    – Checks for issues on the default drive and file system without fixing or repairing.

  • /f
    – The “f” stands for “fix,” and here it means fixing the file system information so that it directs you to the right files.

  • /r
    – The “r” stands for “repair.” /r finds corrupted parts of the hard drive and attempts to recover the files that were stored there.

  • /x
    – Dismounts the drive before running CHKDSK, which may be necessary to get it to run.

  • /f /r /x
    – Runs the /f and /r commands on a dismounted drive.

  • /scan
    – Scans the disk without dismounting it (only possible with NTFS).

  • /b
    – Resets the list of bad clusters (damaged parts of the disk) and re-scans for the same.

  • /v
    – Checks the disk, but displays the names of the files as it’s doing so.

  • /i
    – A quicker and less thorough scan, where index entries are skimmed rather than checked deeply.

  • /c
    – Another type of superficial scan, which doesn’t check cycles in folders.

What is CHKDSK?

CHKDSK (check disk) is a Windows utility designed to scan for and repair system errors. It checks whether a file’s size, location, and other system information matches the data that’s actually on the disk. C HKDSK also looks for parts of the hard drive that may corrupt your data.

CHKDSK lets you check a hard drive for errors in Windows 10 or 11, specifically the kind of errors that arise when files aren’t where they’re supposed to be. Hard drive problems are one reason why PCs get slower over time

If you think your computer’s performance is lagging, test your PC’s battery life
. And get rid of unnecessary apps on your PC
to help it run faster, smoother, and longer.

How long does CHKDSK take?

CHKDSK can take between 20 minutes and several hours to complete, depending on the age and capacity of your hardware. Bear in mind that your computer will run slowly while CHKDSK is working. If possible, let the CHKDSK scan finish before resuming other processes.

If it fails to complete, try canceling the scan and
running CHKDSK again. But repeated failure to complete is a sign that something may be seriously wrong. If so, you’ll likely need to work through the steps for repairing a drive in Windows 10
or troubleshooting CHKDSK

Accessing the About Windows Box

  1. Launch the Run dialog box by pressing Windows Key+R on your keyboard.
  2. Once the Run dialog box is open, type winver
    , then click OK.
  3. The About Windows box will pop up. On the second line, you will see the OS build and version for your Windows. The fourth line tells you the edition of your operating system.

Looking at the System Information

  1. Launch the Run dialog box by pressing Windows Key+R on your keyboard.
  2. Inside the Run dialog box, type “msinfo32.exe” (no quotes), then hit Enter.
  3. You will see the System Information window. It will contain the details about your Windows operating system.

Fix damaged hard drive more easily

If you think the process of how to fix corrupted hard drive using CMD (running CHKDSK.exe) is a little complicated, or you encounter “ CHKDSK is not available for RAW drives
” error message during the repairing process, you can turn to AOMEI Partition Assistant Standard
, which can support Windows 11/10/8.1/8/7, XP and Vista. It provides you with three different ways to repair damaged hard drive. Free download
it and have a try now.

1. Check Partition for errors

Step1. Install and run AOMEI Partition Assistant. Right-click the partition you want to check and select “Advanced”> “Check Partition”.

Check The C Partition

Step 2. In the pop-out window, you have three options available, check and fix error by using chkdsk.exe, check error only using chkdsk.exe, and find bad sectors. Choose one according to your needs and click “OK”. Then wait for the process to complete.

Check Partition And Fix Errors

Besides, you can also right-click the disk you want to scan and select the “ Surface Test
” to check disk error.

If checking and repairing disk/partition by chkdsk.exe fails, then you can consider the option of rebuilding the MBR of the damaged hard drive. Luckily, AOMEI Partition Assistant could also perform this task.

2. Rebuild MBR of corrupted hard drive

Step 1. Open AOMEI Partition Assistant, right-click the corrupted disk and select “Rebuild MBR”.

Rebuild Data Disk Mbr

Step 2. Select a proper MBR type for your current operating system and click “OK”.

Choose Mbr Type

Step 3. In the main interface, click “Apply” on the top left corner to commit the pending operation.

Then, you can check whether the corrupted hard drive can be used normally again. If not, you can try to reformat it via this software.

3. Reformat the corrupted hard drive

Step 1. In the main interface of AOMEI Partition Assistant, right-click any partition of the corrupted disk and select “Format Partition”.

Format Partitoin

Step 2. Select a file system (ex: FAT32) and click “OK”.

Fat32 128gb Usb

Step 3. Click “Apply” to start formatting the partition.


Using Command Prompt

  1. Press Windows Key+R to launch the Run dialog box.
  2. Type “cmd” (no quotes), then click OK. This should open Command Prompt.
  3. The first line you see
    inside Command Prompt is your Windows OS version.
  4. If you want to know the build type of your operating system, run the line below:

Do you have other Windows-related woes you want to resolve?

Ask questions in the comments section below!

Do you like this post?

Causes and symptoms of corrupted hard drive

    Why the hard drive gets corrupted or crashed? Below are some main causes.

  • ▶Black screen appears after the system booting screen.

    No bootable device found
    , computer cannot boot successfully.

    ▶Clicking or grinding sound from hard drive – it is going to die soon, or won’t boot already

    ▶It takes a much longer time for accessing files and folders. Or the files and folders become invisible and corrupt.

    ▶The type of file system is raw, CHKDSK is not available for RAW drives.

    ▶“X:\ is not accessible. The file or directory is corrupted and unreadable

    Why do I need to use CHKDSK?

    You need to use CHKDSK when a boot error occurs
    . Corrupted data can break Windows, and CHKDSK can find those bad files and let Windows install a fresh copy in a new location. You can also use CHKDSK to prevent data loss.

    What does CHKDSK do? It monitors the long-term health of your data storage device. Disk repair in Windows 10 is essential to keep your computer working smoothly for many years.

    How does data go missing or get corrupted in Windows?

    Ruined parts of a hard drive are called bad sectors
    , and CHKDSK can detect them with a disk scan. C HKDSK will then attempt to fix the bad sectors so they’re usable again, potentially recovering the data in the process.

    A mockup of a hard drive, showing scattered red segments representing bad sectors and the order that results after running a CHKDSK scan in Windows.
    A disk with red segments representing bad sectors (above) and an organized disk (below).

    Here are the ways data can get corrupted:

    • Hard bad sectors
      occur when the media is physically damaged, like when a speck of dust lands on the disk or the read/write head makes contact and ruins the surface.

    How to prevent corrupted data

    An increasing number of bad sectors means your hard drive is about to fail. Back up your data immediately to avoid losing it, and get a new hard drive. In the meantime, run CHKDSK regularly to keep your PC running as fast and smoothly as possible
    , and tune up Windows 10 when you can.

    Don’t have time to mess with multiple apps to keep your computer in good shape? Want to use a tool that you can set and forget? AVG TuneUp
    automatically clears out all the stuff that builds up behind the scenes like traces from your browsing history, old downloaded files, and more. Give AVG a spin today.

    ✅How to Find OS version with Command Line for Windows?


    find os version in windows with command

    However, you usually require other pieces of important info as well, such as the service pack number.

    Windows 10 VPS Hosting

    Windows 10 VPS Hosting

    Get yourself an efficient Windows 10 VPS for remote desktop, at the cheapest price out there. F REE Windows 10 running on NVMe SSD storage and high-speed internet.

    Check Out Windows 10 VPS Plans

    ” does not show the service pack number when you find Windows 10 version, so we use the “

    ” command to check windows 10 version command line. But “

    ” dumps a lot of other information too when you check windows 10 version command line, which we can filter out using the “

    Step 1: Run dialog box

    Press Windows Key+R to launch the Run dialog box.

    open launch section

    Step 2: Go to command prompt

    Type “cmd” (without the quotations), then click OK. This should open Command Prompt.

    The first line you see inside Command Prompt is your Windows OS version. If you want to know more information about your operating system,

      systeminfo | findstr /B /C: "OS Name" /C:"OS Version"  
    find windows version

    This command also works on

    • as well as Server editions. Image of command prompt with the appropriate command for running CHKDSK on the D drive. "chkdsk D: /f"

      For Windows 7.

      For Windows 7:


      The output would be slightly different for Windows 7 SP1:

      If you do want to print more details, then you can simply use ‘OS’ in the “

      ” search pattern. The example below is for Server 2008. Note that this command does not show the version on a Windows 7 system.

      find os version with command line in windows server

      Opening the System Properties Window

      You can also access the System Properties window to find out the version of Windows installed on your computer. The steps vary depending on the OS you have. Here are the instructions:

      Windows 10:

      1. On your keyboard, press Windows Key+S.
      2. Now, type “This PC” (no quotes).
      3. Right-click This PC from the results, then select Properties from the options.
      4. The System Properties window will pop up. Here, you will be able to see the basic details about your computer, including its OS type and edition.

      To get more information about your operating system, you need to open the Settings app. Here are the steps:

      1. Press Windows Key+I on your keyboard. This should launch the Settings app.
      2. Select System.
      3. Click About in the left-pane menu,
      4. Go to the right pane to see the version, edition, installation date, and build of your operating system.

      Windows 8.1:

      1. Press the Windows key on your keyboard.
      2. Inside the Search box, type “This PC” (no quotes).
      3. In the results, right-click This PC.
      4. Choose Properties from the menu.
      5. You will see the important details about your computer, including the edition and type of operating system you have.
      1. On your keyboard, press Windows Key, then type “PC Info” (no quotes).
      2. Select PC Info from the results.
      3. A new window will pop up. It will contain the information about your computer, including the activation status and edition of your Windows 8 OS.

      Windows 7:

      1. Go to your taskbar and click the Windows icon.
      2. Right-click Computer, then select Properties from the menu.
      3. You will see the service pack, edition and system type of your Windows 7 OS in the pop-up window.

      How to run CHKDSK in Windows 10

      There are multiple ways to run CHKDSK in Windows 10, even when your PC doesn’t seem to be working. If you have to repair your Windows 10 hard drive in an emergency, CHKDSK might be the answer.

      There are several ways to check your hard drive for errors in Windows 10. Here are three Windows 10 CHKDSK options you can try:

      Run CHKDSK from your computer

      You can use the check disk utility from within Windows, and it’ll scan your drive for errors. Here’s how to run CHKDSK in Windows 10:

      1. Type chkdsk
        in the search box in your taskbar.

        A picture of a taskbar with "check disk" typed in, and the user has right clicked the check disk application and is highlighting the option "Run as administrator."

      Run CHKDSK from Command Prompt

      Here’s how to use Command Prompt to check your disk:

      1. Type cmd
        (or command prompt) in the search box in your taskbar.

        A picture of a taskbar with "command prompt" typed in, and the user has right clicked the command prompt application and is highlighting the option "Run as administrator."

      2. A picture of the command prompt, with "chkdsk" typed into the input.

      3. Type chkdsk
        and hit Enter
        . This command will make the CHKDSK utility scan for problems without making changes.

        Type chkdsk and hit Enter to make the CHKDSK utility scan for problems without making changes.

      4. To run CHKDSK on a drive other than your C drive, specify the volume right after chkdsk
        . For example, check your D drive by typing chkdsk D: /f

        Type chkdsk /r
        to make CHKDSK repair corrupted files
        – but only if a problem was found. If there are no problems at this stage, you don’t need to do anything further.

        An example of results from running chkdsk. The results say that no problems were found.

      The best part about Command Prompt is that it’s been consistently used across all Windows operating systems. Whether your computer is brand-new or 20 years old, you can use the same commands, which is helpful when learning how to run chkdsk in Windows 10 or Windows 11.

      Run CHKDSK from the Windows 10 installation disk

      Your Windows 10 installation disk is a partition of your hard drive isolated from the rest of your data. If you can’t access your main hard drive, the installation disk will let you install a fresh version of Windows. It should be accessible as long as you can turn your computer on.

      If you can’t access your main drive, running CHKDSK from here might do the trick. Here’s how to run CHKDSK from your Windows 10 installation disk before boot:

      1. Turn on your computer and repeatedly tap F8
        before the Windows logo shows up.

      2. When prompted, click Repair Your Computer

      3. Click Troubleshoot
        and select Advanced Options

      4. Click Command Prompt
        . You can use this command prompt just the same as any other, and you can run CHKDSK on your Windows drive before it boots.

        A screenshot of the advanced options you can access when you boot from Windows 10 Installation disk.

      CHKDSK should identify and remove bad sectors or corrupted data so that your computer will work normally again.

      Now that you know how to run CHKDSK, you have a new tool to keep your computer and hard drive in tip-top shape. But what about other types of necessary maintenance?

      AVG TuneUp
      is a specialized maintenance and optimization tool that helps ensure your PC runs smoothly. No task is left behind, whether it’s clearing the cookies and cache from your browser or finding and rooting out corrupted data. Don’t bother poking around in Command Prompt — use an app to do it automatically.

      How to run CHKDSK on Windows 11

      If you’ve made the switch to Windows 11, one thing that hasn’t changed is how to do CHKDSK. Just as in previous versions of Windows, you can still use Command Prompt to run the scan, as well as the exact same parameters listed above.

      Here’s how to run CHKDSK in Windows 11:

      1. Type cmd
        in the taskbar and click Command Prompt

      2. Type the CHKDSK command of your choosing, for example, chkdsk /f
        , and then hit Enter

      To help keep things running smoothly, Windows 11 runs CHKDSK every so often automatically, but it may improve Windows 11 performance if you change the schedule

      If you’re thinking of upgrading to Windows 11 or to a new PC, be sure to check your computer specs
      carefully. When determining how powerful a computer you need
      , the answer usually depends on how you intend to use it.


      Now, you know how to fix corrupted hard drive using CMD step by step. If you want to repair the damaged hard drive in an easier way, AOMEI Partition Assistant is a great choice. Moreover, its Professional Edition
      comes with more advanced functions like securely erasing SSD
      , clone MBR hard drive to GPT, convert hard drive between MBR and GPT without deleting partitions, optimizing SSD performance by 4K alignment and more.

    • Оставьте комментарий