Advanced Settings

Advanced options for AES Drive are stored in the Windows registry in HKEY_CURRENT_USER\SOFTWARE\nsoftware\AESDrive\20. This registry key holds settings that are available for AES Drive globally. Sub-keys at this path hold settings for individual drives.

The following keys hold configuration information:

Registry KeyApplicable Settings
HKEY_CURRENT_USER\SOFTWARE\nsoftware\AESDrive\20Global settings for the application.
HKEY_CURRENT_USER\SOFTWARE\nsoftware\AESDrive\20\DrivesDrives holds drive specific settings.

The following values can be configured within the root HKEY_CURRENT_USER\SOFTWARE\nsoftware\AESDrive\20 registry key:

DeleteLogDaysDWORDSpecifies the number of days that log files will remain before being deleted. Only applies if RotateLogDays is greater than 0. If set to 0, old logs will not be deleted.

Specifies whether to force the closure and subsequent update of the encrypted file on disk after the last handle to the file is closed. In general the application will update the header of the encrypted file on disk when the file is closed.

In some cases the system may not close the file immediately after the last handle is closed which results in the file on disk not being updated in a timely manner. This setting forces the closure of the file after the last handle is released. Possible values are:

  • 0 - Not Enabled
  • 1 - Enabled (default)
LogFileStringContains the path to the log file.
LogModeDWORDDetermines the level of logging:
  • 0 - Off. Nothing will be logged.
  • 1 - Error. Only errors in AES Drive's operation will be logged.
  • 2 - Warning. Additional warning information will be logged.
  • 3 - Info. General information about the status of the connection will be logged.
  • 4 - Verbose. Logs additional information about the connection and detailed protocol information.
  • 5 - Debug. Logs detailed debug information.
  • 6 - Debug2. Additional debug information. CAUTION: This generates a very large amount of data.
LogToFileDWORDDetermines whether or not the log will be written to a file. The file itself is specified by LogFile.
  • 0 - The log will only be written to the Log window on the Service tab. (default)
  • 1 - The log will also be saved to a file.
MaxLogLinesDWORDDetermines the maximum number of lines that will be stored in the Log window in the Service tab.
MountTimeoutDWORDDetermines how long (in seconds) AES Drive will wait for Windows to mount a drive without reporting an error. The default is 20 seconds when this value is not present in the registry.
PromptForRegPermissionsDWORDDetermines if AES Drive will ask for registry permissions if it does not have them when it tries to write to the registry.
  • 0 - AES Drive will not ask for registry permissions, instead bringing up a UAC dialog for one-time access.
  • 1 - AES Drive will ask to be granted registry permissions. If granted, UAC access will not be required in the future. (default)
RotateLogDaysDWORDSpecifies how many days AES Drive will use a log file before rotating to a new log file. If set to 0, the log file will never rotate.
ShowDotFilesDWORDDetermines whether files that start with a dot or period (.) are returned in a directory listing.
  • 0 - Dot files are not returned, so they are not displayed in explorer.
  • 1 - Dot files are returned in the directory listing (default).
HideDotFilesDWORDDetermines whether files that start with a dot or period (.) are marked as hidden when returned in a directory listing.
  • 0 - Do not hide dot files (default).
  • 1 - Any dot files will be marked with the hidden attribute.
IgnoredDirsStringSpecifies a comma-separated list of folders should be ignored by the virtual drive. Each folder included on the list cannot be created on the virtual drive and will not be returned in directory listings. Please specify the folder relative to the root of the drive.

Note: Use with caution. When the system asks us to create these folders we will respond with SYSERR_CANNOT_MAKE. Applications or system components that rely on these filesystem operations may start to behave unexpectedly.

  • "" - Nothing is ignored (default).
  • "\$RECYCLE.BIN" - Prevents the system from creating a recycle bin folder.


Specifies a comma-separated list of files to ignore requests for. Windows may make frequent, informational requests for files that it needs such as desktop.ini. If the request being made by the operating system is for one of the files in this list, the request will not be made to the S3 provider.

For each file on this list, we will service the system's request without performing the operation against remote storage. We respond by telling the system the file does not exist for simplicity.

  • "autorun.inf,bootmgr,bootnxt,hiberfil.sys,pagefile.sys,desktop.ini,thumbs.db" (default).

UseMetadataCacheDWORDSpecifies whether AES Drive will use caching for file metadata and directory enumeration entries. Disabling will cause AES Drive to re-download this information when it is requested by Windows and will slow performance.
  • 0 - No cache
  • 1 - Use caching (default)

When a new drive is created AES Drive will first check the contents of the specified secure storage location folder on disk to make sure it is empty or only contains encrypted files. If unencrypted files are found in the specified folder the application will not allow the location to be used.

This setting specifies a comma separated list of unencrypted files that are allowed and will not be considered when determining whether the folder is suitable for secure storage. The default value is autorun.inf,bootmgr,bootnxt,hiberfil.sys,pagefile.sys,desktop.ini,thumbs.db

SessionExpirationTimeDWORDControls the number of minutes the drive is mounted before requiring a password prompt. The default value is 0 (no expiration).

Copyright (c) 2022 /n software inc. - All rights reserved.
AES Drive 2020 - Version 20.0 [Build 8165]