Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Script-Permanently Map Network Drives?  (Read 3393 times)

0 Members and 1 Guest are viewing this topic.

Edward

  • Guest
Script-Permanently Map Network Drives?
« on: May 04, 2007, 05:40:31 PM »
 8) Good weekend everybody! 8)

How can I permanently map network drives to NOT be dependant on a logged in account?

Details:
I have a script that will automaticaly backup content from network drives.  It seems that if I schedule this batch file to run using the Windows 2003 Standard Server Edition's task scheduler it will run fine, as long as I'm logged in.

Once I log out, the script will not fully run because the mapped drives are disconnected.  How can I permanently map network drives?

I have also seen this on XP Pro, where even if the option to remap on login is selected, XP will not do so and I manualy have to explore and open the corresponding mapped drive icon.  ???

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Script-Permanently Map Network Drives?
« Reply #1 on: May 05, 2007, 07:54:20 AM »
Try using UNC paths instead of mapped paths. The UNC path should always be available.

 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

Edward

  • Guest
Re: Script-Permanently Map Network Drives?
« Reply #2 on: May 07, 2007, 01:09:34 PM »
UNC paths worked.
-------------------------
Update

   90% of the script worked but an executable I found that will eject the DVD drive will still NOT run while logged off.  does anyone have any ideas.  ???

Tested the script directly (while logged in)-- sucsesfull
Tested Scheduler (while logged in)-- sucsesfull
Tested script /w scheduler (while LOGGED OFF)--  exe failed to run.
« Last Edit: May 08, 2007, 01:08:05 PM by Edward »