Admin Scheduled Batch Job Net Use Commands Are Viewable to Users

Last reviewed: September 23, 1996
Article ID: Q124296
The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5

SYMPTOMS

If you are logged on to a machine and the system account has run a scheduled batch job consisting of NET USE commands, you can see the network drive icons in File Manager. If you attempt to access the drive icons, the following error message appears:

   Login Failure: The user has not been granted the requested logon type at
   this computer.

For example, an administrator may use the system or other administrative account to schedule the following batch file to run when another user has logged on to the workstation:

   atnetuse.cmd
   net use x: \\server\share /user:domain\administrator password

NOTE: You cannot see the drives using NET USE at a command prompt.

CAUSE

Because the administrator has more rights than a typical user, it appears that the scheduled job should not appear in any form to the user. Although this appears to be a bug, the situation occurs by design. Since drive letters are MS-DOS devices, they are global to the system.


Additional reference words: 3.50 prodnt
KBCategory: kbnetwork
KBSubCategory: ntsecurity


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: September 23, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.