Windows 10: Command Prompt Not Opening

  1.    04 Apr 2018 #1

    Command Prompt Not Opening


    Recently attempting to open Command prompt, ordinary or as administrator, it flashes for perhaps 2 seconds and then disappears. I tried the following commands
    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    But none of these seem to work, I'm wondering if there are any fixes for this issue
      My ComputerSystem Spec


  2. Posts : 20,958
    windows 10 professional version 1607 build 14393.969 64 bit
       04 Apr 2018 #2

    Open administrative powershell and type or copy and paste:
    1) sfc /scannow
    2) dism /online /cleanup-image /scanhealth
    3) dism /online /cleanup-image /restorehealth
    4) chkdsk /scan
    5) When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread
      My ComputerSystem Spec

  3.    06 Apr 2018 #3

    Hi,
    Using Powershell as admin write command : Repair-WindowsImage -Online -RestoreHealth and click on Enter
    If this doesn't help you can try another method:
    From Run, type winver and press enter
    If you on version 1709, try this: Repair Install Windows 10 with an In-place Upgrade Windows 10 Tutorials
    If you on version prior to version 1709, donwload the upgrade assistant: Download Windows 10
      My ComputerSystem Spec

  4.    06 Apr 2018 #4

    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.

    PS C:\WINDOWS\system32> sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.
    PS C:\WINDOWS\system32> dism /online /cleanup-image /scanhealth

    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15

    Image Version: 10.0.16299.334

    [==========================100.0%==========================] No component store corruption detected.
    The operation completed successfully.
    PS C:\WINDOWS\system32> dism /online /cleanup-image /restorehealth

    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15

    Image Version: 10.0.16299.334

    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.
    PS C:\WINDOWS\system32> chkdsk /scan
    The type of the file system is NTFS.

    Stage 1: Examining basic file system structure ...
    333312 file records processed.
    File verification completed.
    13924 large file records processed.
    0 bad file records processed.

    Stage 2: Examining file name linkage ...
    22132 reparse records processed.
    406088 index entries processed.
    Index verification completed.
    0 unindexed files scanned.
    0 unindexed files recovered to lost and found.
    22132 reparse records processed.

    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
    36389 data files processed.
    CHKDSK is verifying Usn Journal...
    37900504 USN bytes processed.
    Usn Journal verification completed.

    Windows has scanned the file system and found no problems.
    No further action is required.

    116640767 KB total disk space.
    39895664 KB in 163528 files.
    121820 KB in 36390 indexes.
    0 KB in bad sectors.
    446511 KB in use by the system.
    65536 KB occupied by the log file.
    76176772 KB available on disk.

    4096 bytes in each allocation unit.
    29160191 total allocation units on disk.
    19044193 allocation units available on disk.
    PS C:\WINDOWS\system32>
      My ComputerSystem Spec


  5. Posts : 20,958
    windows 10 professional version 1607 build 14393.969 64 bit
       06 Apr 2018 #5

    When you open administrative command prompt now how does it respond?
    What is/are the methods that you are using to open administrative command prompt?
      My ComputerSystem Spec

  6.    06 Apr 2018 #6

    I used MediaCreationTool update and nothing
    Look and video screen: Zippyshare.com - 20180406_1941_48.avi
      My ComputerSystem Spec


  7. Posts : 20,958
    windows 10 professional version 1607 build 14393.969 64 bit
       06 Apr 2018 #7

    Malwarebytes blocks opening the download to view the video.
    Please use one drive or drop box or google links so that there is less likely to have malware, PUPs, etc.
    Malwarebytes: Website blocked due to malvertising
      My ComputerSystem Spec

  8.    06 Apr 2018 #8

    https://drive.google.com/open?id=1CcDYT7YROUFGYP9_d7w3xA8BK0dt9vg7

    System not repair: C:/Windows/system32/logs/SrtTrail.txt

    Startup Repair diagnosis and repair log
    ---------------------------
    Last successful boot time: ‎06.‎04.‎2018 17:20:12 (GMT)
    Number of repair attempts: 2

    Session details
    ---------------------------
    System Disk = \Device\Harddisk0
    Windows directory = C:\WINDOWS
    AutoChk Run = 0
    Number of root causes = 1

    Test Performed:
    ---------------------------
    Name: Check for updates
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: System disk test
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Disk failure diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 125 ms

    Test Performed:
    ---------------------------
    Name: Disk metadata test
    Result: Completed successfully. Error code = 0x0
    Time taken = 63 ms

    Test Performed:
    ---------------------------
    Name: Disk metadata test
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Target OS test
    Result: Completed successfully. Error code = 0x0
    Time taken = 31 ms

    Test Performed:
    ---------------------------
    Name: Volume content check
    Result: Completed successfully. Error code = 0x0
    Time taken = 16 ms

    Test Performed:
    ---------------------------
    Name: Boot manager diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: System boot log diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Event log diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Internal state check
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Check for pending package install
    Result: Completed successfully. Error code = 0x0
    Time taken = 2406 ms

    Test Performed:
    ---------------------------
    Name: Boot status test
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Root cause found:
    ---------------------------
    Boot status indicates that the OS booted successfully.

    ---------------------------
    ---------------------------
    Session details
    ---------------------------
    System Disk = \Device\Harddisk0
    Windows directory = C:\WINDOWS
    AutoChk Run = 0
    Number of root causes = 1

    Test Performed:
    ---------------------------
    Name: Check for updates
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: System disk test
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Disk failure diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 125 ms

    Test Performed:
    ---------------------------
    Name: Disk metadata test
    Result: Completed successfully. Error code = 0x0
    Time taken = 2235 ms

    Test Performed:
    ---------------------------
    Name: Disk metadata test
    Result: Completed successfully. Error code = 0x0
    Time taken = 15 ms

    Test Performed:
    ---------------------------
    Name: Target OS test
    Result: Completed successfully. Error code = 0x0
    Time taken = 16 ms

    Test Performed:
    ---------------------------
    Name: Volume content check
    Result: Completed successfully. Error code = 0x0
    Time taken = 203 ms

    Test Performed:
    ---------------------------
    Name: Boot manager diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: System boot log diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Event log diagnosis
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Internal state check
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: Check for pending package install
    Result: Completed successfully. Error code = 0x0
    Time taken = 2656 ms

    Test Performed:
    ---------------------------
    Name: Boot status test
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Root cause found:
    ---------------------------
    Boot status indicates that the OS booted successfully.
    Last edited by Detonate; 06 Apr 2018 at 12:58.
      My ComputerSystem Spec

  9.    07 Apr 2018 #9

    Nothing no work. Back-up old restored. Problem gone!
      My ComputerSystem Spec


  10. Posts : 20,958
    windows 10 professional version 1607 build 14393.969 64 bit
       07 Apr 2018 #10

    It's good to have a backup.
    Glad that it got sorted out.
      My ComputerSystem Spec


 

Related Threads
Unknowingly I fired the clean command in repair pc CMD while installing Windows 10. Please help to get all partitions? Problem: How to get back old partitions? Error Made: Unknowingly I fired the clean command in repair pc CMD, while installing...
Unknowingly I fired the clean command in repair pc CMD while installing Windows 10. Please help to get all partitions? Problem: How to get back old partitions? Error Made: Unknowingly I fired the clean command in repair pc CMD, while installing...
I have read everything I can find on Error messages regarding looping of Preparing to Repair. I can not open my computer to Windows...it never loads. I started experiencing problems a while ago. Finally, I would be able to get on line, but only...
The Update process for new Windows 10 builds has shown evolutionary changes over the past two years as part of the Insider Preview Programme. One noticeable change has been that the ability, by default, to observe behind the scenes events by...
Command Prompt? in General Support
Guys, I'm going to try one last time. The error code I received told to me to empty files and then "Run the command prompt as an administrator"?? Then, type wuauclt.exe/update now??......I don't know what run the command prompt means. I have no...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:58.
Find Us