From: greg.vigneault@bville.gts.org (Greg Vigneault) 
Newsgroups: comp.os.msdos.programmer
Subject: REBOOT FROM BATCH FILES
Date: 1 Sep 92 13:01:00 GMT
Distribution: world
Organization: Baudeville BBS - Toronto, Canada 416-283-0114/6059* *v32bis/HST
Reply-To: greg.vigneault@bville.gts.org (Greg Vigneault) 

  In message-ID <1992Aug30.033912.729@u.washington.edu>
  sue@byron.u.washington.edu (Shu-Chen Eclipse) writes...
SE> So, how do I put "cntrol-al-delete" in this bat file so that it
  > automatically reboots the PC without requiring the user to type
  > "cntrol-alt-delete"???

 Here's a general boot utility, named GBU.  In addition to offering
 warm and cold boots... it can also prevent the user from rebooting
 with the CTRL-ALT-DEL keys, until you are ready to let them reboot.

 By default, GBU will simply show the date and time.  This is to
 prevent a curious user from accidentally rebooting the system.  To
 warmboot, type GBU W.  To cold boot, GBU C.  Entering GBU D will
 disable CTRL-ALT-DEL reboot (GBU goes TSR), until GBU A is invoked.

 Type GBU V for a brief command syntax list. (Note: the M option is
 for Zenith Data Systems PCs _only_.)

 To get GBU.COM, put the following lines into a text file named
 GBU.SCR, then type "DEBUG < GBU.SCR" (without quotes) to create
 GBU.ARC on your MS-DOS system.  Then extract GBU.COM with PKUNPAK.
 ---------------------------- DEBUG script ----------------------------
 N GBU.ARC
 E 0100 1A 08 47 42 55 2E 43 4F 4D 00 5E 5E 5E 5E 5E F9 04 00 00 3E 16
 E 0115 41 05 BB D8 0B 06 00 00 0C E9 C6 01 80 F4 E0 C8 14 2B 30 60 C4
 E 012A 00 70 44 48 15 10 31 5C C4 00 81 62 4C 0A 88 39 72 4C 3C E2 C2
 E 013F 4A 9A 33 6E CA 84 A9 C3 86 4E 03 05 0A 48 70 72 01 C8 C7 80 00
 E 0154 00 E8 80 D8 07 C5 C3 0C 60 8E B0 81 BA 40 80 04 03 1E 0C EA 38
 E 0169 20 07 86 C7 14 3A 10 78 48 A1 F3 93 03 1D 04 1F B0 74 72 F1 CF
 E 017E 45 81 00 B0 40 98 03 11 B5 D3 B3 95 2D 09 C0 AC 63 60 6A D5 04
 E 0193 01 3A ED FB EA C1 91 36 40 3C 8E D4 41 01 E5 8A 95 5F 11 02 B8
 E 01A8 50 54 40 01 B0 A7 3A 08 D4 A1 70 C4 C8 BA 78 C6 08 30 19 44 CC
 E 01BD C0 AF 97 8C 90 39 02 F6 C1 AB 97 2F 58 2A 53 75 D1 20 40 03 2A
 E 01D2 57 86 10 09 92 44 88 14 2B 51 9A 80 00 00 C5 C0 A7 01 57 06 D4
 E 01E7 18 20 84 C0 21 02 06 0A CC 22 E0 8D 80 99 01 99 06 80 19 F0 DA
 E 01FC 8B 01 00 81 00 50 E1 B5 E0 00 AD 19 32 80 35 0B 81 C8 C2 B8 00
 E 0211 CF 61 05 90 21 6D 7A 23 0B 18 B0 27 98 BE C8 06 B9 00 4E E0 02
 E 0226 20 8B CE 51 80 75 45 20 01 28 7F 9E 15 0F 10 74 F6 25 32 1F E0
 E 023B BE 9C 01 A2 6C 61 00 0F 61 C8 31 A0 1E 77 08 40 C2 37 8A 80 E3
 E 0250 4B 2E 01 CC 90 0C 2B 7E D1 71 80 0E C4 D0 31 40 10 EB D0 83 CB
 E 0265 31 01 0C 90 CC 00 C1 2C 82 CD 3F 17 AC 23 0C 14 B4 8C 17 02 16
 E 027A 5C B4 F4 88 00 EB 11 40 0B 13 D3 41 11 0A 0B 00 4C 46 4B 12 D3
 E 028F 3D A7 88 75 58 05 30 1D 16 BA 40 18 0B 01 D3 A8 23 04 2D 31 4C
 E 02A4 B7 0E 0D F2 19 84 90 42 03 19 20 85 31 06 38 42 23 23 DA 34 62
 E 02B9 03 22 02 34 83 82 16 2D 79 C9 44 1D 0A 24 E2 83 7C 02 8C 22 89
 E 02CE 00 37 0D 73 93 9C 02 E4 33 0C 3A D6 FC F3 5F 9D 52 D0 52 03 2C
 E 02E3 2E 26 E2 C1 55 8C 18 70 40 00 BA E0 80 5D 09 84 06 39 68 06 D3
 E 02F8 19 8A 56 A2 0B 30 FA C6 A3 B0 50 1A 82 A0 B0 A0 50 A9 07 9D 25
 E 030D FA 00 A3 81 70 2A 6A 08 5C CE 18 80 16 EB A8 32 C4 1B 6C 90 41
 E 0322 C2 15 05 B6 41 02 08 62 BC F1 06 1D 3A 80 00 05 13 45 04 31 45
 E 0337 11 20 5C 41 1A 15 2E 34 4B 02 00 00 FC F3 CF 77 11 0C B0 CB 1F
 E 034C 7F 4C D1 A2 77 16 6C 30 C0 B6 21 6C 71 D3 64 26 18 2A 07 01 55
 E 0361 C5 30 C0 77 16 58 4B 83 04 EB 70 A3 4E 3B FF 00 00 CF 7C FC C1
 E 0376 D5 40 1D 03 A4 B3 CB 76 C0 E8 60 40 19 03 D0 11 C0 30 FE 00 23
 E 038B 0A C1 DF 25 F2 AD 8B C3 58 51 86 1C BD CE 51 06 08 6D BC 41 46
 E 03A0 19 3A 9C 44 42 74 0B 0F 30 CC 3A 24 10 11 06 1D 1C 83 90 D0 0B
 E 03B5 2B 27 94 10 0B 20 50 91 46 1B 29 27 A4 83 CD 09 79 0C 40 4B C4
 E 03CA 0C 10 D3 C1 B4 B0 80 88 09 3D 4F F7 4B 2E 03 28 52 0D 3A 39 00
 E 03DF A0 48 34 E8 D0 E0 B4 35 E8 BC 00 00 2D 2A 18 7D CA 00 8B 68 A3
 E 03F4 C8 35 E8 84 E0 F4 34 E8 70 30 5F 30 B1 90 61 4F 3C 26 2A 42 F6
 E 0409 03 00 3C F1 35 3A 09 00 F0 5D 28 0F 4F 37 4C 14 B1 28 70 93 22
 E 041E C2 AC 0D 40 19 30 15 30 C8 31 03 64 31 0C B4 D0 0E 41 85 14 4C
 E 0433 B4 10 04 13 54 80 20 47 19 16 CB F4 84 11 46 78 1C 9D C0 2C 10
 E 0448 60 F0 30 A2 18 42 40 C2 A2 84 2E CA 0A 04 7C D7 02 01 E8 A0 E0
 E 045D CF 3A 05 A0 23 83 3F 72 30 40 CC 9B 00 08 30 80 0F 29 10 00 0A
 E 0472 EB AA DC 19 FC EA 04 08 4C 30 1D 05 80 3B 4C 3A 19 D4 FB B9 01
 E 0487 A6 8F 9E FA E9 0A 9B FE 9D 27 04 AC 13 8C E3 90 4B 4E B9 E5 98
 E 049C 97 A1 B9 13 3A 4F 2F 8B E8 07 8B D2 0D F6 A2 AC 2F CA F1 AC 7F
 E 04B1 07 4D F7 8A 24 E1 06 1D 5F C4 90 03 08 9B EB 5C 4A 00 30 BD F7
 E 04C6 59 6F 7D A8 7B DF FC 5A 67 81 7C 10 20 1D 66 F8 87 FE F8 E7 3F
 E 04DB 00 A2 6F 80 D3 2B 40 01 46 87 3A 0D 7E E7 03 CD 73 51 33 32 30
 E 04F0 8C 09 F6 EF 7F CD E2 0C 06 03 66 00 16 6C F0 60 A8 73 E1 77 88
 E 0505 10 42 BD 29 A0 21 0F E1 C1 18 DE D0 86 36 84 C1 0D 64 F0 C1 49
 E 051A 62 06 82 1E 80 60 0E 68 78 C3 1D 40 40 86 93 5D CC 04 31 9B 59
 E 052F 19 86 78 85 22 26 2B 57 BC F2 95 4C E6 90 87 39 A0 AC 0D 43 1C
 E 0544 82 15 67 55 AB 2C FE 6A 88 44 B0 22 11 D2 30 87 30 88 81 0D 17
 E 0559 03 5F E4 26 57 B9 CB F5 EA 57 73 18 62 10 AC 18 04 36 B0 41 89
 E 056E 20 90 A3 F8 EA 58 86 3B D2 21 8F 0A 00 81 10 AC 28 84 3F 8E 61
 E 0583 0D 20 30 61 05 2F 97 B9 21 4A C1 8A 52 C0 1C 1D DE 70 39 10 D0
 E 0598 8A 0C 91 DC DF 09 87 98 04 2B 4A F2 7F 94 34 DF 10 55 63 C4 33
 E 05AD BC 01 3F AF 6C C2 1B DC 90 86 4D CA 01 04 52 78 42 13 86 68 05
 E 05C2 2B 4A 8C 62 6F B0 18 C6 34 36 C5 44 46 C1 8A 51 A8 43 1A CC 37
 E 05D7 CC 8D 79 EC 3B 59 30 40 74 D2 91 8F 7D A4 04 04 29 01 85 80 04
 E 05EC 56 08 03 D4 A1 7D DD FC 0E 1D 0C E0 BC 10 D4 C1 0D 6B 70 83 12
 E 0601 DD 00 82 34 B8 01 0E 75 00 16 08 44 30 CF 93 1C E0 59 90 00 04
 E 0616 1A 00
 Rcx
 0518
 W
 Q
 ----------------------------------------------------------gbug-1.0b--
 Greg Vigneault
 Sep.01.1992.Toronto.Canada.
 greg.vigneault@bville.gts.org
                                        
Xref: sparky comp.os.msdos.programmer:8941 comp.os.msdos.misc:4983