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)

I get a Certificate Error on start. How do I fix this?

Treesize.exe is digitally signed using an AuthentiCode certificate issued by VeriSign. One possible cause for this error is that the VeriSign root certificate of this certificate is so the certificate chain is broken. The Verisign root certificates are deployed through Windows updates.

There are only two possible resolutions if you want to use our products on that system:

  • Install the product using our installer, or
  • please make sure all available Windows updates are installed on this system.

In the unlikely case both options did not resolve the option, please point a Windows Explorer to “C:\Windows\JAM Software\TreeSize\”, right click on TreeSize.exe, select “Properties”, go to the tab “Digital Signatures”, select the item “sha256”, then press the “Details” button, then press the button “View Certificate”. Please send us a screenshot of the tab “Certification Path” of the dialog window which pops up then and a screenshot of the actual error dialog.

Is it possible to scan multiple paths at once, without having to select them one after another in the user interface?

Yes, that is possible with the command line parameters of TreeSize Professional.

You can simply add the paths at the end of your command line to specify which paths should be scanned. For example:

"C:\Program Files\Jam Software\TreeSize\TreeSize.exe" "C:\" "D:\" "E:\"

You can also use the parameter /SCAN can to define a text file, which contains a list of paths that should be scanned when TreeSize is started.
The text file should contain a simple list of scan paths, separated by a newline:

\\server1
\\server2
\\server3
etc.

An example command line call for this would be:
"C:\Program Files\Jam Software\TreeSize\TreeSize.exe" /SCAN “C:\scanpaths.txt”

It may also be useful to create a dedicated shortcut that executes one of these command lines. To this end, just create a shortcut to Treesize.exe, open the "Properties" dialog of the shortcut, and append the command line parameters as arguments in the "Target" field.

The GUI on our professional software does not show up when the security software Carbon Black is running.

It seems that Carbon Black is not compatible with the license management and anti piracy component that we integrated in TreeSize. Disabling Carbon Black when using TreeSize solves the problem.

A similar problem has been reported for Lumension Endpoint Security.

How do I change the installation key?
You can change your installation key at "Help > Change installation key". Reinstalling the software is not required.

TreeSize 6.3.7 or newer does not start, crashes immediately, or cannot be installed on Windows 10.

These type of problems can occur, if the option "Force randomization for images" (mandatory ASLR) in Windows Defender is enabled, which overrides application specific settings.Activating this setting will disregard the compatibility information of the application and can cause the application to crash immediatly, or not start at all, as is the case with TreeSize.

To fix this, you can either disable this feature completely, or add TreeSize as exception to your ruleset in Windows Defender:

Open Windows Defender Security center and navigate to "App & browser control > "Exploit protection > Exploit protection settings". Under "System settings", you can deactivate "Mandatory ASLR", or use "Add program to customize" under "Program Settings", to deactivate this for TreeSize.exe only.

Other security software like Carbon Black may also be blocking Treesize or its installer.

Where do I get the MSI installer?
Only customers with 25 or more licenses are able to download the MSI installer in our customers area.

What are the minimum access privieleges that a user needs to run a scan?

The user who should use TreeSize needs to have read access on the folders that should be scanned, or alternatively the user must be permitted to request the Windows backup privilege, which is the case by default for administrators. Using the Windows backup privilege TreeSize is also able to query meta data like size and last change date. It may be necessary to explicitly run TreeSize "as administrator". User do not need read access on the file content unless you want to use the TreeSize duplicate file search with options that take the actual file content into account, and not only the meta data of the files.

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 caches please visit https://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx

TreeSize 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.1 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'.

Read this knowledge base entry to learn how to disabale the automatic check for updates or the "Check for updates" button programatically.

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.

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 here.

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].