| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
When using a Windows client, you use the Microsoft iSCSI initiator to connect to your gateway storage volume.
The Getting Started exercise provides instructions about how to connect to your storage volumes. For more information, see Step 2.3: Access Your AWS Storage Gateway Volumes.
After setting up your initiator, we highly recommend that you customize your iSCSI settings to prevent the initiator from disconnecting from targets. By increasing the iSCSI timeout values as shown in the following steps, you improve the ability of your application to deal with writes that take a long time and other transient issues such as network interruptions.
Note
Before making changes to the registry, you should make a backup copy. For information on making a backup copy and other best practices to follow when working with the registry, see Registry best practices in the Windows Server TechCenter.
To customize your Windows iSCSI settings
Increase the maximum time for which requests are queued.
Start Registry Editor (Regedit.exe).
Navigate to the device class Globally Unique Identifier (GUID) key that contains iSCSI controller settings.
Warning
Make sure you are working in the CurrentControlSet subkey and not another control set like ControlSet001 or ControlSet002.
HK_Local_Machine\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}
Find the subkey for the Microsoft iSCSI Initiator.
The key will be represented by a four-digit number such as
0000 or 00001.
HK_Local_Machine\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>
Depending on what is installed on your computer, the Microsoft iSCSI initiator may not
be the subkey 0000. You can ensure that you have
selected the correct subkey by verifying that the string
DriverDesc has the value Microsoft iSCSI
Initiator as shown in the following example.

Click the Parameters subkey to show the iSCSI settings.
Right-click the MaxRequestHoldTime DWORD (32-bit) value, select modify, and change its value to 600.
This value represents a hold time of 600 seconds. The example below shows the MaxRequestHoldTime string value with a value of 600.

Increase the disk timeout value.
Start Registry Editor (Regedit.exe).
Navigate to the Disk subkey in the Services subkey of the CurrentControlSet.
HK_Local_Machine\SYSTEM\CurrentControlSet\Services\Disk
Right-click the TimeoutValue DWORD (32-bit) value, click modify, and change its value to 600.
This value represents a timeout value of 600 seconds.

Restart your system to ensure that the new configuration values take effect.
Before restarting, you must make sure that all writes to storage volumes are flushed. To do this, take any mapped storage volume disks offline before restarting.