Questions tagged [mapped-drive]

Association of a drive letter (A through Z) with a remote storage in Microsoft Windows and OS/2

From wikipedia:

Drive mapping is how Microsoft Windows and OS/2 associate a local drive letter (A through Z) with a shared storage area to another computer over a network.

169 questions
0
votes
0 answers

How to save/write file over mapped network in PHP?

I am trying to save a file over a mapped network, my PHP script is on server like "111.123.5/file" here and I am trying to save file in mapped network like "//123.222.333.01/getfile" but it it not storing. rather than storing on mapped network it…
kate moss
  • 416
  • 1
  • 5
  • 18
0
votes
1 answer

How do I run a cmd command without admin rights from an elevated application?

I have an app that reads/writes few files from C: and needs elevation. I also have to run an application that has to run without admin rights (in order to read an mapped network drive). I've tried to impersonate the user, but it will ask the user's…
0
votes
0 answers

Using net.exe within VB.net WinForms app to remove a network drive

I am attempting to add a button to my program that when clicked, will take an IP address of a NAS from a text box and plug it into "net use \\[IP]\IPC$ /delete". my code looks like this: Dim netdel As New ProcessStartInfo() netdel.FileName =…
0
votes
1 answer

Handling UNC paths and "mapped network drives" in Electron?

I have a cross-platform (macOS-Windows) "slideshow" type app built in Electron which works fine with files and media assets from a local drive but fails with UNC paths and "mapped network drives". Compounding the issue is, as a contractor, I don't…
spring
  • 18,009
  • 15
  • 80
  • 160
0
votes
2 answers

Calling a webservice from a mapped drive?

I have created a webservice which also has a client (console app). This client is placed on a mapped drive. Calling the service results in an error with the log4net dll. The error is a ThrowSecurityException and the message it has is something like…
grady
  • 12,281
  • 28
  • 71
  • 110
0
votes
2 answers

Get mapped network drives labels

Is there a way to get mapped network drives labels? I know it's possible to get multiple properties through the Get-Object Win32_MappedLogicalDisk But none of them are labels (please do not misunderstand, I do not want Name i.e. K:, I want labels…
Nawad-sama
  • 151
  • 2
  • 12
0
votes
1 answer

FileNotFoundError: [Errno 2] No such file or directory, mapped drive, Python

I am new to both Linux and Python, so I may not be correct in my terminology and understanding of the environment, but I am just trying to open a file on a network share and can't seem to get it right. I created the folder ~/NAS_2 on a Raspberry Pi…
Byron S
  • 13
  • 4
0
votes
1 answer

BrowseForFolder Function in Inno Setup Doesn't Show Mapped Drives

I'm using Inno Setup v6.0.5. I want to allow the user to select a folder so I use BrowseForFolder. The problem is that the resulting dialog does not show any mapped drives. It shows the Network folder but on my machine (and presumably others) it…
fullerm
  • 406
  • 1
  • 8
  • 23
0
votes
2 answers

Powershell script to map drives, persistent connection not working

The code below allows me to map the appropriate network drives as and when needed. The problem I have is when I restart the computer, the mapped drives are lost. So I need to run the script again. $Net = New-Object -ComObject WScript.Network …
Arthor
  • 666
  • 2
  • 13
  • 40
0
votes
2 answers

Remote Powershell: Mappped Network device shows status unavailable when checked from remote machine

The machine with which I am running these PowerShell commands is a Ubuntu 18.04 machine, but this behavior persists when running from another windows machine also. I was trying to remotely execute a command to copy a file from the C:\ to a mapped…
0
votes
0 answers

XMLReader.Create() fails with DirectoryNotFoundException

I have this ASP.NET app and some code in it that is trying to load an xml file. So, its gets to a XMLReader.Create() call which throws a DirectoryNotFoundException. [DirectoryNotFoundException: Could not find a part of the path…
Mircea Ion
  • 658
  • 5
  • 20
0
votes
0 answers

PowerShell script can't see mapped drive when run as Scheduled Task

I have a script for backing up my database. It runs great manually from PowerShell command-line, but if I make it a Scheduled Task, it immediately "completes" with return code 0. This is on Windows Server 2016. param( [string]$schema ) $date =…
Stephen R
  • 3,512
  • 1
  • 28
  • 45
0
votes
0 answers

Unable to access mounted NFS drive from IIS web application

We are having an issue with accessing locally mapped NFS drives from IIS Web application(Win 2012 Server). Storage device(Based on Debian) is in local network and we have configured NFS folder(suppose it is "\storage\data\Folder") and mapped it to a…
Anoop
  • 1
  • 3
0
votes
1 answer

Azure file share mapped drive with multiple usernames

I have created an azure file share and I was able to create mapped drive on my system , but I need to share different folders to different users currently I have only one username which is the storage name provided by azure
you mhmd
  • 95
  • 1
  • 11
0
votes
1 answer

Does a drive mapping stay mapped if a different user logs onto a PC

So I want to be able to map a drive but when I log out of the PC and someone else logs, I want that drive to still stay mapped. Is this possible?
J. Hilton
  • 15
  • 3