INF: Administering a Server from a Remote Location

Last reviewed: April 25, 1997
Article ID: Q61654

The information in this article applies to:

  - Microsoft SQL Server version 4.2 for OS/2

You can administer a server from a remote location with a LAN Manager version 2.2 based network. To do this, you must first perform the following commands on the machine you want to remotely administer:

   net share ipc$
   net share admin$

You can put these commands in the STARTUP.CMD file so they are executed at each reboot.

If your LAN Manager server is running user-level security, you do not need to explicitly share these services, but you do need to be a user with both remote admin privileges and access to the server's named pipes (IPC$).

After ensuring that this is done, you can remotely administer the server using the following command:

   net admin \\servername

This will bring up a full-screen interface with which to administer the server. This is the same interface you have when you enter "net admin" to administer the local machine.

The following command can be used to start a service:

   net admin \\servername /command net start sqlserver

You can also start Microsoft SQL Server for OS/2 directly from the LAN Manager 2.2 full-screen administrator facility, or from SQL Administrator for Windows.

Note that this can even be done over dial-in lines using LAN Manager 2.2's Remote Access Services (RAS).


Additional query words: user share mode security SAF WinSQL Administrator
Keywords : kbnetwork SSrvAdmin SSrvLan SSrvWinNT
Version : 4.2
Platform : OS/2


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.