Business Central Musings

For the things we have to learn before we can do them, we learn by doing them

How to get disk usage per folder

Share This Post

Recently I received a question coming to the support ticketing system on how to get a listing of all folders inside c:\Users folder and their sizes.

The sys admin that asked the question had hundreds of folders in C:\Users and did not want to to do “right click” + Properties on each one.

I started digging a bit and almost wanted to write my own little dot net app, but …

Fortunately, I found this gem: sysinternals disk usage:

https://docs.microsoft.com/en-us/sysinternals/downloads/du

I download it and gave it a try:

What I needed was a break down of all folders inside C:\users folder so that the admin can see which user takes the most space on an RDS.

I used this command: “du -q -l 1 c:\Users”

Hope this helps you!

Share This Post

Related Articles

Leave a Reply

Recent Posts

Get Notified About New Posts

Categories
Verified by MonsterInsights