Go Back   Tech Support Forum > Microsoft Support > Windows XP Support

Windows automatically logs off, can't access desktop! Help!

This is a discussion on Windows automatically logs off, can't access desktop! Help! within the Windows XP Support forums, part of the Tech Support Forum category. My Sony VAIO laptop has been hit by Trojan, and everytime I tried to log onto Windows by entering my


Closed Thread
 
Thread Tools Search this Thread
Old 03-24-2008, 06:45 AM   #1
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



My Sony VAIO laptop has been hit by Trojan, and everytime I tried to log onto Windows by entering my password, it'll log in for about 1 second giving me a glimpse of my wallpaper and automatically log off again!

Now I'm unable to access my desktop or any of my documents. Does anyone know how to fix this?

I tried taking out the hard disk from my laptop, scanned it with an anti-virus device on my PC. The trojan virus was located and healed. And I can access "Drivers", "Program Files", "Windows" and "Documents & Settings", but I couldn't open one of folders/user accounts in "Documents & Settings", in which most of my documents are contained (but strangely it indicates that the folder is EMPTY). Everytime I tried clicking on it, it'll say "Access is denied".

I tried using command prompts but the same thing happened - "Access is denied". Does anyone know what's the cause of this? Or better yet, a solution? THANK YOU!!!

__________________
jentzen5 is offline  
Old 03-24-2008, 08:52 AM   #2
TSF Enthusiast
 
tecknomage's Avatar
 
Join Date: Jan 2008
Location: San Diego, CA
Posts: 928
OS: WinXP Pro SP3



Sounds like you are not logged in to the account (user name) of the profile you are trying to access. That would result in Access Denied.

Are you sure you are logging-in with the user-name and password of the profile in question? Of course, the Trojan may have changed this.

Try logging-in as Administrator, and setting the profile to force new password on logon. Try logon and set a new password.

__________________
Tecknomage
Computer System Specialist
IT Technician
tecknomage is offline  
Old 03-24-2008, 09:04 AM   #3
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



Hello jentzen5

"Access is denied".
You will have to take ownership of the folder by right clicking it and selecting Properties. Select the Security Tab and click the Advanced button. You'll see an Owner tab so add your User Name to the list

You may need to go to My Computer/Tools/Folder Options/View tab and uncheck "Use simple file sharing" or you won't have a Security tab otherwise.

XP Home
Go to Safe Mode to find the Security Tab

You need to be using an Admin Account to do it.
Once you have given yourself permission you will not get the “Access Denied” message.

To apply to subfolders check the box "Replace owner on subcontainers and objects" before you click “Apply”

Can`t login

I hope you have an XP installation CD. You will need one to fix this.

Boot up with the CD in the drive and let setup run.
The first "R" you come to is the Recovery Console. Select this
Just press enter for the password

At the Recovery Console command prompt type

expand D:\i386\userinit.ex_ C:\Windows\System32\userinit.exe
(where D is the CDROM drive)
__________________
Dunedin is offline  
Old 03-25-2008, 04:10 PM   #4
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



Thanks for your advice Technomage and Dunedin.

I tried logging in as an administrator, in safe mode, but the same thing happened - once it's logged in, it automatically logged off! So I couldn't perform what you suggested Technomage.

Then I took out the hard disk from my Sony VAIO laptop, and use it as an external hard disk on my pc to execute Dunedin's suggestion. I right clicked on the folder and selected Properties, but there's no Security Tab, there are only General, Sharing and Customize.

And since I couldn't even logged in using safe mode, the second option is out as well.

Does this make any sense to you? More suggestions? Command Prompts maybe? Thanks again!
__________________
jentzen5 is offline  
Old 03-25-2008, 04:57 PM   #5
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



Another thing is, the folder that I've been trying so hard to access, is supposed to contain many data like documents, pictures etc. But after I encountered the above mentioned problem, when I right clicked on the folder, it indicates that it is empty!

Size: 0 bytes
Size on disk: 0 bytes
Contains: 0 files. 0 folders.

Does this mean that my data has been deleted by the virus? Or it's just a misguided indication? Please advise, thanks.
__________________
jentzen5 is offline  
Old 03-25-2008, 05:07 PM   #6
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



Yes that makes sense.

OK. Your only option now is to try to repair the damage done by the trojan. This is what is stopping you from logging on.

Assuming your desktop PC is running XP
When your laptop hard drive is connected to your PC can you access the C:\Windows folders on the laptop drive.

If so try this and do it carefully.
On your desktop PC system find the file
userinit.exe (C:\Windows\System32\ userinit.exe)
Right click/copy

Then on the laptop drive go to
C:\Windows\System32
Paste the copied file into this folder. If you are asked to replace the existing file click Yes. If it is missing you won`t be asked that
__________________
Dunedin is offline  
Old 03-27-2008, 05:55 AM   #7
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



OK thanks, I've performed the steps you mentioned, located userinit.exe on my desktop pc system, copied it onto C:\Windows\System32 on laptop drive, and replaced the existing one. What next?
__________________
jentzen5 is offline  
Old 03-27-2008, 05:56 AM   #8
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



After I've performed these steps, I tried clicking into the folder I wanted to access and still, Access is denied. Any more steps I need to do?
__________________
jentzen5 is offline  
Old 03-27-2008, 06:53 AM   #9
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



What you have just done was to try to repair damage so that you could log on again with the laptop, not to allow you access to the folder.

Put the drive back into the laptop, boot up and keep your fingers crossed that you can now log into Windows.

If you can you will have access to the folder again.

If this does not work you will have to post a log on the HijackThis forum as this is a malware issue. You will need to run HijackThis on the laptop system.
__________________
Dunedin is offline  
Old 03-27-2008, 09:21 AM   #10
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



Hi there Dunedin. Tried what you suggested, put the drive back into my laptop but still couldn't log into windows. Same thing happened - entered password, logged in, saw my wallpaper for less than a second and it automatically logged out again.

Is it advisable for me to copy everything I have on the laptop drive onto an external hard disk first? Will it affect the content of the laptop drive?

What about the indication that my folder is empty, whereby it's supposed to contain most of my data? Has my data been wiped out? Thanks for your help again.
__________________
jentzen5 is offline  
Old 03-27-2008, 09:36 AM   #11
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



That`s a shame. Replacing userinit.exe very often fixes your problem.

I don`t know if your data is gone or not. You won`t know for sure until you get the laptop booting.

I do think this is a malware issue though. You removed the trojan but it has left damage behind.
Yes copy the files you want to save, but only copy your own files, not any system files. Then post a HijackThis log. It might get you up and running again

The experts on the forum there will clean it all up for you.
Do all you can from the instructions. If you can`t run something just miss it out and post the log anyway with a brief description of your problem. Tell them you can`t log in. Say you have removed a trojan and give the name of it if you know it.

http://www.techsupportforum.com/secu...this-log-help/

Read the Red sticky at the top first
http://www.techsupportforum.com/secu...oval-help.html

I`m sorry that did not work....it very often does.

Good luck
__________________
Dunedin is offline  
Old 03-27-2008, 09:41 AM   #12
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



Well, I kinda hoped your way will work too! ;) Anyway, I ain't giving up that easily. One more question before I move to HijackThis:

Does it matter that when replacing userinit.exe, my desktop PC uses XP professional while my laptop runs XP Home? Does it have to be XP Home as well?
__________________
jentzen5 is offline  
Old 03-27-2008, 09:51 AM   #13
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



I think the file will be the same for XP Home and XP Pro.

The systems are basically the same. Pro just has some added features.
__________________
Dunedin is offline  
Old 03-27-2008, 09:53 AM   #14
Registered Member
 
Join Date: Mar 2008
Posts: 8
OS: win xp



OK thanks! I'll try replacing userinit.exe once more, if it doesn't work again, I'll sought help at HijackThis. Thanks a lot for your help. CHeers!
__________________
jentzen5 is offline  
Old 03-27-2008, 10:09 AM   #15
Registered Member
 
Join Date: Mar 2008
Posts: 2
OS: WINXp Service pack 2



i have samsung DVD RW +RAM it is show CD but it is not shw DVD
__________________
rajubhatnagar is offline  
Old 03-27-2008, 10:10 AM   #16
Registered Member
 
Join Date: Mar 2008
Posts: 2
OS: WINXp Service pack 2



Windows automatically logs off, can't access desktop! Help
__________________
rajubhatnagar is offline  
Old 03-27-2008, 10:11 AM   #17
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



You are very welcome

I really thought there was a good chance of that fixing it.
Maybe some "new kids are in town" causing havoc

I hope they can fix it for you
__________________
Dunedin is offline  
Old 03-27-2008, 10:43 AM   #18
TSF Team Emeritus
Microsoft Visitng Expert
 
Dunedin's Avatar
 
Join Date: Jul 2007
Location: Over the Forth from Edinburgh, Scotland
Posts: 4,277
OS: WinXP Pro/Windows7 Ultimate



Hello rajubhatnagar

Would you please start your own new thread where more people will be able to see it and reply.

Many things have been discussed in this thread which might or might not apply to you.

Thank you rajubhatnagar

__________________
Dunedin is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 07:25 AM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts