Network Connections Made with the AT Command are Persistent

Last reviewed: June 17, 1997
Article ID: Q103650

The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Workstation versions 3.51 and 4.0
  • Microsoft Windows NT Server versions 3.51 and 4.0

SUMMARY

Network connections made using the AT command are persistent for all users on a system. The AT command runs using the System account and Schedule service. Creating network connections under the System account makes the connections persistent for all users who log on and log off the computer. However, this type of connection is not saved as a normal persistent connection. If the computer is rebooted, the connection is longer present.

Network connections made using the AT command can be removed using the System account or by an Administrator. This type of network connection is similar to the Common Program Groups an Administrator can create in Program Manager.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In the Control Panel window, choose Services and start the Schedule service if it is not already started.

  2. Create a batch file named Atnetuse.bat containing the following command line:

          NET USE W: \\servername\sharename
    

  3. Use the AT command to run ATNETUSE in 5 minutes. For example:

          AT 12:00 ATNETUSE.BAT
    

  4. After ATNETUSE is run by the AT command, the persistent drive W will available in a Command Prompt and in File Manager.

  5. Drive W is represented by a network drive button in File Manager, but the share name \\servername\sharename does not appear after W: in the drive drop down dialog box. The NET USE command from a Command Prompt (Cmd.exe) will not show drive W or \\servername\sharename, but you can use drive W as a normal network drive. Also, drive W is now a drive for all Users. No matter who logs in, everyone will get the drive W even though it is not in any user's persistent connections.

A user without Administrator privileges logged in with this type of persistent connection present cannot remove the connection unless the AT command is used.

Use one of the following methods to remove the connection:

  • Use the AT command to schedule disconnecting the drive with a NET USE W: /D command.
  • An administrator can use the NET USE W: /D command from a Command Prompt.
  • Shut down and restart the computer.


Additional query words: 3.10 3.51 4.00 prodnt
Keywords : kbnetwork ntnetserv
Version : 3.1 3.51 4.0
Platform : WINDOWS


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: June 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.