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

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

Windows Log on and Log off immediately

2009-01-10 · Posted in Windows Server 2003

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:
 

  • Log on to a networked computer.
  • Run Regedit.exe
  • Point your cursor to HKEY_LOCAL_MACHINE
  • Select File > Connect Remote Registry
  • Type computer name (infected computer)
  • Navigate to the following location in registry of destination or infected computer

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

  • Edit these two values in right pane:

 
                  Shell
                  Userinit
 

  • Change these two values to

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

  • Exit from Registry
  • Restart Infected computer.
  • You should be able to log on to computer.

Leave a Reply