Knowledge Base

TreeSize



Hello and welcome to our Knowledge Base. Our experts provide answers to the most frequently asked questions of our customers. Start your information search here to find your answer quickly and easily.
Please enter your query or select one of the above categories.

All entries (Page 1 / 15)

TreeSize shows incorrect number of hardlinks for files, stored on a network share. What can I do?

With Windows Vista / Server 2008 Microsoft introduced "Client Caches" with the SMB2 protocol in order to speed up the queries about gathering file and directory meta information on network drives. This approach helps also to utilize the available network bandwidth more efficient. However, these caches do always return an incorrect value for the NTFS hardlinks (always shown as "1").The responsible caches can be disabled by the following steps:

  1. Run "regedit.exe".
  2. Open the path "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters".
  3. Choose "New > DWORD value" in the right click menu and set the name to "FileInfoCacheLifetime" and the value to "0".
  4. Restart Windows

After these steps TreeSize should work properly with hardlinks. For further information about client cahces please visit http://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx

TreeSize V6 takes a long time to start when it is virtualized using App-V. What is the reason for this?

Our 3rd party library which manages our installation keys iterates the registry key HKEY_LOCAL_MACHINE\CLSID which takes magnitudes longer under App-V virtualization  than on a normal system. A possible solution is described here: https://social.technet.microsoft.com/Forums/en-US/1648d88e-72bb-4bf9-92b3-4a803e431650/problem-to-sequence-treesize-professionnal?forum=mdopappv

We will replace the library that handles the installation in keys in TreeSize V7 so that this iteration will no longer take place.

I don't want TreeSize to automatically check for updates. Can I disable this option and perform checks only manually?

Yes you can!

Please go to the 'Help' tab and click on 'Check for update'. Doing so will actually check for updates and bring up a notification window stating the result of the check. The same notification window would show up, if an automatic check has found an available update.

The checkbox at the bottom of this notification allows you to choose whether to 'Check for updates regularly'.

Is TreeSize able to show file permissions, and not just ownership?

Yes. This web page provides an overview on the permissions reporting capabilities of TreeSize: http://www.jam-software.com/treesize/ntfs_folder_permissions.shtml

Right clicking on the header of the Details list will show a popup menu that allows to choose additional columns showing the permissions.
 
If you export a scan to Excel, these columns will be included as well. (To get a full report in Excel, you need to check-mark the option "Tools > Options > Export > Excel > Export the full directory branch" and optionally "Include single files in export"). Excel Auto-Filter is a good tool to filter the exported lists for specific users or groups. Our product SpaceObServer has better reporting capabilities since V6, for details please see: http://www.jam-software.de/spaceobserver/ntfs_permissions.shtml

How do I search for invalid file names using Treesize?

Open the Treesize File Search, enable only the "Custom Search", and define an include filter on the right for "file and folder Name" of type "Regular Expression" and one of these patterns:

 [^[:print:]]  if you want to treat al non-ASCI characters as invalid (which would e.g. also treat German umlauts as invalid)

 [^\P{C}]  if you want to treat all non-printable Unicode characters as invalid
 
It can also make sense to search for files containing the non-breakable space (Unicode NOBR U+00A0). To find them, use the pattern [\xA0].

TreeSize does not follow symbolic links pointing to another drive and in our DFS tree, it shows 0 KB for these links. Can this be changed?

You can change the behavior by check-marking the option "Tools > Options > Scan > General > Follow Mountpoints and external symbolic links"

I want to analyze the size and growth (via xml report compare) of a specific set of folders. Is it possible to save a selection of folders to scan on the same drive? There are like 80 folders out of 120 that need scanning.

You currently cannot save a set of subfolders to an XML file. If the unwanted folders all match a certain pattern, you can define an exclude filter in the "Options" of TreeSize.

To monitor the size and growth of certain folders continuously, we would like to recommend our product SpaceObServer.

The 64bit version of TreeSize Professional crashes immediately after start after installing Windows 10 Update KB4019472.

This issue was introduced with update KB4019472 for Windows 10 Version 1607 (Anniversary Update) and Windows Server 2016 and KB4016871 for Windows 10 Version 1703 (Creators Update). Please note, that newer cumulative updates would also contain this update.
A full list of cumulative updates which contain or replace KB4019472 can be found in the Windows Update Catalog on the 'Details' tab at https://www.catalog.update.microsoft.com/ScopedViewInline.aspx?updateid=970dc0b3-07a2-4434-8df0-9008dcdc9f36
For KB4016871, please see https://www.catalog.update.microsoft.com/ScopedViewInline.aspx?updateid=de9d0092-4e6d-48e1-abfd-743377522db0
Please note that this would affect all newer versions of Windows since 1709 (Creators Fall Update) as well.

The error only occurs with the 64bit version of TreeSize, not affected is the 32bit version of TreeSize.

Since V6.3.6 TreeSize is compatible with Windows 10 and Server 2016 with update KB4019472. Customer with valid maintenance can get download the latest version of TreeSize, which is compatible with Windows 10 in your customer area at: https://www.jam-software.com/customers/

Do not install Windows 10 Update KB4019472 if you intend to use an older version of TreeSize.

I was wondering if it was possible to have the "Check for Update" button disabled or removed from the Help menu.

The "Check for Update" button in the "Help" menu can be hidden in two ways:

Running TreeSize with special command line options

If you execute this command line after the installation, the "Check for Update" button will be no longer available:

TreeSize.exe /NOGUI /ShowCheckForUpdate False /SAVESETTINGS

Please add the full path to TreeSize.exe, e.g."

%programFiles%\Jam Software\TreeSize Professional\TreeSize.exe"

Deploying a configuration file

First you need to edit the XML-based configuration file of TreeSize. The configuration file is located at the following path by default:

%APPDATA%\JAM Software\TreeSize Professional

(Please note that %APPDATA% is an environment variable that will be resolved automatically by Windows if it is entered in the address bar of the Windows Explorer.) 

Before proceeding, please ensure TreeSize is closed.

In the folder above, you will find a file called "GlobalOptions.XML" Please open the file with a suitable text editor (Notepad, Notepad++,...) and search for the following line: <ShowCheckForUpdate>True</ShowCheckForUpdate>

Please set the value "True" to "False". If you start TreeSize again, you will notice that the "Check for Update" button is no longer available.

Is TreeSize available for Android?

There is no TreeSize App for Android. But you can scan your mobile device using the TreeSize Windows desktop app, if your mobile device is connected to your PC via USB and is unlocked. For more details on this subject please visit: http://http://www.jam-software.de/treesize/scan-smartphones-and-mobile-devices.shtml

Are there any known problems when using TreeSize Professional on a Citrix server?

TreeSize Professional runs in a Citrix environment, there are currently no known problems. Please note that you need one license for each Citrix client in which TreeSize Professional can be started.

How do i know that the scan of a path is finished?

If the small blue progress bar left of the root node disappears, the scan is finished. Duriong a scan the small hourglass on top of the folders indicate that the folder is not fully scanned.