IT

How to mount a network drive on Windows

In this brief article, I share the core details for how to configure Linux and WSL so that you can connect to a network drive on windows.

目次

Command Prompt(CMD)

Step 1. Open the CMD on Windows 10. If press the Windows logo key + R, and then type in cmd to search for Command Prompt, you can open CMD.

Step 2. In the CMD that opens, type these commands below so that it can mount a network drive on Windows 10.

net use z: "\\domainname" [password] [/user:domainname\username]

Note: This example is we mount a network drive to Z drive.

Ubuntu on Windows 10(WSL)

Step 1. Create a new directory on Windows 10 with WSL.

 
mkdir /mnt/z 
mount -t drvfs z: /mnt/z 

After that, you can access a network drive from WSL.

If you want to access to that, please type a command below.

 
cd /mnt/z 

Step 2. the following command so that it can access the network drive all the time when you open a new shell.

 
echo "echo UserPassword" | sudo -S mount -t drvfs z: /mnt/z >> ~/.bashrc  

 

If you want to know more details, please comment on this article.

 

 

英語を勉強するならDMM英会話!効率的な勉強法をご紹介Prev

基本情報技術者試験に合格したい方必見!効率的な勉強方法Next

60か国の講師陣とマンツーマン!

Pickup post

  1. 【CCENT廃止】Cisco認定試験制度変更(2020年2月24日~)
  2. 【合格体験記】AWS 認定クラウドプラクティショナーの効率的な勉強方法

Related post

  1. AWS

    【CCENT廃止】Cisco認定試験制度変更(2020年2月24日~)

    Cisco認定試験(CCENT,CCNA,CCNP,CCIE)が20…

  2. IT

    【LINE Notify】毎朝天気のお知らせをLINEで送る方法

    こんにちは、さっくんちょです。今回は「LINE Notify」…

  3. AI人工知能

    人工知能について知る!【ニューラルネットワークについて学ぶ】

    前記事ではパーセプトロンについて学びました…

  4. AI人工知能

    人工知能について知る!【多層ネットワークの実装】

    前記事では活性化関数について学びましたが、本記事では非線形関数…

  5. IT

    LPICとLinuCどっちを受験するべき?LPICとLinuCの違いを紹介

    こんにちは、G-CLOUDです。最近LPICが日本でもう受験で…

  6. IT

    応用情報技術者試験に合格したい方必見!効率的な勉強方法

    IT業界で働く方が取得している資格「情報処…

Comment

  1. No comments yet.

  1. No trackbacks yet.

おすすめ記事

  1. AWS Practitioner
価格満足度No1
  1. IT

    初心者必見!IT業界について知ろう!
  2. AWS Practitioner

    AWS

    【合格体験記】AWS 認定クラウドプラクティショナーの効率的な勉強方法
  3. 英会話

    英語を勉強するならDMM英会話!効率的な勉強法をご紹介
  4. AWS

    【CCENT廃止】Cisco認定試験制度変更(2020年2月24日~)
  5. Linux

    Linuxを基礎から勉強してみる【Linuxとは?】
PAGE TOP