Re: User login problem

From: Pegasus \(MVP\) (I.can_at_fly.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 22:31:10 +1100


<anonymous@discussions.microsoft.com> wrote in message
news:236f01c3fc59$a27659e0$a301280a@phx.gbl...
> >I would rename the user's profile folder, to force a new
> profile to be created.
>
> As I mentioned in my original post, I have already done
> that. It worked fine on the first login. Rebooting the
> machine and logging in again made the problem reappear.

So you did, and I missed it when I read your post. Since
all other users can log in successfully, there may be something
wrong with your user's account at domain level. I would now
modify the login script like so:

@echo off off
if "%Username%"=="JSmith" echo on
. . .
. . .
if "%Username%"=="JSmith" pause

This would allow you to see which command hangs the
login script.

As an alternative, you could do this:
@echo off
if "%Username%"=="JSmith" goto :eof

This will skip the logon script for JSmith. You can
now start a command prompt and do this:

copy \\YourServer\Netlogon\Netlogon.bat c:\temp

Now remove the @echo off command from the
local logon script, and execute it manually.



Relevant Pages

  • Re: Changing files between users.
    ... Type this command: ... echo %UserProfile% ... Does this profile folder exist? ... the filename vol label syntax is incorrect ...
    (microsoft.public.windowsxp.general)
  • Re: Changing files between users.
    ... Type this command: ... echo %UserProfile% ... The profile folder for "Cody" is ...
    (microsoft.public.windowsxp.general)
  • Re: Updating Ad-Aware SE Personal i SpyBot S&D from command line?
    ... > is CareWare) as my Domain Login Script. ... When using spybot 1.04 do not stop with scan and immunization. ... Get familiar with the Winsock LSPs that belong as I have seen several ... Here are Spybot command ...
    (alt.computer.security)
  • Re: Disabling non-Microsoft services?
    ... You can see what happens by going to a command prompt and typing "echo ... before letting it loose in a login script. ... installing Symantec AntiVirus 10.0 Corporate Edition. ... service is automatically set to AUTOMATIC. ...
    (microsoft.public.windows.server.sbs)
  • Re: Benchmarking a script that cant be executed form the command line
    ... > employeer wants it to be system using Perl. ... It's been in production ... > login script. ... command line - you may run into this type of situation again. ...
    (comp.lang.perl.misc)