Skip to content

Create a mapped network drive in Windows for testing purposes

Julien Marrec edited this page Jan 21, 2021 · 2 revisions

Note: I have not yet tested whether I can successfully reproduce any bugs with this method

We occasionally have users reporting issues when using OpenStudio Application on a mapped network drive.

To reproduce locally if you don't already have a mapped network, you can fake one.

  1. Create a dummy test folder.
mkdir C:\Users\julien\FakeNetworkSharedDrive
  1. Share the test folder, by right clicking on it: Properties > Sharing > click "Share"

    1. Add "Everyone" as a Read/Write permission level
    2. Click Share. It displays the network name of the drive, make sure to copy it, eg FakeNetworkSharedDrive (file://MACHINENAME/Users/julien/FakeNetworkSharedDrive)
  2. Create a mapped network drive to it

    1. Open Windows Explorer, and click "Map network drive" in the app bar
    2. Pick a letter for the drive (eg: Z:)
    3. Enter the network drive: \\DESKTOP-AFHNVM1\Users\julien\FakeNetworkSharedDrive
    4. Save