---
title: "Discussion on \"Mount Windows network drives with sshfs and samba\" | Hashnode"
description: "Discussion on \"Mount Windows network drives with sshfs and samba\". How to use sshfs and samba to mount drives in windows using a bat script for the final mount."
url: "https://hashnode.com/posts/mount-windows-network-drives-with-sshfs-and-samba/6426883558997fdf5117fe6f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mount Windows network drives with sshfs and samba](https://mogster.hashnode.dev/mount-windows-network-drives-with-sshfs-and-samba?utm_source=hashnode&utm_medium=feed)

How to use sshfs and samba to mount drives in windows using a bat script for the final mount.

Mar 31, 2023 · 9 min read · mogster.hashnode.dev  
Read the article

-   [#ssh](https://hashnode.com/tag/ssh)
-   [#samba](https://hashnode.com/tag/samba)
-   [#windows](https://hashnode.com/tag/windows)
-   [#sshfs](https://hashnode.com/tag/sshfs)

## Written by

[Knut Møgster](https://hashnode.com/@mogster)

@mogster · Norway

  
[View profile](https://hashnode.com/@mogster)

LAMP, javascript, shell script. Odd stuff. Likes to re-invent the wheel.

In my daytime job I code for an online printshop. I’m also sysadmin for their servers, and, on a good day, able to manage their network. Pretty much your all round guy.

## Responses 1

Markdown supported · ⌘↵ to post

[Knut Møgster](https://hashnode.com/@mogster)

[Feb 13, 2024](https://hashnode.com/posts/mount-windows-network-drives-with-sshfs-and-samba/6426883558997fdf5117fe6f/comment/65cb8a205537fd19ecdeb0c7)

It is to be noted that the users on the two servers has to have the same uid and gid. So if user on the mount server has 1001:1001 and the user on the mounted server has 1000:1000, this won't work.
