cshorey
asked on
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?
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?
ASKER
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
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
Sorry it was
oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\"
other question. You didn't change any security under the root folder?
oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\"
other question. You didn't change any security under the root folder?
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\SUBFOLDE R\"
so it would be
oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\SUBFOLDE
ASKER
oNet.MapNetworkDrive "R:", "\\" & filesrv & "\Company-Archive\SUBFOLDE R\"
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.
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.
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes the VBS was/is very helpful, thank you.
Set oNet = Wscript.CreateObject("Wscr
filesrv = "2kServer"
oNet.MapNetworkDrive "F:", "\\" & filesrv & "\Company-Archive\"
Regards,
Alex