My Laptop is not showing Desktop nor Task manager by C+A+D and C+S+Esc.
not in safe mode, not with command prompt, and also not going to last known good configuration, and can't do system restore point also.

on restarting the laptop welcome screen is appear on clinking user it shows msg
Loading your personal setting..
and within fraction of second shows Logging off..

and welcome screen appear
nothing goes..

should i format my window....

Dani AI

Generated

Quick, practical add-on for and anyone else hitting an immediate logoff after signing in: that symptom most often comes from either a corrupted user profile or Winlogon being altered (malware or a bad value for the shell/userinit keys). and pointed in the right direction — try the least-destructive fixes before formatting.

  1. Backup first. Boot from a USB/Linux live image or Windows PE and copy the entire user profile folder (C:\Documents and Settings\<username>) to external media — Desktop, My Documents, Favorites and any mail stores. Scan that backup with an offline AV before restoring it.

  2. Basic repairs to try (in order): run a disk check, scan with a rescue/AV disk, and check the Winlogon keys. From an admin command prompt or recovery environment:

    chkdsk C: /r

    To check/fix Winlogon values you’ll need a bootable WinPE/BartPE or another working Windows machine. Run regedit, select HKEY_LOCAL_MACHINE, File → Load Hive, open the offline installation at

    C:\Windows\System32\config\SOFTWARE

    give it a temp name, then navigate to

    Software\Microsoft\Windows NT\CurrentVersion\Winlogon

    and confirm/set:

  • Shell = explorer.exe
  • Userinit = C:\WINDOWS\system32\userinit.exe,
    Unload the hive and reboot. Back up the hive file before editing.
  1. If the profile is corrupted, fix the ProfileList entries (HKLM...\ProfileList) — look for duplicate SIDs where one ends with .bak; rename and set RefCount and State to 0, or create a new admin account and move the old profile data across. To create a new admin from a command prompt:
    net user tempadmin Password123 /add
    net localgroup Administrators tempadmin /add

If none of the above works, a Windows “Repair” install (boot the XP CD and choose Repair, not a format) will replace system files while keeping data and programs. Always keep a tested rescue USB and regular backups to avoid a full reinstall next time.

Either a virus or a corrupted windows installation. You can boot from a live cd and try to remove any infections. If that fails, you will need to re-install.

Thanks. i re installed window.

I thought that this happened due to virus

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.