NET USE /DELETE Question???

Posted on 2006-03-20
Last Modified: 2011-08-18
I have a logon script I have users run in the morning when they logon the network which delets unused drives and reconnects networks drives.  Here is my script:

net use /delete *
net use s: \\server\public
net use t: \\server\transcription

When the net use /delete switch is used the users get a message saying type Y or N to continue action?  Is there a way I can have the NET USE /DELETE * run and do not ask the user to type Y or N?

Question by:cgriffith4
    LVL 11

    Accepted Solution

    Yup you can
    if you put net use /delete * /y
    LVL 11

    Expert Comment


    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Suggested Solutions

    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now