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

2000 Server mapped drive

Have a 2000 server that has a Maxtor 120 GB external USB hard drive attached. The drive is F:\ and it contains a folder named Company-Archive. The Company-Archive folder is shared for all domain users. On the server I mapped F:\Company-Folder as R:\ "Company-Archive on 2kserver (R:). In the logon script for users I have "net use R: \\2kserver\Company-Archive". Sometimes I remove the drive and take it home, it's a back up device. When I bring it back and plug it into the 2Kserver I can access all of the contents via F:\Company-Folder but not through the mapped R:\. All I get are the root folders with no visible sub folders or files. Even after using Explorer on the server and disconnecting R:\ from the TOOLS menu and then using "Map Network Drive..." menu to reconnect R:\ I get same results, root folders but no visible sub folders or files. Sometimes this occurs even when the USB hard drive has not been unplugged.

Any way to map F:\Company-Archive shared folder directly so it always will refresh even if the external USB HD has been removed and plugged back in?
0
cshorey
Asked:
cshorey
  • 4
  • 4
1 Solution
 
AlexdelenCommented:
try with VBS in your logonscript

Set oNet = Wscript.CreateObject("Wscript.Network")
filesrv = "2kServer"
oNet.MapNetworkDrive "F:", "\\" & filesrv & "\Company-Archive\"

Regards,

Alex
0
 
cshoreyAuthor Commented:
Tried the VBS in the logonscript but can't even see the root folders now.

Some more info:

When I open Windows Explorer at the server I disconnect R:\ and manually goto the TOOLS menu to "Map Network Drive...". After mapping the F:\Company-Archive to R:\ I try to explore it and only get the root folder listing. No sub folders or files visible. Can browse the F:\Company-Archive and see all sub folders and files so I know the drive is functioning properly. Strange
0
 
AlexdelenCommented:
Sorry it was

oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\"

other question. You didn't change any security under the root folder?

0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
AlexdelenCommented:
Something else you could try to see if it works is to map a subfolder of your mapping.
so it would be

oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\SUBFOLDER\"
0
 
cshoreyAuthor Commented:
oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\SUBFOLDER\"

didn't work either.

Still can't figure out why using the TOOLS-Disconnect Network Drive and the TOOLS-Map Network Drive won't at least make R:\ accessible at the server level.
0
 
cshoreyAuthor Commented:
Went into Sharing for the folder. Chose "Do not share this folder" and applied the change. Then went back to Sharing for the folder and chose "Share this folder" with the exact same share name of "Company-Archive". Everything works OK. Any thoughts?
0
 
AlexdelenCommented:
MicroBug .... :)

could be something with the securities or sharing with all the problems you had :)

You know.

Anyway I'm glad it works. (ps the VBS works really good in logonscripts :) )

Best Regards Alex
0
 
cshoreyAuthor Commented:
Yes the VBS was/is very helpful, thank you.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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