Windows 10: CMD commands checking system and files.

Discus and support CMD commands checking system and files. in Windows 10 Ask Insider to solve the problem; Good morning, I'm new to the community, my name is Jose and I wanted to share with you some CMD commands to check errors, know the Windows license,... Discussion in 'Windows 10 Ask Insider' started by /u/Local_Bad9364, Feb 21, 2025.

  1. CMD commands checking system and files.


    Good morning, I'm new to the community, my name is Jose and I wanted to share with you some CMD commands to check errors, know the Windows license, etc...

    CMD commands:

    This will scan for and restore corrupted system files.

    • When searching, type CMD.

    • Right-click Command Prompt > Open as administrator.

    Each command must be done one by one.

    DISM /Online /Cleanup-Image /CheckHealth

    DISM /Online /Cleanup-Image /ScanHealth

    DISM /Online /Cleanup-Image /RestoreHealth

    When you're done, type another command to start System File Checker.

    In the same command prompt window. Copy and paste this command:

    type sfc /scannow (note the space between "sfc" and "/") and press Enter. After you see a message that says "Verification 100% complete," type exit.

    CMD how much ram does my laptop support

    wmic memphysical get MaxCapacity, MemoryDevices.

    View the license from CMD

    wmic path softwarelicensingservice get OA3xOriginalProductKey

    How to use CHKDSK command?

    Type cmd (or command prompt) in the search box on the taskbar. Right-click Command Prompt and select Run as administrator. Type chkdsk and press the Enter key. This command will cause the CHKDSK utility to check for problems without making changes

    How to use CHKDSK command?

    Type cmd (or command prompt) in the search box on the taskbar. Right-click Command Prompt and select Run as administrator. Type chkdsk and press the Enter key. This command will cause the CHKDSK utility to check for problems without making changes

    How to enter the BIOS at boot?

    Turn on or restart your computer. While the screen is blank, press the f10 key to enter the BIOS setup menu. The BIOS setup menu can be accessed by pressing the f2 or f6 key on some computers.

    RAM memory diagnosis in Windows 10

    Mdsched. Mdsched: This command will display the Windows memory diagnostic window.

    Create shortcut Disk Manager Windows 10

    We right click on the desktop and then select the "New - Shortcut" option:

    In the pop-up window we enter "diskmgmt.msc":

    We click Next to assign the name and apply the changes:

    Windows utility designed to analyze and repair system errors

    CHKDSK

    All the commands you type will have elevation, and specifically for the one you want, you must type CHKDSK /F

    The correct syntax for the check disk command is chkdsk /f /r

    What is the difference between CHKDSK /F /R X?

    • CHKDSK /F: Check for disk errors, not bad sectors.

    • CHKDSK /R: Locates bad sectors on the target hard drive and attempts to recover readable information from bad sectors (implies /F).

    • CHKDSK /X: Forces the volume to be unmounted first, if necessary. It also includes /f functionality.

    Process to know the RAM memory of a PC from CMD

    wmic MemoryChip get BankLabel, Capacity, MemoryType, TypeDetail, Speed, Manufacturer

    I hope it helps you solve problems and know information about your computer and your operating system.

    All the best.

    submitted by /u/Local_Bad9364
    [link] [comments]

    :)
     
    /u/Local_Bad9364, Feb 21, 2025
    #1

  2. Windows and CMD- renaming a file in CMD

    Steps I've done

    Here what happens


    • turn on PC

    • start windows

    • get blue screen ( message NTFS file)

    • it reboots returns to diagnosing PC

    • Diagnose and repair fails

    • I move to advance options

    • will not reset windows , I click on CMD

    things I've tried
    commands:

    reagentc /disable

    reagentc /enable

    *************************FAILED
    not recognized
    **********************************

    Please advise


     
    RandallBrock, Feb 21, 2025
    #2
  3. file system error -1073545193

    Hello,

    Thank you for posting your concern in Microsoft Community and welcome to the Windows 10 Family.

    From the description provided, I understand that you are encountering the error message when you are trying to access any media file in the CD/DVD Drive of your computer.

    This issue may happen due to system file corruption. I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow
    the below given steps:


    • Press Windows key + X, select
      Command prompt (Admin) to bring up elevated Command prompt.

    • In Command prompt type
      sfc/scannow
      and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:


    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.

    • In command prompt, type the following commands and press Enter after each command:

      DISM.exe /Online /Cleanup-image /Scanhealth

      DISM.exe /Online /Cleanup-image /Restorehealth

    • Close the command prompt and restart the PC and check if it works.
    Hope the above information was helpful. If you need further information, feel free to write to us and we would be happy to assist you further.

    Thank You.
     
    Sayan_Ghosh, Feb 21, 2025
    #3
  4. CMD commands checking system and files.

    Windows 10 File system errors

    Hi,

    Thank you for posting on Microsoft Community. I understand the inconvenience you faced. I will certainly help you with this. . I appreciate if you could answer few questions to narrow down the issue and to provide
    you better assistance.


      • Did you made any system changes prior to this issue?
    Kindly follow the below given methods and check if issue is resolved.

    Method 1:

    This issue may occur due to some system file corruption.
    I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow the below given steps:

    • Press Windows key + X, select Command prompt (Admin) to bring up elevated Command prompt.
    • In Command prompt type sfc/scannow and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:

    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.
    • In command prompt, type the following commands and press Enter after each command:

      • DISM.exe /Online /Cleanup-image /Scanhealth

      • DISM.exe /Online /Cleanup-image /Restorehealth

    • Close the command prompt and restart the PC and check if it works.
    Method 2:

    If issue persist, I suggest you to create
    a new account by following the below given steps and check if everything works fine in new account:

    • Press Windows key + X key and select
      Control Panel.
    • Click on User accounts and Family Safety.
    • Click on User Account and then click on Manage Accounts.
    • Now click on Add a new user and follow the instructions.
    Sign-out from the current User account and sign in to new User account and check.

    Please post back with the results and the information asked, we will be glad to assist you further.

    Thank you.
     
    Parth P Patel, Feb 21, 2025
    #4
Thema:

CMD commands checking system and files.

Loading...
  1. CMD commands checking system and files. - Similar Threads - CMD commands checking

  2. Cmd command safe or not

    in Windows 10 Gaming
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  3. Cmd command safe or not

    in Windows 10 Updates and Activation
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  4. used cmd to check that if my system files are corrupt or not , it was actually corrupted....

    in Windows 10 BSOD Crashes and Debugging
    used cmd to check that if my system files are corrupt or not , it was actually corrupted....: used SFC /scannow ....cbs log:https://file.io/aoW6ANs3IkCT https://answers.microsoft.com/en-us/windows/forum/all/used-cmd-to-check-that-if-my-system-files-are/b9a19925-11b3-4d5c-a82f-4536b1f16e70
  5. Check disk at command prompt CMD

    in Windows 10 BSOD Crashes and Debugging
    Check disk at command prompt CMD: Hello,I also appealed to the Microsoft community where I also have a request to you, and those to ask you to give me all the useful check disk commands in the command prompt CMDThank you!Wait for response!A good day!...
  6. Check disk in command prompt CMD

    in Windows 10 BSOD Crashes and Debugging
    Check disk in command prompt CMD: Hello, I also appealed to the Microsoft community in which I also have a request to you, and those to ask you to give me all the useful command disk commands in command prompt CMD Thank you! Wait for response! A good day!...
  7. System file check

    in Windows 10 BSOD Crashes and Debugging
    System file check: Ran system file check. Verification stopped at 21%. Message: Windows Resource Protection could not perform the requested operation. Help please https://answers.microsoft.com/en-us/windows/forum/all/system-file-check/ed6b1fa7-6901-4c70-baf0-eee02176aa60
  8. System File Check

    in Windows 10 BSOD Crashes and Debugging
    System File Check: Did a system file check, on the advice of others, and this was the report Can anyone tell me what I ought to do now, because corrupt files were found? Or do I need to do anything?? All instructions sent to me need to be idiot proof. [ATTACH]...
  9. NET VIEW command in cmd System error 1231

    in Windows 10 Network and Sharing
    NET VIEW command in cmd System error 1231: Hello, I am not a networking or cmd expert but I wanted to use the command: NET VIEW but it shows: System error 1231 has occurred. The network location cannot be reached. For information about network troubleshooting, see Windows Help. How can I fix this ? Tried using...
  10. Affinity Command in CMD

    in Windows 10 Performance & Maintenance
    Affinity Command in CMD: In past Windows OS's , I was always able to change the CPU affinity with a simple line in a .bat file. Code: start /affinity # program.exe[/quote] # depends on which CPUs you want to run the program with. Now, in Windows 10, this command does not work. I've tried with...