SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
net use * /delete /y
The /y key makes it select Yes in prompt silently
/y