Windows 10: First look at Windows 10's new DiskUsage analysis tool

Discus and support First look at Windows 10's new DiskUsage analysis tool in Windows 10 News to solve the problem; DiskUsage is a new command line tool that Microsoft added to Insider Builds of the company's Windows 10 operating system without much fanfare. The... Discussion in 'Windows 10 News' started by GHacks, Dec 16, 2020.

  1. GHacks
    GHacks New Member

    First look at Windows 10's new DiskUsage analysis tool


    DiskUsage is a new command line tool that Microsoft added to Insider Builds of the company's Windows 10 operating system without much fanfare. The tool, located in System32, provides users with information on files when run, e.g. to analyze hard drive or partition space.

    The program is still in development and some of its parameters and features don't work correctly at the time of writing.

    The tool's full path is C:\Windows\System32\diskusage.exe, and you can simply run it using a command prompt or a PowerShell terminal. Note that you need to run an elevated prompt for the tool to work correctly.

    Use the /? parameter to display all available options, e.g. diskuage /?. Since it is located in system32, it is picked up automatically even without providing the tool's full path.

    First look at Windows 10's new DiskUsage analysis tool diskusage.png

    Here is the full output as it stands:


    C:\WINDOWS\system32>diskusage /?
    DiskUsage - Disk Usage

    Description: Summarize disk usage recursively for the given directory.
    Usage : diskusage [Options] [Directory]
    Options :
    /a, /systemAndReserve displays size for system files and reserved space
    /c, /csv displays in csv format
    /d, /maxDepth=N displays directory information only if it is N or
    fewer levels below command line argument
    /e, /minFileSize=SIZE displays directory information only if its FileSize
    is greater or equal than SIZE
    /f, /minSizeOnDisk=SIZE displays directory information only if its SizeOnDisk
    is greater or equal than SIZE
    /g, /displayFlag=FLAG specifies the flags value to determin which column(s) to display
    column value description
    SizeOnDisk 0x001 the on disk size
    FileSize 0x002 the end of file size
    SizePerDir 0x004 sum of SizeOnDisk for top level child
    Files 0x008 number of child files
    ChildDirs 0x010 number of child directories
    FilesPerDir 0x020 number of top level child files
    DirsPerDir 0x040 number of top level child directories
    CreationTime 0x080 file creation timestamp
    LastAccessTime 0x100 file last access timestamp
    LastWriteTime 0x200 file last write timestamp
    Attributes 0x400 file attributes
    /h, /humanReadable displays size in human readable format
    /i, /iniFile=FILE takes all the parameters from an INI file.
    NOTE: SCENARIO name must be speificed via /j (/scenario)
    /j, /secnario=SCENARIO specifies the scenario name for the INI file
    /l, /allLinks count all hardlinks separately (By default, files with multiple
    hardlinks are counted only once towards the first link name)
    /m, /multipleName count only files with more than one link names
    /n, /nameFilter=FILTER count only files whose name matches the name filter
    /p, /preferredPath=PATH count files with multiple link names towards the first link that's
    under PATH if it exists
    NOTE: This options must not be specified togerther
    with /l (/allLinks)
    /q, /virtual recurse into virtual directories
    /r, /skipReparse skip recursing into reparse directories
    /s, /skipResurse skip recursing into child directories when calculating sizes
    /t, /TopDirectory=N displays Top N directories by SizeOnDisk in descending order
    /u, /TopFile=N displays Top N files by SizeOnDisk in descending order
    /v, /verbose displays verbose error information
    /x, /clearDefault do not display the default selected columns

    The main purpose of DiskUsage is to return files or folders based on sizes. Parameters like minFileSize ir minSizeOnDisk return files that are larger than the specified size, TopFile returns the top X files of a directory using SizeOnDisk, and TopDirectory does the same for directories.

    Output customization is supported, use displayFlag to specify the columns that you want the program to display, /csv to display the data in CSV format, or /h to display file sizes in human readable format.

    Here are a few example commands (size needs to be entered in bytes):


    diskusage

    If you run diskusage without any parameters, it returns information about all files and folders of system32 including disk space information of folders.


    diskusage /e=1073741824 c:\users\USERNAME\downloads

    The command returns all files of the downloads folder that are larger than 1 Gigabyte.

    Closing Words


    DiskUsage is a specialized tool and most Windows users may prefer to use disk space analyzers such as WizTree or TreeSize Free instead. Still, administrators may find it useful to analyze disk space from terminal windows. One of the main advantages of DiskUsage is that it supports configuration files to run certain commands regularly.

    Now You: do you analyze the disk usage of your devices? (via BleepingComputer)

    Thank you for being a Ghacks reader. The post First look at Windows 10's new DiskUsage analysis tool appeared first on gHacks Technology News.

    read more...
     
    GHacks, Dec 16, 2020
    #1
  2. Ahhzz Win User

    Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK


    credit to Lifehacker.
     
    Ahhzz, Dec 16, 2020
    #2
  3. Windows 10 Snipping Tool on Windows 7

    All it is is one extra step beyond what is native to windows 10. Yes, technically it would be easier to have the functionality of print built in to the Windows 7 version, but you just have to save it ,and right click on it ,and print.

    As far as getting the windows 10 version into windows7. I know there was a way to get the old winpaint, so maybe there's a way to get the snipping tool into 10, I don't know.

    im curious if i could compress, and upload the application to this post? 7zip doesnt seem to be allowed
     
    jboydgolfer, Dec 16, 2020
    #3
  4. pls2000 Win User

    First look at Windows 10's new DiskUsage analysis tool

    Looking for a partitioning tool with requirements

    I'm looking for a disk partitioning tool that meets the following requirements

    1. Can run on a wroking Windows 10, or form a bootable flash drive
    2. Can create or remove ALL partitioning types, including specifying the GUIDs on GPT disks
    3. Either the Windows or bootable version can scan a disk and save all partition information, including types and GUIDs, to a named file.
    4. Either the Windows or bootable version can take the saved file from the previous step and either restore that saved configuration or use it as a starting point so you can change partition sizes if the new disk is a different size..

      Is there software on the market that can do all this?

      Thanks,
      ++PLS
     
    pls2000, Dec 16, 2020
    #4
Thema:

First look at Windows 10's new DiskUsage analysis tool

Loading...
  1. First look at Windows 10's new DiskUsage analysis tool - Similar Threads - 10's DiskUsage analysis

  2. Analysis tool pack

    in Windows 10 Installation and Upgrade
    Analysis tool pack: Hi, I am trying to download the analysis tool pack for excel, but when I enter options, I don't have the excel add-ins option https://answers.microsoft.com/en-us/windows/forum/all/analysis-tool-pack/7b27b0f5-830d-4661-ba81-ecf91c2c49c8
  3. Analysis tool pack

    in Windows 10 Gaming
    Analysis tool pack: Hi, I am trying to download the analysis tool pack for excel, but when I enter options, I don't have the excel add-ins option https://answers.microsoft.com/en-us/windows/forum/all/analysis-tool-pack/7b27b0f5-830d-4661-ba81-ecf91c2c49c8
  4. Here’s our first look at Windows 10’s File Explorer with new colourful icons

    in Windows 10 News
    Here’s our first look at Windows 10’s File Explorer with new colourful icons: Microsoft has been working on the “Sun Valley” update (also known as 21H2) with a new Start Menu, Action Center, rounded corners, and other improvements. As part of the Windows 10 Sun Valley revamp, Microsoft is also introducing new Fluent Design-based icons for File Explorer...
  5. Exclusive: Our first look at Windows 10’s new floating Start Menu

    in Windows 10 News
    Exclusive: Our first look at Windows 10’s new floating Start Menu: Microsoft is reportedly working on a major Windows 10 design overhaul codenamed ‘Sun Valley’ and it’s due for release in October 2021. In the Sun Valley update, Windows 10 Start Menu will also get updated with rounded corners and it will ‘float’ on top of the taskbar, as...
  6. Our first look at Windows 10’s new Action Center design upgrade

    in Windows 10 News
    Our first look at Windows 10’s new Action Center design upgrade: Microsoft could give the interface of the Action Center in Windows 10 a major overhaul, according to new code reference spotted in preview builds. It appears that Action Center could soon use UI components from Windows 10X in an effort to improve consistency across all...
  7. Windows 10’s new look makes its first appearance in a Microsoft app

    in Windows 10 News
    Windows 10’s new look makes its first appearance in a Microsoft app: Microsoft has been working towards making Windows 10 look more ’rounded’ and ‘modern’ as part of a major overhaul codenamed ‘Sun Valley’. In a surprising move, Microsoft has now started pushing out updates for internal apps where you can notice new UI elements, rounded...
  8. This could be our first look at Windows 10’s new rounded UI

    in Windows 10 News
    This could be our first look at Windows 10’s new rounded UI: Rumours and references within the preview builds have revealed that Microsoft is in the process of overhauling the Windows 10 interface. The rumours first surfaced online when Microsoft added modern icons to their first-party apps and launched a slightly improved version of...
  9. Looking for dmp analysis.

    in Windows 10 BSOD Crashes and Debugging
    Looking for dmp analysis.: Hi Guys Continuing to have problems with bsods, they are becoming far more frequent as well. I uploaded some dmp files last week, analysis showed that it was a particular driver causing the issue which has since been uninstalled. However I have crashed three times so far...
  10. Looking for Network Analysis tool

    in Windows 10 Network and Sharing
    Looking for Network Analysis tool: Is there a GUI based network traffic analysis tool like tcpdump for Windows? If no GUI, then I’ll settle for a command line version. I found a product from Microolap however, I want to know what my options are? Thank-You 154589