CLI Registry Usage

Submit command line tools that you find here.
Post Reply
Message
Author
User avatar
rbon
Posts: 361
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

CLI Registry Usage

#1 Post by rbon »

Registry Usage is another CLI created by Mark Russinovich of SysInternal, now branch of Microsoft Corporation.
Registry Usage (RU) is a command-line utility that reports the registry space usage for the registry key you specify. By default it recurses subkeys to show the total size of a key and its subkeys.

From Major Geeks review:
Having access to this data can help run down issues and be especially useful for admins managing multiple machines to verify stored data size per user and application.
Gleaning this information will simplify eliminating keys that are using too much of the machine's resources. Resource hogs can potentially hinder performance.
The generated report can by saved as CSV file with these fields:
Path,CurrentValueCount,CurrentValueSize,ValueCount,KeyCount,KeySize,WriteTime

Code: Select all

usage: ru [-c[t]] [-l <levels> | -n | -v] [-q] <absolute path>

usage: ru [-c[t]] [-l <levels> | -n | -v] [-q] -h <hive file> [relative path]

USING REGISTRY USAGE (RU)
Parameter	Description
  -c	        Print output as CSV. Specify -ct for tab delimiting.
  -h	        Load the specified hive file, perform the size calculation, then unload it and compress it.
  -l	        Specify subkey depth of information (default is one level).
  -n	        Do not recurse.
  -q	        Quiet (no banner).
  -v	        Show size of all subkeys.
  
• Program page: https://docs.microsoft.com/en-us/sysint ... wnloads/ru
• Direct download archive: https://download.sysinternals.com/files/RU.zip
• Archive name: RU.zip
• Archive size: 507 KB
• Release: 1.2
• Release date: 09/17/2020

Code: Select all

The RU.zip archive contains these files:
--------------------------------------
2020-04-30 17:18        348528        154516  ru.exe
2020-04-30 17:16        450424        187735  ru64.exe
2020-04-30 17:14        531304        174303  ru64a.exe
2019-05-05 11:00          7490          3120  Eula.txt
For both 32 and 64 bit systems-

Review on Major Geeks: https://www.majorgeeks.com/files/detail ... _(ru).html
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

Post Reply