I am trying to use the following command to map a drive in persistent mode, and I don’t want it to ask for login credentials every time the machine is restarted:
net use P : \\server\folder Password123 / user : user123 / savecred / persistent : yes
The error is as follows:
A command was used with conflicting switches . More help is available by typing NET HELPMSG 3510 .
When we use the /savecred
switch we should not provide credentials in the same line. The correct command should be:
net use P : \\server\folder / savecred / persistent : yes
It will ask for username and password.
Read More:
- Taro Error: chunk common [mini-css-extract-plugin] Conflicting order between: ……
- Net use Errors Explanation
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- [Solved] kubeflow pipeline visualization component Error: WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager…
- Error 1 error MSB3721: Command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -genco
- How to Solve DVA switches history to browserhistory Error
- [Solved] net core HTTP Error 500.31 – Failed to load ASP.NET Core runtime HTTP Error 500.30 – ASP.NET Core
- [Solved] Android Studio APK install Error: INSTALL_FAILED_CONFLICTING_PROVIDER
- [Solved] Compile the program error: undefined reference to `cv::dnn::dnn4_v20210301::Net::~Net()‘
- [Solved] C# Access Mongodb Database Error: command find failed: Command find requires authentication
- [Solved] FileUploadException: the request was rejected because no multipart boundary was found
- Redis cannot double-click redis-server.exe to start normally
- [Solved] Latex&VScode Error: I found no bibdata command//command//citation—while reading file*.aux
- [Solved] Error running XxlJobExecutorHiveApplication. Command line is too long. Shorten the command line via
- SpringBoot Error running ‘Application’: Command line is too long.Shorten command line for
- [Solved] Asp.Net Core IIS Error: HTTP Error 500.30 – ASP.NET Core app failed to start
- Error running ‘PigSellCabinetApplication’: Command line is too long. Shorten command line for PigSellCabinetApplication or also for Spring Boot default configuration
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- package golang.org/x/net/XXX: unrecognized import path “golang.org/x/net/xxx“…
- [Solved] Error running ‘WebApplication‘: Command line is too long. Shorten command line for WebApplication or