Skip to main content

Timeline for answer to Map a network drive to be used by a service by ForcePush

Current License: CC BY-SA 3.0

Post Revisions

25 events
when toggle format what by license comment
Sep 24, 2024 at 14:45 review Suggested edits
Oct 4, 2024 at 10:56
Mar 20, 2019 at 9:48 comment added Tomasz Plonka /persistent:yes has no effect on Windows 10 neither
Feb 14, 2017 at 15:57 comment added iPath ツ Do you know the technical reason of why mapped drive is visible to all users? Or it's just a bug?
Nov 30, 2016 at 10:58 comment added AudioDroid For reasons I'm not sure of this has NOT worked for me. It has instead screwed up my boot up and shutdown process to the point I could not log in any more. It took me quiet some effort to undo what is suggested here, because the suggested tool doesn't work in safe mode. Luckily I could apply the revert changes without using the tool (psexec).
Nov 18, 2016 at 0:27 comment added mberna How can I remove the credentials for this or specify different credentials if I specified savecred the first time? The system credentials do not appear in the control keymgr.dll
Nov 17, 2016 at 23:18 comment added mberna This works, I would reccomend using /savecred also so that it will save credentials. This worked great for me mapping NAS drives to an apache server.
Jan 18, 2016 at 10:14 comment added Kitet I want to add that it is important that everyone uses the clause /USER:[remotecomp]\[remoteusername] [password] (command does not work properly sometimes when remote user name is not preceeded with remote computer name and a backslash. Also, if the share is password protected, and appears for others as disconnected drive, it is NOT accessible for everyone. Any user on that system, where SYSTEM mounts a share must know the password to that share. (tested on XPx64)
Jan 12, 2015 at 19:51 comment added James Eby You can also run this script you created as a part of startup group policy for your computer, technet.microsoft.com/en-us/library/cc770556.aspx. This will set the drive up for any user on the system every time the computer starts.
Sep 24, 2013 at 14:05 comment added Calimo On Windows 7, /persistent:yes has apparently no effect and the drive isn't available after reboot. I ended up including net use z: /delete and net use z: \\servername\sharedfolder /user:username password directly in the batch script.
Jul 10, 2013 at 14:58 comment added dlamotte You should update your answer to address this in newer windows hosts (server 2008+). You need to add /user:username or it refuses to mount the drive as the system account
Apr 3, 2013 at 3:00 comment added Shrage Smilowitz @TRS-80 Startup scripts run before user login's, to create a mapped drive you have to be logged in. I tried your solution but the mapped drive is unavailable after a reboot. Am i missing something?
Mar 6, 2013 at 10:13 comment added chuacw Why does ForcePush's solution not work for IIS? On IIS, I mapped /VirtualDirectory to Z: which maps to another machine. But when I tried to browse website/VirtualDirectory, I can't get to the map. If I use command line or explorer, I can see Z: and copy files there.
Jan 10, 2013 at 14:00 history edited bluish CC BY-SA 3.0
added 2 characters in body
Jan 8, 2013 at 15:43 history edited Jeff CC BY-SA 3.0
deleted 185 characters in body
Apr 20, 2012 at 2:06 comment added TRS-80 To get it working after a reboot, create a script just containing net use z: \\servername\sharedfolder and set it to run on computer startup, per technet.microsoft.com/en-us/library/cc770556.aspx This will run as the SYSTEM account, so no need for psexec.
Mar 29, 2012 at 16:39 history edited Joey CC BY-SA 3.0
deleted 1 characters in body
S Nov 11, 2011 at 16:49 history suggested Bill Moon CC BY-SA 3.0
I added -i to the psexec command, as that was how I got it to work for me
Nov 11, 2011 at 16:44 review Suggested edits
S Nov 11, 2011 at 16:49
Oct 20, 2011 at 11:19 comment added Dave Patterson I also see the mapping as unavailable after a reboot.
Oct 17, 2011 at 9:48 comment added Tommy After a reboot the mapped drive is gone. Any ideas?The mapping is persisted, but the status is "Unavailable" so it doesn't show up
Oct 4, 2011 at 13:43 comment added Nik I have the same problem as Constantin - any ideas how to share for both system and users?
Aug 4, 2011 at 13:42 comment added Tommy Works like a charm! Thanks! Been struggling with this for a while
May 13, 2011 at 14:24 review Suggested edits
May 13, 2011 at 14:28
Feb 14, 2011 at 16:04 comment added Constantin Baciu I was trying to use this solution and ran into this problem: the mapped drive appears as disconnected to the users (even admins). Any suggestions?
Jan 21, 2011 at 20:11 history answered ForcePush CC BY-SA 2.5