Questions tagged [network-drive]

Network drives are physical or virtual hard drives that are shared with the network or home group.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Ansible: mapping network drive issues

After performing Ansible playbook with task responsible for mapping network drive (I didn't use the win_mapped_drive module, used powershell commands) with a result Successful , mapped drive is not ...
Paulina Nowacka's user avatar
0 votes
0 answers
14 views

How do I fix the issue "The User Profile Service failed the sign-in. User profile cannot be loaded"

I got a Lenovo Thinkpad T15 i7 that is connected to my work domain. The laptop was brought in because it kept losing its network drivers, so I decided to do a system reset, for a fresh start. ...
Raphael Arpa's user avatar
-1 votes
0 answers
14 views

Can't find Python when executing script on a network drive with a batch file

Hi I am using the following code in a batch file to execute a python script being housed on a network drive. @echo off pushd "\\SGSINVAPFL20.EY.NET\20AP0025\A\ASEAN operation\Capacity Dashboard\0....
Omar's user avatar
  • 25
1 vote
1 answer
64 views

Using PowerShell to Run a Script that installs some files from a mapped drive

I have a folder that has some install files for new user computers and need to create a script that runs the install files from a folder that is located on a network drive that's mapped to my ...
Mugen27's user avatar
  • 21
0 votes
0 answers
6 views

Changing an exsiting path of Map drive

We have changed our file server IP , but most of our users connected their map drive by using the old IP address , so I came to point to change the profile of the users to use the hostname instead of ...
Zaher Darwish's user avatar
0 votes
0 answers
6 views

Connect to Samba shares from Mac OS that has the same address but different port [migrated]

I have MacOS Ventura 13.5.1 (22G90) and two remote Samba shares. They have the same url, same username and passwords but a different ports. The behaviour on Mac and smbutil command is quite strange. ...
Pawel's user avatar
  • 93
0 votes
0 answers
42 views

Java scanning text file incorrectly from network drive

I have an 18,000 line text file that I am scanning from a mapped network drive. I am using the scanner class in Java. When the file is stored on my local machine, my code confirms that it has 18,000 ...
telephony's user avatar
0 votes
1 answer
21 views

Permission Error in VS Code When Saving File on Network Drive Shared - How to Resolve

I'm running a local server in my network, powered by Ubuntu 22.04, that shares a folder with all stations. I've installed a VPN using ZeroTier to access this local server from anywhere. Everything ...
Fernando Del Cantão's user avatar
0 votes
0 answers
16 views

Different IO performance on mapping drive between mstsc connection and openSSH

Situation: Connect to my Windows host via mstsc (Win10) Mapping network drive using net use, let’s say on disk Z Run vdbench, which is an I/O workload generator. It's configured to read files from ...
je5s's user avatar
  • 61
0 votes
2 answers
95 views

Combining multiple select statements in one SQL Query? ConcatRelated() and Sum()

We have a database that we use for tracking data and sending communications on a shared network drive. Recently we’ve had to incorporate a process to prefill out forms for an M1 Visa Application that ...
MalloryP's user avatar
1 vote
1 answer
60 views

Powershell Mapping to network drive via Ansible

I currently have a powershell script (deploy.ps1) which I use to manage files on a network drive. When running my script, I am successfully able to map to the drive and access the contents. However, ...
Daniel Zamloot's user avatar
0 votes
0 answers
28 views

Limit inherited permissions in subfolders

We have a drive being shared across multiple departments, and some of the information being stored does not need to be accessed by all users who have permission. The directory looks like this: \Server\...
Tyler Laidler's user avatar
0 votes
1 answer
76 views

Open an image file located on a shared network drive on an Android device

I have a network drive setup with a directory containing .jpg image files that I'd like to be able to load into a Timage component. I'm loading the picture name in from a database field. Below is the ...
Mark Lyder's user avatar
1 vote
0 answers
46 views

dir.exists() too slow on network paths

I want to check if a directory exists on a windows network drive. On the case that it does not exist, the dir.exists() functions takes too much time to return. I understand this is due to windows API. ...
MEcon's user avatar
  • 395
0 votes
0 answers
53 views

How can I make image thumbnails load faster from a network drive in order to cull them?

I need to sort through ~80,000 pictures, most of which are important but a good few are photos are useless because the lens was covered (black photos), or they were simply taken by accident and are ...
apenny99's user avatar
0 votes
0 answers
22 views

Reconnect network drive on git push

I have a github repository with an origin that sits on a shared network drive. They are often disconnected when idle or after rebooting my Laptop. They do get automatically reconnected when I open ...
FlyingTeller's user avatar
  • 17.8k
0 votes
0 answers
47 views

Python Zip & Move Script Error with Exit Code -1071120348 (0xC0280024), Exit Code Description - Lost

I am using an automation tool known as ActiveBatch to call a python script which is zipping some files on a shared network drive and then moving that created zip to some other shared network drive. ...
Sidhant Khamankar's user avatar
0 votes
1 answer
25 views

How do we read excels saved in various sub folders in a folder on a network drive using python?

The data in the excels is saved in annual folders (2020, 2021, 2022). Each year has sub folders for the 12 months (01-2022, 02-2022, 03-2022) and each monthly folder has sub folders for each day (01-...
Bhagyashree's user avatar
0 votes
0 answers
90 views

How to impersonate a remote user with code running on an Azure App Service

I currently have an Azure App Service running. I also already set up a VNet and the required gateways and connections for the App Service to have access to an on-premise shared folder. Now, I want to ...
Mason's user avatar
  • 1,017
0 votes
0 answers
136 views

How to map a local drive in a windows docker container with net use?

I currently try to map a local folder/drive on my Windows Docker container. I try to achieve this with the net use command. For example to map drive C to the letter M: net use M: \\localhost\c$ If I ...
Toxiin's user avatar
  • 11
0 votes
0 answers
129 views

Using os.path.relpath on Windows network drive

I need to get the relative path on a network drive. So, from s:\path\to\file, I want to get path\to\file. So, this works: In [8]: path = r's:\path\to\file' In [9]: path[3:] Out[9]: 'path\\to\\file' ...
mrgou's user avatar
  • 1,618
0 votes
0 answers
64 views

Python pathlib with network drives

I'm using pathlib to handle file paths and I have a scenario when path can be either local or from network drive, for example: C:/Users/Myuser/file.txt <some_host>/C/Users/Myuser/file.txt My ...
cornisto's user avatar
  • 129
1 vote
1 answer
64 views

Python popen - How do I search a file using file id in the network drive?

I have a python script which prints the file id from the file system. And it can search a file using its file id and prints the file full path. This works perfectly in the local drive. But I cannot ...
Its_Me's user avatar
  • 11
0 votes
1 answer
51 views

How do you access the "remembered" location of a Windows network drive via Python?

I'm using the pywin32 Windows API library to pull information about network drives using the win32wnet.WNetGetConnection() function. When I perform this function on network drives Windows reports as &...
dustmole's user avatar
-1 votes
1 answer
209 views

The mapped network drive could not be created because the following error has occurred: The parameter is incorrect

cmd.exe /C "cmdkey /add:"******" /user:"*****" /pass:"**********`"" OS version Share Disk mount Error 1.Checked the network connection no block 2.Checked the ...
KT.DR's user avatar
  • 11
0 votes
1 answer
843 views

How to get a Subfolder with the SMBLibrary in .Net Core?

So I need to acces a subfolder in Sharedrive with the SMBLibrary. I was expecting a list of folders of the subfolder but I always get a 0 count. SMB2Client client = new SMB2Client(); bool isConnected ...
AaronH2001's user avatar
0 votes
0 answers
18 views

Unmounted or ejected Networkdrives still appear under /Volumnes folder

I am mounting network drives using below API let result = NetFSMountURLAsync( serverUrl as CFURL, mountDirectoryURL as CFURL, nil, nil, nil, ...
MacDeveloper's user avatar
  • 1,334
1 vote
1 answer
153 views

How to export google sheet to CSV and store the CSV in a Network Drive (NOT the shared drive in google drive)?

In this post, I can use the script to export a sheet from google sheet to a csv file, but that file is saved in my google drive. How can I export it to a network drive? The network drive I mean is ...
Subaru Spirit's user avatar
0 votes
0 answers
21 views

How to map cloud machine on local pc

I reserved a machine on a machine on cloudlab a website that gives you the ability to reserve machines. I want to mount a machine on my local pc. This is the link I use to ssh to a machine. username@...
Βασίλης Χατζηπαντελή's user avatar
-1 votes
1 answer
332 views

vb.net how to check network drive is mapped

I am studying VB.NET and looking for way to check if application mapped to network drive. I check vb.net how to check if a network drive is mapped persistently and i also trying to ping to network ...
NBB's user avatar
  • 137
1 vote
1 answer
98 views

Socket WinError 10022 but only as an executable on a Networkdrive

I've got an XML file from which I parse a host adress + port. My script is supposed to establish a connection to every host over the given port (only port 22 ATM) to check the availability of the ...
emanuel's user avatar
  • 11
0 votes
1 answer
263 views

PHP How to create folder and files on network share drive with IIS10

I make PHP on IIS10 (windows server 2016) with FastCgi I want to create upload edit folder and files on network share drive or map drive on server but not working got error The server can access ...
TEN_KUNG's user avatar
  • 1,229
0 votes
0 answers
532 views

Remotely delete and map network drive for a user

I am trying to remotely unmap and map a network drive for users on my domain. I need it to work by searching a key phrase in the drive path (\"phrase"\folder...) While not knowing the letter ...
Alex Thibodeaux's user avatar
1 vote
1 answer
408 views

How to enable MAP drive on remote computer session

I've been scratching my head for a long. I've two Windows servers joined to Domain and DFS is installed. So when I'm trying to create a MAP drive remotely from server1 to server2 code is not getting ...
Shritej Murmadkar's user avatar
0 votes
2 answers
746 views

new NetworkConnection causing issues ("network location already in use")

(known) Issue: I have a specific application part in order to create a user home drive on a network location: System.Net.NetworkCredential cred = new System.Net.NetworkCredential(myadmin,pwd); using (...
julian bechtold's user avatar
1 vote
0 answers
114 views

Why Python os.path.isfile() doesn't work in Visual Studio?

I don't understand why the Python function os.path.isfile() returns False with a file that is in a shared folder in a network drive. I'm running the following code with Visual Studio: from os.path ...
nicc96's user avatar
  • 313
1 vote
0 answers
572 views

Where on the host can I find Docker bind mounts that are expected to be on a network drive?

I'm running Windows 10 with WSL2 and a network drive, H:. When I run a Docker container with bind mounts to a location on the local C: drive, everything works as expected: data written to that ...
Darlingtonia's user avatar
0 votes
0 answers
127 views

Cannot to access network path (UNC) using AD service account in console application

I am running a console application using task scheduler to read files from a shared network drive. The account running the application is a AD service account. When I try to access the network ...
ajay's user avatar
  • 11
0 votes
0 answers
124 views

Use deno to create windows network drive (using windows dll)

I want to rewrite an old .bat program into Deno compiled app. I know how to handle most things, but I do struggle with creating network drives. Previously I used code like this: cmdkey /add:PCName /...
Akxe's user avatar
  • 9,794
0 votes
0 answers
107 views

C++ Problem not return network drive (Z:/) , with running the program in RunAsAdmin mode

I have written a program to display the available drives. I want this program to work on all versions of Windows. I have a problem, when I run the program with RunAsAdministrator, it does not display ...
Old COder's user avatar
0 votes
0 answers
424 views

Permission denied Read file on a network drive from php server for which just the user has read access to it

I want to open a file in a network drives with php. The file is not accessible for every one, just for one user. I have the following code: $file = "$dir/$fileName"; $fp = ...
Mjd.kido's user avatar
1 vote
2 answers
2k views

Network drive after restart disconnect

I need advice. I run a script on my computer that copies the files to the network drive. Periodically, it turns on via the task scheduler. But it happens that after a reboot the network drive does not ...
Cesc's user avatar
  • 274
0 votes
2 answers
69 views

C# File.copy and Directory.CreateDirectory working on Win10 but in Win7 it appends folder to parent folder

The same code, one on windows 10, the other on windows 7. The idea is to have a directory from a network drive replicate over to a local drive. On windows 10, the machine I am writing it on, it works ...
Mark's user avatar
  • 3
0 votes
1 answer
1k views

Bitbake server does not start

I am having some trouble with building the Yocto project, hope I can find some help. Is there any way to fix the following issue? Let me know if you need any more information. Thanks. My goal I am ...
Authoritay's user avatar
0 votes
1 answer
482 views

Using CVS file to map network drives - PowerShell

I am developing a couple of PowerShell scripts to help speed up the process of migrating user data from an old workstation to a new one. Currently trying to make one to help with retrieving and then ...
Foxtrot360's user avatar
0 votes
1 answer
1k views

How to remove a not working network drive with batch?

I am trying to remove a mapped network drive and add it back again. Users who have problems with their mapped drives, can use this script to fix their not working network-drive so I dont have to do it ...
Alexander's user avatar
2 votes
1 answer
142 views

How to add maximum looping in Powershell?

I would like to mapping the network. I need to use retry if the mapping fail, and the maximum retry 5 times. I've tried this way, but I can't figure out how to add the maximum retry. Do{ Try{ ...
Cheries's user avatar
  • 832
1 vote
0 answers
850 views

Powershell: Copying a file to remote server using New-PSDrive

I need to copy a file from my Windows server to another remote server using Webdav. The first thing I do is map a network drive in PowerShell: [String]$WebDAVShare = '\\xxx.xxxxx.xxx@SSL\DavWWWRoot\...
Stuif's user avatar
  • 11
1 vote
0 answers
235 views

Reading parquet files with pyarrow from windows shared drive

I'm trying to read parquet files which are located on a windows network drive usingpyarrow 6.0.0. The drive is mounted on my system so I can access the files under H:\my\parquet\files. The problem is ...
fata's user avatar
  • 87
2 votes
2 answers
966 views

How to wait until a file is successfully copied from a network drive before reading from it?

I am currently facing a problem with an application which consists of multiple components. One component of the application periodically checks for new files on a network drive and copies them into a ...
Chris's user avatar
  • 1,457

1
2 3 4 5
8