• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 554
  • Last Modified:

Computer auto logs off immediately after logon.

I have an Acer laptop that logs off immediately after i click the login icon. I don't know what is going on with it. I can login without any problems in safemode. Please help.
0
erickzavala
Asked:
erickzavala
  • 17
  • 13
  • 4
  • +3
1 Solution
 
Nenad RajsicCommented:
try this from safe mode:
http://www.troublefixers.com/windows-logs-off-automatically-while-login/

make sure you backup your registry first
0
 
Ultra_MasterCommented:
Hi,

There could be a lot of reasons why the laptop acts like that. Let's take it one step at a time:

- Log on in safe mode and do a virus scan with your antivirus. If you don't have one you can try installing a trial or running an online scanner version.
For a trial I recommend Kaspersky Internet Security: http://esd.element5.com/pimages/50105/kaspersky_internet_security_2010_trial.html
For an online scanner I recommend: http://www.bitdefender.com/scanner/online/free.html
Run a scan using one of these methods and see if there is any virus residing on your laptop. If that is the case then use an antivirus to remove the found viruses.

- If there is no virus that prevents your computer to start properly then this means only one thing: a software issue.
There is a certain software that, when started, makes your notebook to log off.
In order to deal with this problem do the following thing:
Go to Start-> Run or simply pres Windows key + R and type msconfig then press Enter.
You will see a window that says: System Configuration
Go to Startup tab in that window and uncheck any row that isn't critical for your computer to run.
Then apply your choice and restart your computer. Do this one step at a time until you find the software that is causing the problem. First you uncheck all unnecessary software then if the computer works as it should keep rechecking one soft at a time until you find the one that causes the computer to fail again. Then decide what to do with that software.

- If you have installed any driver recently and after that the computer started acting like that then uninstall the respective driver.

- While in Safe Mode try reverting to a previous restore point made by Windows. You should try with the most recent and go back in time until you find the one which brings your laptop back to life.


Good Luck,
Ultra_Master
0
 
erickzavalaAuthor Commented:
in safemode I can't run any virus scans (Online or Offline). I have restored the computer to the furthest available and it was sucessful but, it did not fix the problem. Also, I have not installed any new drivers. I did however installed an antivirus program called defender pro 5 in 1. There is an application called System Recovery Options and I have tried all of them with no luck. I don't have aany restore cds or dvds to restore the computer back t factory settings.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
johnb6767Commented:
In Safe Mode, start>run>regedit

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

Whats the UserInit value?
0
 
erickzavalaAuthor Commented:
C:\Windows\System32\Userinit.exe that's the value. I read on a post to change the value but when i went to look at it it was already there.
0
 
edbedbCommented:
Try replacing the userinit.exe file with a new copy. You should be able to find one on your computer by using Search.
0
 
erickzavalaAuthor Commented:
I can't find a copy of the userinit.exe file.
0
 
edbedbCommented:
Are you sure? There should be one in the C:\WINDOWS\SYSTEM32\dllcache directory.
Otherwise you can get one from another computer with the same service pack.
0
 
mastooCommented:
Look at your system, application, and security event logs while you are logged in safe mode.  It might be telling you why it logged you off.
0
 
erickzavalaAuthor Commented:
well, when i try to go (in safemode) to the control panel it tells me that the control panel folder is empty. is there another way to look at the logs?
0
 
mastooCommented:
Right click MyComputer and select Manage, and you'll find the events in there.
0
 
Ultra_MasterCommented:
Hi,

I attached my userinit.exe. Maybe it helps you in some way. Anyway, try using it and if it doesn't' work get rid of it :).  I have a Windows Ultimate Black Edition 32 Bits.

Good luck,
Ultra_Master
userinit.exe
0
 
johnb6767Commented:
"C:\Windows\System32\Userinit.exe that's the value. I read on a post to change the value but when i went to look at it it was already there."

Should be this, including the comma....

C:\Windows\System32\Userinit.exe,

Make sure that your hidden/system files are visible...

You shouldnt even be able to log into Safe Mode this way...
0
 
erickzavalaAuthor Commented:
johnb6767. the comma is there, I just forgot to add it on my post.. I was able to replace the userinit.exe file from the recovery partition on the computer's HD. but no luck.


Ultra Master: Will the file work even if my system is 64bits?
0
 
Ultra_MasterCommented:
I don't know, I don't have a 64 bits OS installed as this is conflict with most of my important software.
You can try it, but make a system restore point before, just in case.
I think it shouldn't be any problem as 32 bit apps are supported on 64 bit OS, especially as this is Microsoft's app.
0
 
edbedbCommented:
In safe mode click Start>Run and enter msconfig. Select the Startup tab and disable everything there the try restarting in normal mode.
Please post back with the result.
0
 
erickzavalaAuthor Commented:
edbedb, i have already tried that no luck. I believe everything still disabled.
0
 
edbedbCommented:
Try a system file check, start in safe mode and at a command prompt enter sfc /scannow.
0
 
erickzavalaAuthor Commented:
i went to see a friend and he  made me a copy of an ERD disk and i was able to pull the Cmputer management app. Under Autoruns, should there be anything there?
0
 
edbedbCommented:
Someone else here probably knows but I am not sure what you mean.
0
 
edbedbCommented:
Did you ever check the event logs? You can get them with Start>Run then enter Eventvwr.msc
0
 
erickzavalaAuthor Commented:
edbedb, Yeah I have a warning "The winlogon notification <GPClien> was unavailable to handle a notification event."

0
 
edbedbCommented:
I think that is a symptom, not the cause.
Have you run the system file check?
0
 
erickzavalaAuthor Commented:
With the ERD disk that my friend provided me, i'm running a Standalone System Sweeper. it says it should find malware, rootkits and potentially unwated software. so far it's telling me that the system maybe infected.... I'm hoping this will work...
0
 
edbedbCommented:
Sounds like you are on the right path. I am about to call it a night. I will check back in the AM. Good luck.
0
 
erickzavalaAuthor Commented:
It did find trojans and virus... cleaned it but still didn't work.
0
 
edbedbCommented:
Using regedit, can you browse to this key, right click on Winlogon and export then attach the export to a post?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
You could also run the SFC in the meantime if you haven't done it yet.
0
 
erickzavalaAuthor Commented:
I did run an SFC but it said there was nothing to repair. Here is the export
winlogonexport.reg
0
 
johnb6767Commented:
Run this for me in start>run>cmd.exe (just rt click and paste it in the dos box and hit enter.....

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v UIHost /t reg_expand_sz /d logonui.exe /f

Shouldnt solve the problem, but it is a missing value from the registry.....

Youre also missing the Notify subkey under Winlogon..... Odd....

How long has this been happoening?
0
 
erickzavalaAuthor Commented:
After i installed the defender pro 5 in 1.  a few days ago.
0
 
erickzavalaAuthor Commented:
At this point, I'm thinking the best thing to do is to order the Restore Cd's from Acer.
0
 
johnb6767Commented:
It might have very well botched the OS... Was System Restore enabled?
0
 
erickzavalaAuthor Commented:
Yeah, System restore is enabled and i have already tried several restore points and no luck. also there is the backup aprtition but when i try to do a compleat restore to factory settings it will ask me for the set of DVD's or a network backup.
0
 
edbedbCommented:
Did you already format the drive?
If not, go back to the Winlogon key in regedit. Right click on it and select permissions. Click the Advanced button and check the "Replace permission entries on all child objects....
Save the settings, restart then export and attach that key again.
0
 
erickzavalaAuthor Commented:
I don't know if it worked or not because it gave me the following message after clicking on apply settings. " Registry editor could not set security in the key currently selected, or some of its subkeys.
winlogonexport2.reg
0
 
edbedbCommented:
It didn't work. Are you logged in as administrator?
Try it again but this time first make sure the Admin and System have full control. If not set it that way first and apply. Then in advanced uncheck Inherit and check Replace.
Let me know what happens.
0
 
erickzavalaAuthor Commented:
When i login it does not give me a choice to login as an administrator. So, how would i activate the administrator account. When i login in safe mode it just goes straight into windows desktop.
0
 
edbedbCommented:
Sorry, I didn't know that but did you try it?
0
 
erickzavalaAuthor Commented:
I have Finally Recovered the computer. I waited a long time for the CD Set. when they finally arrived looks like one of them, the main one was corrupted.  I was so pissed. I called support again, they told me i could access the integrated Acer E-recovery and it worked, i waited so long  just for them to tell me that. I appreciate the help from all of you
0
 
edbedbCommented:
Glad you got it fixed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 17
  • 13
  • 4
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now