Ref: 03050010 Title: Running LASTBOOT from a "NET ADMIN ... /C" Connection Date: 8/31/90 Copyright 3Com Corporation, 1991. All rights reserved. When diagnosing problems with 3Com's 3S/400- and 3S/500-series servers running 3+Open software, it is often desirable to run the "LASTBOOT" program to discover what messages were issued to the server console when the server was coming up. (These messages are similar to what would be shown on the monitor when a 3+Open PC server boots up.) To run LASTBOOT, the operator usually puts the server into Console mode using the 3C START command. However, LASTBOOT can also be run from the special "NET ADMIN ... /C" connection, which can be established with a running server from any OS/2 or DOS Enhanced netstation. To establish a "NET ADMIN ... /C" connection, type the following command: NET ADMIN \\server-name /C [command...] Note: You must be logged onto an account with ADMIN permissions to establish a "NET ADMIN ... /C" connection with a server. If you put the command to be executed after the /C (Command) switch (as shown in the example above), the command will be executed, then the session with the server will be terminated and the netstation will be returned to normal operation. If you do NOT put the command after the /C switch, then, when you press Enter, an interactive NET ADMIN ... /C session will be established at the server. While an interactive session continues, you will be prompted by the server name in square brackets. You can type in line after line of commands, which will be executed at the server, until you type a Ctrl-Z on a line by itself and press Enter. For example, NET ADMIN \\server-name /C command... command... ... command... ^Z Thus, one way of getting information out of LASTBOOT is to simply type "C:\LASTBOOT" at the end of the "NET ADMIN ... /C" command line. For example, NET ADMIN \\server-name /C C:\LASTBOOT This method works if you just want to view the output of LASTBOOT on your monitor screen. Using this particular syntax, you can also redirect the output of LASTBOOT into a file for later access. However, you cannot redirect the output of a command entered using the interactive "NET ADMIN ... /C" connection. If redirection is desired, use the single command line syntax. For example: NET ADMIN \\server-name /C C:\LASTBOOT > x:\outfile This command will run the LASTBOOT program on the server, and place the output of LASTBOOT into a file named "x:\outfile" on your netstation.