mapping a network drive

Posted on 2005-04-07
Last Modified: 2010-04-12
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)?
Question by:jgv
    LVL 33

    Assisted Solution

    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:

    See the Logon scripts section..

    LVL 13

    Accepted Solution

    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
    LVL 12

    Author Comment

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now