auto-reboot.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 11 Feb 2013 11:31:40 +0200
changeset 1462 27d4d6c15cb4
parent 1 743f7a15697a
permissions -rw-r--r--
Информация о таблицах в БД Oracle.

-*- mode: outline; coding: windows-1251 -*-

*    login/logout .

 
  %SystemRoot%\system32\GroupPolicy\User\Scripts
                                                \Logoff
                                                \Logon

*  .

       :
  " ."->" ."->" ."
  ->" : ..."->"."
     Windows 2000.

*      .

**    .

  1.  ->  ->      control userpasswords2   OK.
    .
  2.           
   Windows (     
   -    )     
"     ",  
   ( )   OK.

**  .

  1.  ->  ->   regedit   .
  2.    :

     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

  3.    DefaultUserName (   ,
          ),        OK.
  4.    DefaultPassword,          OK.
  5.    AutoAdminLogon,      1    OK.

  .             ,
         :

     
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    *  AutoAdminLogon   1
    *  DefaultUserName       
          
    *  DefaultDomainName       
    *  DefaultPassword      
           

 -  ,   ,      (REG_SZ).

* How to Exit Windows 98/Me Automatically Using a Batch File.

You can use either of the following commands in a batch file to restart Windows 98/Me automatically:
   runonce.exe -q
   rundll32.exe shell32.dll,SHExitWindowsEx n
where n is one, or a combination of, the following numbers:

   0 - LOGOFF
   1 - SHUTDOWN
   2 - REBOOT
   4 - FORCE
   8 - POWEROFF
  The above options can be combined into one value to achieve different results. For
example, to restart Windows forcefully, without querying any running programs, use the
following command line:

  rundll32.exe shell32.dll,SHExitWindowsEx 6