Windows 10: Why does running "defrag c:" in an admin shell no longer work?

Discus and support Why does running "defrag c:" in an admin shell no longer work? in Windows 10 Ask Insider to solve the problem; It returns instantly without doing anything. I have to run Microsoft's attempt at an SQL server that they bought from Sybase that has problems with... Discussion in 'Windows 10 Ask Insider' started by /u/KayneGirl, Mar 24, 2021.

  1. Why does running "defrag c:" in an admin shell no longer work?


    It returns instantly without doing anything. I have to run Microsoft's attempt at an SQL server that they bought from Sybase that has problems with NTFS that returns the "too many fragments" error so it can't even start it.

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

    :)
     
    /u/KayneGirl, Mar 24, 2021
    #1
  2. Kem Mon Win User

    Defragment and Optimize Drives Problem

    Hi Edward,

    Based on the details you have provided, your C drive was unrecognized by the system. We suggest that you run these
    commands and see if there are any changes:


    • Open
      Command Prompt
      as
      Administrator.

    • Run
      the following commands:

      • To fix any logical file errors:

        • Chkdsk C: /f /r


      • To defrag your Drive C manually:

        • Defrag C: /D /U

    Update us on how it goes.

    Regards.
     
    Kem Mon, Mar 24, 2021
    #2
  3. defragment and optimise drives not working in windows 10 home

    Here a temporary solution I used for the same problem.

    • Run the Command Prompt in Administrator mode
    • type "defrag" (no quotes) to generate the help info
    • choose a combination of switches to suit your ends
    • run defrag
    • Boil the kettle Why does running "defrag c:" in an admin shell no longer work? :)
    I used "defrag c: /u /v /h" (no quotes) which worked fine on my c drive. make sure there are spaces between the switches. "defrag C: /u/v/h" won't work.

    The option to defrag all volumes "defrag /c" did not work for some reason. Also I could not find the way to do a in-depth defrag that works on larger file sizes. I couldn't find a way to run defrag at boot time either, which would have been ideal.
     
    Spudgunner, Mar 24, 2021
    #3
  4. Bree Win User

    Why does running "defrag c:" in an admin shell no longer work?

    running DOS as ADMIN

    I suggested that in post #4 but @bromberg doesn't seem to have tried it yet...
     
Thema:

Why does running "defrag c:" in an admin shell no longer work?

Loading...
  1. Why does running "defrag c:" in an admin shell no longer work? - Similar Threads - Why does running

  2. cannot open Power Shell or Power Shell admin ?

    in Windows 10 Gaming
    cannot open Power Shell or Power Shell admin ?: cannot open Power Shell or Power Shell admin ? on Windows 10 and My Dreamweaver 8 now doesnt work since the last windows update Nov 2024 https://answers.microsoft.com/en-us/windows/forum/all/cannot-open-power-shell-or-power-shell-admin/8d77da8f-a6f6-4a58-bc8f-65cffe906c52
  3. cannot open Power Shell or Power Shell admin ?

    in Windows 10 Software and Apps
    cannot open Power Shell or Power Shell admin ?: cannot open Power Shell or Power Shell admin ? on Windows 10 and My Dreamweaver 8 now doesnt work since the last windows update Nov 2024 https://answers.microsoft.com/en-us/windows/forum/all/cannot-open-power-shell-or-power-shell-admin/8d77da8f-a6f6-4a58-bc8f-65cffe906c52
  4. cannot open Power Shell or Power Shell admin ?

    in Windows 10 BSOD Crashes and Debugging
    cannot open Power Shell or Power Shell admin ?: cannot open Power Shell or Power Shell admin ? on Windows 10 and My Dreamweaver 8 now doesnt work since the last windows update Nov 2024 https://answers.microsoft.com/en-us/windows/forum/all/cannot-open-power-shell-or-power-shell-admin/8d77da8f-a6f6-4a58-bc8f-65cffe906c52
  5. Defrag runs constantly

    in Windows 10 Gaming
    Defrag runs constantly: Win10 64. Defrag runs constantly, grinding away at my hard drives for no reason. The both drives are 0% fragmented, except for system reserved files which are 40% fragmented and defrag will not touch them. The Defrag is OFF, how do I stop the system running defrag every time...
  6. Defrag runs constantly

    in Windows 10 BSOD Crashes and Debugging
    Defrag runs constantly: Win10 64. Defrag runs constantly, grinding away at my hard drives for no reason. The both drives are 0% fragmented, except for system reserved files which are 40% fragmented and defrag will not touch them. The Defrag is OFF, how do I stop the system running defrag every time...
  7. Defrag runs constantly

    in Windows 10 Software and Apps
    Defrag runs constantly: Win10 64. Defrag runs constantly, grinding away at my hard drives for no reason. The both drives are 0% fragmented, except for system reserved files which are 40% fragmented and defrag will not touch them. The Defrag is OFF, how do I stop the system running defrag every time...
  8. Defrag not working

    in Windows 10 Customization
    Defrag not working: I have a Windows 10 Desktop personal computer. When I go to the start button, Windows Administrative Tools, then click on Defrag nothing happens. The disk cleanup works but the defrag just goes away. What's up?...
  9. A shell command? How does that work?

    in Windows 10 Software and Apps
    A shell command? How does that work?: DaveM121 showed (https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_tools/solvedhow-can-i-run-timeexe-from-a-command-prompt/06ae47c8-47b7-4207-9c34-26b3d714b6d2) that, if I want to run this: "C:\Program...
  10. Defragment and Optimize C drive

    in Windows 10 Performance & Maintenance
    Defragment and Optimize C drive: I can not get my C drive to optimize. It stays stuck on 6%. I have tried it 5 times and still will not go to O% optimized. [img] 104256