[windows2000] Re: Wit's end with login scripts

  • From: "Costanzo, Ray" <rcostanzo@xxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 20 Nov 2003 15:31:25 -0500

If there's no DC available and the user logs in under cached
credentials, the scripts won't run of course.  One thing you could do to
check for this issue is to log people's logins to see if their scripts
are running.  It could be as simple as adding something like this to
their login scripts.

echo Login begin:
%DATE%,%TIME%>\\someserver\SomeOpenShare$\%username%.log
rem all the normal login script stuff here
echo Login end:
%DATE%,%TIME%>>\\someserver\SomeOpenShare$\%username%.log

Then when Joe user calls up and says he doesn't have a drive, you can
see if his script ran today.

Another thing you could do is log all the responses from the login
scripts.  I think that this would involve calling a script from a login
script though.  Like, if the user's current logon script is logon.bat,
you'd have to change his logon script to getlogon.bat with contents as
such:

%logonserver%\netlogon\logon.bat>logonLog%username%.log


If I make no sense, I apologize.  I was reading your message, replying
to it, and thinking about it at the same time.

Ray at work


> -----Original Message-----
> From: Parsons, Laura [mailto:LParsons@xxxxxxxxx] 
> 
> Am I the only person in the world who deals with flaky login scripts?
> Recently did an Active directory migration, but even before that I had
> intermittent problems with these batch files. Sometimes 
> they'll run without
> a hitch for months. Then one day an H drive won't map or a 
> home drive won't
> show up. Or just one drive mapped in a kix script will map 
> and the others
> won't. Ugh. I'm using a combination of batch files that call 
> kix scripts.
> There are many different scripts that this is happening to as each
> department has their own. Even when I run the script with a 
> pause statement
> to follow it's progress, no errors pop up, the drives just 
> don't map. Is it
> me??


**********************************************************************************************************
The information contained in this e-mail message is intended only for the 
personal and confidential use
of the recipient(s) named above.  Distribution, publication, or retransmission 
of this message is strictly 
prohibited.  This message may be a bank to client communication and as such is 
priviliged and confidential.  
If the reader of this message is not the intended recipient or an agent 
responsible for delivering it to the 
intended recipient, you are hereby notified that you have received this 
document in error and that any 
review, dissemination, distribution, or copying of this message is strictly 
prohibited.  If you have received 
this communication in error, please notify us immediately by e-mail, and delete 
the original message.

The sender of this e-mail specifically "opts-out" of the Electronic Signatures 
and Global and National 
Commerce Act (E-Sign) and any and all similar state and federal acts.  
Accordingly, but without limitation, 
any and all documents, contracts, and ageements must contain a handwritten 
signature of the sender to
be legal, valid, and enforceable.
**********************************************************************************************************

********************************************************
This Weeks Sponsor SeamlessPlanet.com
Register your domain name for as low as $7.75 per year!
Cheaper than Godaddy..same great service! 
http://SeamlessPlanet.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: