auto-reboot.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 25 Jan 2011 18:05:31 +0200
changeset 783 ba1e9a5ffda8
parent 1 743f7a15697a
permissions -rw-r--r--
Старый против нового.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
-*- mode: outline; coding: windows-1251 -*-
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Ñêðèïòû çàïóñêà ïðè login/logout ïîëüçîâàòåëÿ.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
Íàõîäÿòüñÿ â
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
  %SystemRoot%\system32\GroupPolicy\User\Scripts
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
                                                \Logoff
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
                                                \Logon
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
* Ïåðåçàãðóçêà ÎÑ.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
Äëÿ âîçìîíîñòè ïåðåçàãðóæàòü ÎÑ áåç âõîäà â ñèñòåìó:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  "Ïàðàìåòðû áåçîïàñíîñòè."->"Ëîêàëüíûå ïîëèòèêè."->"Ïàðàìåòðû áåçîïàñíîñòè."
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  ->"Çàâåðøåíèå ðàáîòû: ðàçðåøèòü..."->"Âêëþ÷èòü."
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
Äàííàÿ ïîëèòèêà äîñòóïíà íà÷èíàÿ ñ Windows 2000.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
*  Íàñòðîéêà àâòîìàòè÷åñêîãî âõîäà â ñèñòåìó.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
** Ãðàôè÷åñêèé èíòåðôåéñ îïåðàöèîííîé ñèñòåìû.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
  1. Ïóñê -> Âûïîëíèòü -> â ïîëå Îòêðûòü íàïèøèòå êîìàíäó control userpasswords2 è íàæìèòå OK.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
Îòêðîåòñÿ îêíî Ó÷åòíûå çàïèñè ïîëüçîâàòåëåé.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
  2. Óñòàíîâèòå êóðñîð íà òîì èìåíè ïîëüçîâàòåëÿ äëÿ êîòîðîãî âû õîòèòå íàñòðîèòü
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
àâòîìàòè÷åñêèé âõîä â Windows (ýòî èçáàâèò îò íàïèñàíèÿ èìåíè ïîëüçîâàòåëÿ
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
â ñëåäóþùåì îêíå - îíî áóäåò ïîäñòàâëåíî àâòîìàòè÷åñêè) è ñíèìèòå ïòè÷êó ñ ïàðàìåòðà
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
"Òðåáîâàòü ââîä èìåíè ïîëüçîâàòåëÿ è ïàðîëÿ", çàòåì ââåäèòå
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
ïàðîëü ó÷åòíîé çàïèñè (åñëè èñïîëüçóåòñÿ) è íàæìèòå OK.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
** Ðåäàêòèðîâàíèå ðååñòðà.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
  1. Ïóñê -> Âûïîëíèòü -> ââåäèòå êîìàíó regedit è íàæìèòå ÎÊ.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
  2. Íàéäèòå ñëåäóþùèé ðàçäåë ðååñòðà:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
  3. Äâàæäû ùåëêíèòå ïàðàìåòð DefaultUserName (åñëè òàêîãî ïàðàìåòðà íåò,
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
     ñîçäàéòå Ñòðîêîâûé ïàðàìåòð ñ ýòèì èìåíåì), ââåäèòå ñâîå èìÿ ïîëüçîâàòåëÿ è íàæìèòå êíîïêó OK.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
  4. Äâàæäû ùåëêíèòå ïàðàìåòð DefaultPassword, ââåäèòå â ïîëå «Çíà÷åíèå» ñâîé ïàðîëü è íàæìèòå êíîïêó OK.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
  5. Äâàæäû ùåëêíèòå ïàðàìåòð AutoAdminLogon, ââåäèòå â ïîëå Çíà÷åíèå ÷èñëî 1 è íàæìèòå êíîïêó OK.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
  Ïðèìå÷àíèå.  ñëó÷àå åñëè êîìïüþòåð ÿâëÿåòñÿ ÷ëåíîì äîìåíà ïåðå÷èñëåííûå âûøå ñïîñîáû íå áóäóò ðàáîòàòü,
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
íåîáõîäèìî íåìíîãî ìîäèôèöèðîâàòü âòîðîé ñïîñîá ïðîïèñàâ çíà÷åíèÿ âõîäà â äîìåí:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
  Â ðååñòðå â ðàçäåëå
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
    * ïàðàìåòðó AutoAdminLogon óñòàíîâèòå çíà÷åíèå 1
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
    * ïàðàìåòðó DefaultUserName óñòàíîâèòå çíà÷åíèå ðàâíîå èìåíè ïîëüçîâàòåëÿ äëÿ êîòîðîãî
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
      íàñòðàèâàåòå àâòîìàòè÷åñêèé âõîä â ñèñòåìó
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
    * ïàðàìåòðó DefaultDomainName óñòàíîâèòå çíà÷åíèå ðàâíîå èìåíè äîìåíà äëÿ âõîäà
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
    * ïàðàìåòðó DefaultPassword óñòàíîâèòå çíà÷åíèå ðàâíîå ïàðîëþ ïîëüçîâàòåëÿ äëÿ
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
      êîòîðîãî íàñòðàèâàåòå àâòîìàòè÷åñêèé âõîä â ñèñòåìó
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
Åñëè êàêîãî-ëèáî ïàðàìåòðà íåò, åãî íóæíî ñîçäàòü, äëÿ âñåõ ïàðàìåòðîâ òèï Ñòðîêîâûé (REG_SZ).
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
* How to Exit Windows 98/Me Automatically Using a Batch File.
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
You can use either of the following commands in a batch file to restart Windows 98/Me automatically:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
•   runonce.exe -q
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
•   rundll32.exe shell32.dll,SHExitWindowsEx n
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
where n is one, or a combination of, the following numbers:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
•   0 - LOGOFF
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
•   1 - SHUTDOWN
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
•   2 - REBOOT
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
•   4 - FORCE
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
•   8 - POWEROFF
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
  The above options can be combined into one value to achieve different results. For
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
example, to restart Windows forcefully, without querying any running programs, use the
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
following command line:
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    72
  rundll32.exe shell32.dll,SHExitWindowsEx 6
743f7a15697a Move admin doc from utils proj.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73