Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi i have a problem with mapping drives. XP Machines working on a server 2003 domain. I have made sure the users logged on have full admin access etc but to avail. Any ideas on the below:
1) I connect a mapped drive and it works fine
2) On relogin the mapped drive dissapears
3) Login scripts do not map a drive allthough I have assigned it and created it within group policy
Thanks

Did you select "Reconnect at login?" What is the text of your script?
Life's more painless for the brainless.

"users logged on have full admin access"
That is a "never ever do" IT rule.Odds are you script is erroring out because the drive mapping already exist [persistant].
With a user logged in manually run the script and see what happens. You may need to put pauses between line to catch the errors.
Have you removed "everyone" with full control from your shared?
Have you limited the shares in any way?No one has to be an admin. You just have to allow full control to the share. Once working you can then define tighter security.
Imagine the power if you knew how to internet search

I trid admin access to see if it would make a difference. I put it back once I had finished :)
Share has no limitations.
The pc's do not have existing mappings on most. Still it does not appear. The login script is placed where the last one was so I don't think the problem is where it is located. I just added another line to the code with a drive letter not being used by any clients, yet it still does not map.
The issue is once i disconnect one drive it keeps reappearing on relogin. I dont know why as the scripts have no mention of the mapped drive being.

So again...what is the text of your script?
I thought the issue was the shared drives are NOT being mapped? At least that's what you said in your Original post.
Ditto what Wanderer said; no reason for users to have Full Control of their shares.
Life's more painless for the brainless.

Option Explicit
Dim objNetwork
Dim strDriveLetter, strRemotePathstrDriveLetter = "Z:"
strRemotePath = "\\server\rmmaths"' Purpose of the script to create a network object. (objNetwork)
' Then to apply the MapNetworkDrive method. Result z: drive
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDriveLetter, strRemotePathWScript.Quit
' End.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |