User login problem

M

Marc Davies

I manage a Windows 2000 AD domain and have recently had a
user log on problem. The problem is this. If the user logs
onto the domain from her machine using her username and
password, the machine will either not run the login script,
or run it but not complete it.This is then followed by
getting half way through running the startup apps, then
hanging. If ANY other user logs onto the machine,
regardless of whether that user has admin rights or simply
user rights, the machine runs fine. I had thought it may be
a problem with the user's locally stored profile, so I
renamed the profile, logged in with her details and let the
machine recreate the profile. This worked in that it logged
in fine and ran, and I was able to import the user's
Outlook profile. However, when I restarted the machine and
logged in as that user again, the problem reocurred. Again,
logging in as any other user works fine.
 
P

Pegasus \(MVP\)

Marc Davies said:
I manage a Windows 2000 AD domain and have recently had a
user log on problem. The problem is this. If the user logs
onto the domain from her machine using her username and
password, the machine will either not run the login script,
or run it but not complete it.This is then followed by
getting half way through running the startup apps, then
hanging. If ANY other user logs onto the machine,
regardless of whether that user has admin rights or simply
user rights, the machine runs fine. I had thought it may be
a problem with the user's locally stored profile, so I
renamed the profile, logged in with her details and let the
machine recreate the profile. This worked in that it logged
in fine and ran, and I was able to import the user's
Outlook profile. However, when I restarted the machine and
logged in as that user again, the problem reocurred. Again,
logging in as any other user works fine.

I would rename the user's profile folder, to force a new profile
to be created.
 
G

Guest

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.
 
P

Pegasus \(MVP\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top