• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

mapping a network drive

I have a scheduled task that runs at night which launches an application for maintenance purposes. The application creates an activity log which I would like to place in a specific folder on the network, however the app does not support unc so I need to use a mapped drive letter. The problem is that the mapped drive is not valid when logged off of the system. Is there a way to establish a permanently mapped drive (logged in or out)?
2 Solutions
You might be able to give the MACHINE account rights to the share.  Then map the drive using a machine GPO startup script.

Seeing how the permissions will be granted using the machine account, the user information isn't needed.  An example of this can be seen in this article:  http://www.gmi.edu/~ehosmer/nina/NT_Admin/Lab_Installs.html

See the Logon scripts section..

Could you save the info locally in a folder and then when its done use a script to copy the folder to the network location.

Use Xcopy.

XCopy C:\Folder\*.* \\Computer\Share\folder /Y /R /H /C
jgvAuthor Commented:
I ended up scheduling a vb script that will map the necessary drive using the windows scripting object and then launch the application. This does what i need. 2hype is of course correct and I didn't have time to try NJ's suggestion so I'll split the points.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now