Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 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.

  • 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, 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

📘 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:

For example, with generic values:

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

🚧 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

Last updated

Was this helpful?