> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-en/productos/file-storage/how-to/how-to-map-a-drive-with-net-use.md).

# How to Map a Network Drive with net use in Windows

Find out how to create a mapped drive using “net use” within a Windows server to connect to File Storage within Plenit

You can connect a Windows server to your File Storage by mapping a network drive from the console with `net use`, and make it persistent so it stays available after a reboot.

You need two pieces of data from the panel — the SMB address and the user — and a command.

This guide walks you through both.

> #### 👍 What you get
>
> The File Storage mapped as a network drive on your Windows server with `net use`, also available after a reboot.

### Before you begin

* Access the administration panel at [admin.plenit.com](https://admin.plenit.com) with permissions on the service.
* Have a subscription of **File Storage** active. If you don't have it yet, set it up with the [Quick Start for File Storage.](https://docs.plenit.com/docs-en/productos/file-storage/quickstart.md)
* Having administrator permissions on the Windows server from which you will do the mapping.

### Step 1. Copy the SMB address and the user

In [admin.plenit.com](https://admin.plenit.com), go to **Cloud Services → File Storage** and log in to the subscription. You need two pieces of data:

* The **SMB address**: in the **Customization**, block **SMB**, copy the **URL**.
* The **user**: in the **Users**, open the **(…)** of the user you will connect with and click **Access details**. Note down their email address and have their password at hand.

{/\* 📸 CAPTURE 1 · Customization › SMB block (URL) and Users › Access details (user) \*/}

![SMB address and user details in the panel](https://reemplaza-url/almacenamiento-archivos-netuse-01.png)

> #### 📘 If you don't know the user's password
>
> You can reset it from the organization's user management.
>
> You need it for the command in Step 2.

### Step 2. Run net use

Open the **Command Prompt as administrator** (search for `cmd`, right-click and choose *Run as administrator*). Run the command in this format:

```shell
net use <letter>: <smb_address> /user:<email> <password> /persistent:yes
```

For example, with generic values:

```shell
net use J: \\server.example\share /user:user@example.com YourPassword /persistent:yes
```

Each part means:

* **`<letter>:`** the letter under which the network drive will appear. Choose one that is not in use.
* **`<smb_address>`** the SMB address you copied from the panel.
* **`/user:<email> <password>`** the user's credentials. Do not leave a space after `/user:`, and leave a space between the email and the password.
* **`/persistent:yes`** keeps the drive available after restarting the server.

Click **Enter**. If all goes well, Windows responds with a message that the command completed successfully.

{/\* 📸 CAPTURE 2 · CMD with the net use command executed and the correct result \*/}

![Drive mapping with net use in CMD](https://reemplaza-url/almacenamiento-archivos-netuse-02.png)

> #### 🚧 Take care of the account and password
>
> Use an authorized account and protect its password: because this is a persistent mapping, access remains available after reboots. If the server is used by several people, keep that in mind when choosing which user to mount the drive with.

### Step 3. Verify the mapping

Check that the new network drive appears on the server. If you want to confirm persistence, restart the server: if the drive is still visible after the reboot, `/persistent:yes` it has been applied correctly.

> #### 📘 If the connection is not established
>
> Check that the SMB address was copied in full and without changes, that the user's email and password are correct, and your company's or the server's firewall, since it may need to allow SMB traffic.

### Conclusion

Mapping with `net use` is the console method for keeping File Storage as a permanent drive on a Windows server: you copy the SMB address and user from the panel, run the command with `/persistent:yes` and the drive survives reboots.

What you should pay most attention to is the syntax of the `/user:` (no space after the colon, with a space between email and password) and protecting the account, because access remains persistent.

### Next steps

* To mount the resource from Linux, follow [How to access via SMB from GNU/Linux.](https://docs.plenit.com/docs-en/productos/file-storage/how-to/how-to-access-smb-from-linux.md)
* Review the ways to access the service in [Access and sharing.](https://docs.plenit.com/docs-en/productos/file-storage/concepts/access-and-sharing.md)
* Organize permissions by users and groups in [Users, groups, and permissions.](https://docs.plenit.com/docs-en/productos/file-storage/concepts/users-groups-and-permissions.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-en/productos/file-storage/how-to/how-to-map-a-drive-with-net-use.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
