Directory Sizer registry settings

Overview Architecture Download Register FAQ Support

Directory Sizer Central

Registry values are stored under:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DSZcentr\Parameters

dbDSN -REG_SZ-defaultdriver={sqlserver};server=(local);Database=dszDB;trusted_connection=yes

The installation guide recommends that you install the Directory Sizer Central service on the same machine as Directory Sizer Database (SQL Server 7.0) and this setting should not need to be changed. If however you are configuring the Central service on a different machine from the database, you can edit this value to specify a remote machine, e.g. you might specify

driver={sqlserver};network=dbmssocn;server=MySqlMachine;Database=dszDB;uid=sa;pwd=22blueFish

LogFilePath - REG_SZ - default empty string

LogFilePath can be set to the folder to use for the temporary log created by Directory Sizer Central. The log is cleared after each sizing scan. By default this is stored in %SystemRoot%\system32. To move it you can set this registry value to the name of another folder.

maxErrsPerServer - REG_DWORD - default decimal 21

This is the maximum number of errors reported by a Directory Sizer Scanner that will be logged to the Directory Sizer Database before this server's information will be discarded.

All other values are temporary values which are set by Directory Sizer during operation.

Directory Sizer Scanner

Registry values are stored under:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DSZscan\Parameters

LogFilePath - REG_SZ - default empty string

LogFilePath can be set to the folder to use for the temporary log created by Directory Sizer Scanner. By default this is stored in %SystemRoot%\system32. This log is re-opened after every scheduled scan. If you are collecting information on many directories with a high directory level setting, this file may grow larger than you would wish. To move it you can set this registry value to the name of another folder.

NumErrorsToAbort - REG_DWORD - default decimal 222

Disks should usually never report errors but occasionally a disk will have a problem that Directory Sizer will find. It will log such errors to the Application Event log. If the number of errors found is greater than this value, the sizing process will be aborted to avoid any potential endless loop.

ClientCheck - REG_DWORD - default 1

When Directory Sizer Scanner gets a request to initiate a scan, or return size information, it checks that the caller has write access to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dszScan\Parameters. If the caller has no privilege to write to this location, the request is denied. If you change ClientCheck to 0, the scanner will not perform any checks and so will give size information to any caller. See Security for more information.

UseBackupRight - REG_DWORD - default 1

Directory Sizer Scanner uses the Back up files and directories right/privilege (seBackupPrivilege) to bypass security on files for the sole purpose of discovering the disk usage of files in directories. The privilege is not used for backing up or restoring files. If you wish you can set this value to 0 but files/directories that do not permit SYSTEM access will not be sized and so you will have greater "lost space" on this server's drives.

DisksToIgnore - REG_SZ - default empty string

Disks that Directory Sizer Scanner should ignore during a size, e.g. if you set it to "C" the C: drive will not be sized.  Set it to "FG" to ignore both the F: and G: drives.  This is implemented to skip drives that cannot be properly sized, e.g. CD-Net drives.

All other values are temporary values which are set by Directory Sizer during operation.


Directory Sizer, FranzO Software