Edit

Share via


Registry Usage (RU) v1.2

By Mark Russinovich

Published: July 4, 2016

Download Download RU (507 KB)

Introduction

Ru (registry usage) 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.

Using Registry Usage (RU)

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]

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.

CSV output is formatted as:

Path,CurrentValueCount,CurrentValueSize,ValueCount,KeyCount,KeySize,WriteTime

Download Download RU (507 KB)