Discussion Locked

Batch file error

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My login.bat gives me the following error:
"System error 85 occured"
Why is this and what is the solution?
My O/S is Win NT 4.0 sp6
Thanks

6 replies

by fgarber

I should have done this in the first place.
Error Message: System Error 85 Has Occurred. The Local Device Name Is Already in Use

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Windows NT Server versions 4.0, 4.0 SP1, 4.0 SP2, 4.0 SP3, 4.0 SP4, 4.0 SP5, 4.0 SP6, 4.0 SP6a
Microsoft Windows versions 2000, 2000 SP1 Server
Microsoft Windows versions 2000, 2000 SP1 Advanced Server

--------------------------------------------------------------------------------

SYMPTOMS
When your logon script runs, it may not work, and you may receive the following error message:

System error 85 has occurred. The local device name is already in use.

CAUSE
This issue can occur if the drive letter that is being mapped by the net use command is already mapped in the user's properties.

RESOLUTION
To resolve this issue, change the drive letter mapping in the logon script or in the home drive to correct the overlap of drive letters.

MORE INFORMATION
The mapping of the home drive is processed before the logon script runs. The home drive maps the drive letter successfully, and then the logon script attempts to map the drive letter and is unable to do so. The net helpmsg 85 command generates the following error message:

The local device name is already in use.

by alissa.benari

Though the answer doesn't necessarily
give me a solution to solve this, now I
know it's not a real problem.
Thank you.

by syscokid

From http://www.jsiinc.com/tip3100/rh3128.htm:

This error can occur if the drive letter you are mapping with a net use command is already mapped in the user's properties.

Home drive mapping is processed before the logon script runs. If the home drive maps the drive letter successfully, the logon script fails because the The local device name is already in use.

To fix the problem, change the drive letter mapping in the logon script or in the home drive.

This discussion is closed to new replies.