AWS Storage Gateway User Guide
Using Your File Share
If you are a guest user, make sure that you have the guest user account password before
attempting to mount the file share.
To mount your SMB file share for Microsoft AD users using the net use command
1. Make sure that you have access to the SMB file share before mounting the file share to your local
system.
2. For Microsoft AD clients, type the following command at the command prompt:
net use
[WindowsDriveLetter]
: \\
[Gateway IP Address]
\
[File share name]
To mount your SMB file share for guest users using the net use command
1. Make sure that you have the guest user account password before mounting the file share.
2. For Windows guest clients, type the following command at the command prompt.
net use
[WindowsDriveLetter]
: \\$
[Gateway IP Address]
\$
[path]
/user:
$
[Gateway ID]
\smbguest
To mount an SMB file share on Windows using CmdKey:
1. Press the Windows key and type
cmd
to view the command prompt menu item.
2. Open the context (right-click) menu for
Command Prompt
and choose
Run as administrator
.
3. Type the following command:
C:\>cmdkey /add:
[Gateway VM IP address]
/user:
[DomainName]
\
[UserName]
/
pass:
[Password]
Note
When mounting file shares, be aware of the following:
• You might have a case where a folder and an object exist in an Amazon S3 bucket and have
the same name. In this case, if the object name doesn't contain a trailing slash, only the folder
is visible in a file gateway. For example, if a bucket contains an object named
test
or
test/
and a folder named
test/test1
, only
test/
and
test/test1
are visible in a file gateway.
• You might need to remount your file share after a reboot of your client.
To mount an SMB file share using Windows File Explorer
1. Press the Windows key and type
File Explorer
in the
Search Windows
box, or press
Win+E
.
2. In the navigation pane, choose
This PC
, then choose
Map Network Drive
for
Map Network Drive
in
the
Computer
tab, as shown in the following screenshot.
API Version 2013-06-30
53