> 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

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 remains available after restarting.

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

This guide walks you through both.

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

### Before you start

* Access the administration panel at [admin.plenit.com](https://admin.plenit.com) with permissions on the service.
* Have an active **File Storage** subscription. If you don’t have it yet, set it up with the [File Storage Quick Start.](/docs-en/productos/file-storage/quickstart.md)
* Have administrator privileges on the Windows server from which you will perform 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 sign in to the subscription. You need two pieces of data:

* The **SMB address**: in the **Customization**tab, block **SMB**block, copy the **URL**.
* The **user**: in the **Users**, open the menu **(...)** for the user you are going to connect with and click **Access details**. Note down their email address and have their password handy.

{/\* 📸 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.&#x20;
>
> 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 already 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 everything goes well, Windows responds with a message saying 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 restarts. If several people use the server, keep this 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 restart, `/persistent:yes` it has been applied correctly.

> #### 📘 If the connection is not established
>
> Check that the SMB address was copied completely and unchanged, 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-based way to leave File Storage as a fixed drive on a Windows server: you copy the SMB address and the user from the panel, launch the command with `/persistent:yes` and the drive survives restarts.

What is most important to watch is the syntax of `/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 share from Linux, follow [How to access via SMB from GNU/Linux.](/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.](/docs-en/productos/file-storage/concepts/access-and-sharing.md)
* Organize permissions by users and groups in [Users, groups, and permissions.](/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
