Thanks for your reply.
Yes, if I run the script manually (\\server\sysvol\.....) it works great,
but as a logon script, not really. I'm applying it in GPMC (at the domain
level).
I'm sure the script is running because for troubleshooting issues I put some
wscript.echo in the script just to see where it's at and it seems to be just
fine. Actually I have a very similar script running on a testing server (sbs
2008) and it works fine. I can't find any major differences between the
working and not working server using RSOP.
I know that it's not because the slow link, etc. test it already.
The script that I posted here doesn't work too! If I applied it, I have the
same problem.
I have no On Error Resume Next, so any errors should be reported.
Thanks again for your reply.
> "gimolu" <gim...@hotmail.com> wrote in message
> news:ujD9DuHaKHA.3992@TK2MSFTNGP04.phx.gbl...
>> HI,
>> I am having a problem with a script that I have in user logon that maps
>> some drives I need. Here is an example of the script:
>> Dim objNetwork
>> Set objNetwork = CreateObject("WScript.Network")
>> objNetwork.MapNetworkDrive "L:", "\\server\share"
>> objNetwork.MapNetworkDrive "Y:", "\\server\share1"
>> In the client computers I run he gpresult /v command and the script says
>> that it has been executed accordingly.
>> This is just a small part of the script because the drive map occurs if
>> the user belongs to a specific group (and yes if I put a wscript.echo and
>> it works great).
>> I've run out off troubleshooting ideas! the script just won't run!
>> Can someone point me to the right direction?
>> PS: with the new Drive Maps Options of windows 2008 (CSE) I can map
>> drives, however, I need this script up and running!
>> Thanks,
>> LR
> Do you configure logon scripts on the "Profile" tab of user properties in
> ADUC, or in a Group Policy applied to the domain or an OU? Are you saying
> the script runs fine if you run it manually (as a normal user) after
> logon, but doesn't seem to run at all as a logon script?
> See this link for details on configuring logon scripts:
> http://www.rlmueller.net/LogonScriptFAQ.htm
> If the script runs fine manually, but doesn't seem to run as a logon
> script, add a lines to the script that either display messages to the user
> (using MsgBox statements), or that write information to a local file.
> Possibly the script raises an error. If you use "On Error Resume Next",
> remove that so you see the error message. Otherwise, you may need to post
> the script here so we can evaluate it. Some methods commonly used to
> evaluate group membership are flawed, for example.
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --