Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Login Script Authentication Issue

Posted on 2007-12-05
4
Medium Priority
?
893 Views
Last Modified: 2012-06-27
Experts,

Our users currently use a batch script that is configured on each active directory profile that runs at each logon.

The script is below:


@echo off

net use /delete g:
net use /delete f:
net use /delete h:
net use /delete p:
net use /delete n:


net use f: \\nyc.chelseacom\Data\Files
net use h: \\nyc.chelsea.com\Data\Files\%username%
net use i: \\Ftp-vpm-sql10.nyc.firtree.com\IBSI


net time \\nyc.firtree.com.nyc.firtree.com /set /y

I have an issue that happens randomly. Sometimes the script would halt and say " please enter username for nyc.chelsea.com" then you would have to enter your username, it would then ask for the password, you would have to do this twice.

I have no seen a pattern but sometimes the logon script halts at this point and users just "x" out of the box and the drives do not map.

Please advise as to what could be causing this issue.

Thanks!


0
Comment
Question by:Crucio666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
SteveGTR earned 1000 total points
ID: 20412453
Configure your group policy to wait for the network prior to running scripts:

Computer Configuration\Administrative Templates\System\Logon\ Always wait for the network at computer startup and logon

Here's more information:

http://technet2.microsoft.com/WindowsServer/en/library/89d7ec5f-a909-4f61-aded-c5b69f5f730b1033.mspx?mfr=true
0
 

Author Comment

by:Crucio666
ID: 20412541
thanks so much, i just enabled this, i will test for a few days and see if it works.
0
 

Author Comment

by:Crucio666
ID: 20415515
the same thing just happened after enabling this =/
0
 
LVL 30

Expert Comment

by:SteveGTR
ID: 20789678
Hey, good luck with the problem. In the future you'll get so much better support when you always grade using an A.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question