Discussion Locked

Net Use * /delete

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am working with a Windows 2000 domain with a mix of 2000 Professional,98 and 95 clients. I am mapping network drives with logon scripts. The logon scripts would not run at first. When I removed the line: Net Use * /delete /yes, all the logon scripts ran an the client machines. I need to delete previous mappings and can not go to each machine. Any ideas?

7 replies

by dc1

issue the same statement that you are using at the end of the batch file except use the drive letters instead of *.

by jason.barnett

net use * /d /y

works with W2KPro clients. as for '98 and '95 you will need one of two things:

net use * /d null to the end of your net use commands, i.e.

net use * /d /y >nul

as this re-directs the output (command completed successfully) to a nul deviceand not to the screen.

Regards,

JB.

This discussion is closed to new replies.