Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 691
  • Last Modified:

Login Script not running for some users

I've got a small company network of about 50 computers. Here in the past 2 months I've been experiencing problems with login scripts not running at startup. If the script falls to run users have no access to their mapped drives or exchange. I can shut the computers down and restart and login under a domain admin account and the script will run fine. Once this is done the user can login and the script will run. Does anyone have a clue what might be causing this?
0
jeania
Asked:
jeania
  • 5
  • 4
2 Solutions
 
Patmac951Commented:
Are you assigning the scripts to a Group the users are a member of? or individual user?
0
 
jeaniaAuthor Commented:
Looks like they are set to run through a group policy. Does that help?

I did notice that the domain admin account was the only one with the script assign in ADUC user profie/logon script

0
 
naykamCommented:
Is it a permissions issue? Where is the script located?
Ensure that system, and other appropriate permissions are correct on the folder / script.

Also ensure the script have to be visible to the clients and group policy system, ie. On a network share.

quote "I did notice that the domain admin account was the only one with the script assign in ADUC user profie/logon script;
I am assuming the script so be assigned to all users? Obviously the group policy is enforce on the wrong OU, or a security group has been removed?

As you mentioned, you have been having "some problems" I am guessing that your logon script is set to persistant maps. Therefor "most" users are holding the drives upon logoff/logon - and it may seem like the script is rerunning, when in fact there is a problem.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jeaniaAuthor Commented:
Script is located in C:\windows\SYSVOLl\sysvol\domain\scripts on my DC
The folder is shared and all users have permissions to read
Not sure why just the domain admin has the script assigned. Should I assign it to all users?

I've also noticed that some users just lock the computers at night and when they unlock the next morning they have lost their drives. Could all this be caused by a network issue?
0
 
naykamCommented:
Yea, well I am assuming everyone needs to run that script, would that be correct?

its odd they loose the drives, even if network drops it should hold them as disconnected. I doubt its a network issue, you could run a simple ping test to that machine overnight.
0
 
jeaniaAuthor Commented:
Yes everyone needs the script.

I had a user this morning who locked her computer last night and when she come in this morning she had no network access "drives, email etc.." Once I shut down the machine and logged her back on she had access to all network drives and email.
0
 
naykamCommented:
Yea I don't see why it *wouldn't* be on all users. Defiantly apply the script to everyone - well if thats what you want to achieve?

I regards to loosing connectivity overnight. Check power settings, The computer might be shutting down the network interface for power saving. It may be under windows power settings or the network adapter settings.

You may also want to look at this; and how windows disconnects drives; even though it should remove them completely, it will just appear inactive.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q138365

Let me know how you go with power settings
0
 
jeaniaAuthor Commented:
Will check and get back with you. Thanks for the help.
0
 
naykamCommented:
how did you go with this?
0
 
jeaniaAuthor Commented:
Still happening. I had 3 machines this morning would not run the script. I'm really starting to think I got a network issue. This morning the user could login, but the desktop wouldn't load. I had him shut down and once restarted the desktop loaded slowly and finally the script run. He also made the comment that his desktop icons get  all messed up every time this happens.
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.

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