zoukankan      html  css  js  c++  java
  • [转载]DriverStore文件夹特别大,能删除吗?

    [转载]DriverStore文件夹特别大,能删除吗?

     

    转自博客园https://www.cnblogs.com/lovebing/p/6951833.html 这篇文章,清理完C盘多了20G!不要太爽!

     

    DriverStore文件夹特别大,能删除吗?

     

    DriverStoreFileRepository文件夹特别大,能删除吗?

    C:WindowsSystem32DriverStoreFileRepository文件夹特别大,怎么办?

    DriverStoreFileRepository文件夹特别大

    FileRepository文件夹特别大

     

    最近准备备份系统,发现C盘超大,用TreeSizeFree分析了一下。

    发现了这个超过18G的文件夹!!!

     Answer

    1. run elevated command prompt (cmd with administrator rights): type

    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

    freed about 100-200Mb

    2. delete files in %SystemDrive%WindowsSoftwareDistributionDownload

    freed  1-2 Gbs

    3. run elevated command prompt (cmd with administrator rights): and type:

    TAKEOWN /F "C:WindowsSystem32DriverStoreFileRepository" /R
    ICACLS "C:WindowsSystem32DriverStoreFileRepository" /T /L /GRANT *S-1-1-0:F
    RD /s /Q "C:WindowsSystem32DriverStoreFileRepository"

    freed many Gbs!

    It should help - run at your own risk

     

    英文不好的,打开cmd (管理员)运行下面命令就好了:

    Dism.exe /online /Cleanup-Image /StartComponentCleanup

     

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

     

    TAKEOWN /F "C:WindowsSystem32DriverStoreFileRepository" /R

     

    ICACLS "C:WindowsSystem32DriverStoreFileRepository" /T /L /GRANT *S-1-1-0:F

     

    RD /s /Q "C:WindowsSystem32DriverStoreFileRepository"

     

    参考链接:

    http://www.xiazaima.com/jiaocheng/2534.html

    https://www.zhihu.com/question/51654630

    https://superuser.com/questions/597370/how-do-i-delete-folders-from-the-windows-7-driverstore/597395#597395

  • 相关阅读:
    程序员都必读
    ia-64 vs x86-64
    Linux内核学习
    开源liscense对比
    列存储
    大数据科普
    [USACO1.5]数字三角形
    [USACO08FEB]酒店Hotel
    数的划分
    CodeForce 18D
  • 原文地址:https://www.cnblogs.com/junshijie/p/11580881.html
Copyright © 2011-2022 走看看