Re: User Scripts



Dennis,
based on your description, it appears that the issue is unlikely to be fixed
by running gpupdate /force or rebooting the computer. I'd suggest focusing
on network conectivity. Do you have Fast Logon enabled (i.e. is the setting
"Always wait for the network at computer startup and logon" under Computer
Configuration\Administrative Templates\System\Logon disabled)? Do you use
Cisco switches with PortFast enabled? Can you map drives manually when the
automatic mapping via logon script fails?

hth
Marcin
"Dennis Backherms" <dbackherms@xxxxxxxxxxxxxxxxxxx> wrote in message
news:0ac6604d-2918-4b8e-8474-2880922b13fa@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 2, 2:31 pm, Zack Chimento
<ZackChime...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Not entirely sure if this will help but...
We have a similar problem here at the school I work at. Sometimes random
users will not have their shared drives, or only some of them. 90% of the
time a restart will fix this.
Another thing I've tried killing the connection session on the server
itself. We use Win2k3 and this is what I do:
On the server goto desktop. My Computer > Properties > Manage > Shared
Folders > Sessions
Terminate the sessions for that machine.
Sounds like over all your having a scripting issue, Perhaps with the users
experiencing the problem, check if other scripts function correctly, if
you
dont have any others, try a basic script, maybe adding a printer, to see
if
scripting is working correctly for that user.
If all users in a department or the entire work places share the same
shared
drives, I recommend putting them all in the same OU and scripting it so
all
users within that OU get said shared drive.

We use ".bat" files for our logon scripts. Here is what we use for mapping
our driver:

net use s: \\dragon-dc\students
net use x: \\dragon-dc\datafolder

etc etc
Open group policy management and either create a single GPO and link it to
each persons OU or create a gpo in every OU with users in it and edit the
GPO
and select a startup script. Every time they logon it will map the drives.

"Dennis Backherms" wrote:
I have been experiencing problems recently with my domain user
scripts. I have users who do not receive their mapped drives when they
first login. Once the user has logged in, I run gpupdate /force and
then reboot the machine and once rebooted the mapped drives are
present. I have to do this everyday for some people but not all and in
different departments. Also one other fix is to reboot the machine 3
to 4 times and then the drives are present. If anyone has any leads as
to why this maybe happening or could point me somewhere to look on my
AD server I would appreciate it.

-Dennis

I also use bat files for scripting and I use the same command you use.
The way I do it though is a little different, but not much. What I do
is under the properties of the user I click on the profile tab and
then add the bat file name to the logon script text field. I have also
tried creating one single mapped drive as a test using the same
implementation and I still experience the same issue. Unfortunately I
work in an environment that does not allow the simplicity of deploying
one script file for all users in one OU, do I wish it were so. I thank
you for your reply and if you think of anything else let me know.

-Dennis


.



Relevant Pages

  • Re: MapNetworkDrive not working during first logon
    ... is mapped automatically as part of the users profile. ... if I open a command prompt and switch to one of the mapped drives I ... script runs I get the popup message ... No path is specified for the logon script itself. ...
    (microsoft.public.scripting.vbscript)
  • Re: User Scripts
    ... "Always wait for the network at computer startup and logon" under Computer ... users will not have their shared drives, ... dont have any others, try a basic script, maybe adding a printer, to see ... Also one other fix is to reboot the machine 3 ...
    (microsoft.public.windows.server.active_directory)
  • RE: Drive map issues after SP1
    ... There was never a /persistent:yes in the script - I had to add the ... the logon script will try to map the drive again. ... > before the map drive command to delete all the mapped drives: ...
    (microsoft.public.windows.server.sbs)
  • Re: MapNetworkDrive not working during first logon
    ... Here is the code that I use to map conditional network drives. ... script runs I get the popup message ... No path is specified for the logon script itself. ...
    (microsoft.public.scripting.vbscript)
  • Re: Several Questions on Login Scripts
    ... If you configure a logon script on the Profile tab and also in a Group ... Dim prnBoeingDefault ... the drives that returns True if successful, ...
    (microsoft.public.windows.server.general)