A problem,
This error is thrown when using the BAT script to copy files from a remote server
System error 85 has occurred
The local device name is already in use
My script USES disk mapping, something like this
:: Delete the last set mapping
net use Y /delete /y
:: Disk mapping
net use Y: \\ServerName\shares \\ServerName\shares /user:password /persistent:yes
Without further explanation, Google System Error 85 with “NET USE” command for the simple reason that the remote server’s protection mechanism is involved
2. Solutions
There are two solutions, one is to modify the registry of the remote server, and the other is to operate directly locally
1. Modify remote server registry
Change the value of this path in the registry from 1 to 0
HKLM\System\CurrentControlSet\Control\SessionManager\ProtectionMode
For the terminal Server of Window Server 2003, the situation is quite special. Refer to the problem of 935642
2. Modify the native script
In fact, it’s easier to just delete all the disk mappings on your machine, rather than just deleting the definition, and click on the reference method
:: Delete all set disk mappings
net use * /delete /y
Read More:
- [Solved] Vite Error: Failed to load module script: Expected a JavaScript module script but the server…
- [Chrome]: DevTools failed to load source map… (How to Solve)
- How to Solve Nodejs error: cannot find module ‘. /application’
- How to Solve electron import page Error
- How to Solve npm-install Command -4048 Error
- How to Solve Vue editor bridge error
- React error boundary (What You Should Know & How to Solve)
- How to Solve Vite package error
- How to Solve OffsetParent is not set error
- How to Solve Vue3 using deep syntax Error
- How to Solve Vue-devtool Package Error
- How to Solve QT uses MSVC compiler to code error
- VUE: How to Solve NPM Always Install Error
- React: How to Solve Web3 import error
- How to Solve NPM installation -g @view/client Error
- How to Solve VUE Error: Avoid mutating a prop directly since the value will be overwritten …
- How to Solve MAC electronic installation dependent startup error
- How to Solve Vscode save Vue file eslint error
- How to Solve Converting circular structure to JSON‘ Error
- [Vue warn]: Error in callback for watcher “value“ (How to Solve)