Заметки сисадмина » Windows Log on and Log off immediately.

Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

Windows Log on and Log off immediately.

2008-09-09 · Posted in Windows Server 2003

loadTOCNode(1, ‘Symptoms’);
You may face this problem when logging on to Windows. When you type user name and password you are again presented with User name and Password dialogue box. You try hard to get in but to no avail.

CAUSE

loadTOCNode(1, ’cause’);

You may not be able to log on to system using either Normal Mode or Safe Mode. This occur only when Winlogon service tries to load the Windows default shell (explorer.exe) and user shell (userinit.exe) from registry. This service searches for Explorer.exe and Userinit.exe in the following path of registry:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

RESOLUTION

loadTOCNode(1, ‘resolution’);Edit these values and type the correct path of shell :

Shell = explorer.exe
Userinit=X:\windows\system32\userinit.exe

NOTE: These files may also be deleted by spywares. You may need to extract them using Windows CD.

Steps for rectifying this problem:

1)Log on to a networked computer.

2)Run Regedit.exe

3)Point your cursor to HKEY_LOCAL_MACHINE

4)Select File > Connect Remote Registry

5)Type computer name (infected computer)

6)Navigate to the following location in registry of destination or infected computer

7)Edit these two values in right pane

Shell
Userinit

8)Change these two values to1

Shell=explorer.exe
Userinit = x:\windows\system32\userinit.exe

9)Exit from Registry

10)Restart Infected computer.

11)You should be able to log on to computer.

One Response

  1. thanks Bro

Leave a Reply