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

Related post

  1. Linux

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

    こんにちは、G-CLOUDです。本サイトの主はLPIC Lev…

  2. IT

    パソコンの選び方について【ベンチマーク選定】【2019年版】

    パソコンの選び方として、まず注目されるのが「CPU」です。「…

  3. IT

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

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

  4. IT

    How to Install Node.js on WSL(Ubuntu)

    IntroductionFirstly, I want to in…

  5. AI人工知能

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

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

  6. AI人工知能

    人工知能について知る!【パーセプトロンについて学ぶ】

    上記のサイトで、人工知能について学ぶ際に実…

Comment

  1. No comments yet.

  1. No trackbacks yet.

おすすめ記事

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

    LPICとLinuCどっちを受験するべき?LPICとLinuCの違いを紹介
  2. AI人工知能

    人工知能について知る!【ディープラーニングについて学ぶ】
  3. 英会話

    【語学留学】英語偏差値底辺がフィリピンに行ってきた感想
  4. AWS

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

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