# Mount HI GIO S3 Storage into Windows

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

Mounting a bucket to a local drive enables the creation of a virtual drive directly on the computer, allowing users to manage their cloud storage data seamlessly without needing additional tools or portal access.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Download the RClone tool at this [“Link”](https://rclone.org/downloads/) and extract the file after download
{% endstep %}

{% step %}
**Step 2:** Run the RClone tool by **Windows PowerShell**

1. Example: the path of the folder which stores RClone tool **“.\Downloads\rclone\”**
2. Open Window PowerShell and run this command “ **.\Downloads\rclone\rclone.exe help** “ to check RClone tool is working on your Server/PC

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FGtzGsxtJWRr5zyTArKlQ%2Fimage.png?alt=media&#x26;token=32b2204c-7e8b-441b-b491-61d623448f3e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 3:** Configuration HI GIO S3 storage connect with RClone

* Create the connection configuration file with this command

```
.\Downloads\rclone\rclone.exe config create Higio s3 env_auth false access_key_id xxxxxxxxxxxxxx secret_access_key xxxxxxxxxxxxxxxxxxx region default endpoint https://xxx.xxx.xx
```

\*\* Note: “ `.\Downloads\rclone\rclone.exe`" is the folder path store the RClone tool. Security Key get it in [**“HERE”**](https://docs.higiocloud.vn/hi-gio-s3-storage/how-to-get-the-s3-key)

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FAbTlVNTPoClzJl9s24t3%2Fimage.png?alt=media&#x26;token=70443ad8-7c8d-4e74-90e5-70b51aea504e" alt=""><figcaption></figcaption></figure>

* Verify the connection to HI GIO S3 Storage by performing operations such as listing buckets and listing objects.
* `"Listing the bucket information"`

```
.\Downloads\rclone\rclone.exe lsf Higio:
```

* `"Listing objects inside the bucket"`

```
.\Downloads\rclone\rclone.exe lsf Higio:examplebucket1
```

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FquMw2PnqQl3sYRIQj8Fw%2Fimage.png?alt=media&#x26;token=471218f6-54f6-4d35-b6c0-e1cb47e1b66d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Mount a bucket as a local drive on your computer to enable direct access and management of cloud storage data.

* To mount a bucket as a drive on your computer, ensure that WinFsp is installed. [“Link Download”](https://winfsp.dev/rel/)
* Setup WinFSP → Click Next until Finish

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FO82gyVWY56QJFDo4vuhn%2Fimage.png?alt=media&#x26;token=c9bbba6a-b0e0-46db-b27e-55d4262091cf" alt=""><figcaption></figcaption></figure>

* After installing WinFSP app, run the command below to mount Bucket

```
.\Downloads\rclone\rclone.exe mount Higio:examplebucket1 S:\ --vfs-cache-mode full
```

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FaANOGpCn0dSigs665DPk%2Fimage.png?alt=media&#x26;token=30806d36-b44f-4899-89fd-73ed4a34b618" alt=""><figcaption></figcaption></figure>

* Verify if the mount was successful.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F6N9XK2erS9ple9UEudW7%2Fimage.png?alt=media&#x26;token=ef4d6595-c6e7-48df-a1a4-9a7be7ae0758" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 5:** Set up the configuration to automatically mount the bucket on system reboot.

1. Open “Run,” then type “**shell:startup**”
2. Create the new file withthe name “**mounts3.cmd**” and copy this code below to that file

```
"C:\Users\Administrator".\Downloads\rclone\rclone.exe mount Higio:examblebucket1 S:\ --vfs-cache-mode full
```

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FuWQ24tP8kpvPTRnDU6hH%2Fimage.png?alt=media&#x26;token=6008a1ff-b0fe-4b27-80cf-b2fd40710187" alt=""><figcaption></figcaption></figure>

3. Save the file, then reboot the Server to test.
   {% endstep %}
   {% endstepper %}
