Return Code 85 "The Local Device Name Is Already In Use" is recorded to the trace file when mapping a drive.
This message is most commonly associated with drive letter conflicts. The source of the problem may be a local drive, a ghost drive mapped by some Anti-Virus products, a home drive mapped through Active Directory, and/or a drive that was mapped via the NET USE command.
Drive mapping examples:
Example 1: If drive letter “H” is mapped through Active Directory and the same drive letter “H” is being used in the script, this error may be received.
Example 2: In some cases a Terminal Server is configured to end (Reset) any idle or disconnected sessions after a certain amount of time. This might cause the issue.
Example 3: When a card-reader device is configured on the machine, it can sometimes take upwards of four separate drive letters which the system won't allow to be re-mapped. In this case, simply navigate to disk manager and re-assign the drive letters given to the device so that those drive letters are free to be mapped for other resources.
Note: If this return code is received on an object other than those listed above, please Contact Technical Support.
Related Articles or Solutions: