+ Post New Thread
Results 1 to 3 of 3
Coding Thread, Logon Script Help in Coding and Web Development; Hello everyone, Just wondering if anyone can help me, I have written a batch file for users at logon. It ...
  1. #1
    neon's Avatar
    Join Date
    Apr 2009
    Location
    Market Harborough
    Posts
    222
    Thank Post
    7
    Thanked 22 Times in 20 Posts
    Rep Power
    15

    Logon Script Help

    Hello everyone,

    Just wondering if anyone can help me, I have written a batch file for users at logon. It is very simple and calls 6 network drives... (net use : "blah blah")
    It is a new school year and I have made new network drives and mapped them under new letters. Is there a script that anyone has that deletes all mapped network drives before starting to map new ones? I have tried.... net use "letter": /delete and net use *: /delete but this doesn't work... I am not to good at vbs but wouldnt mind it if any one can help I would be very grateful.

    Steve

  2. #2
    bmdixon's Avatar
    Join Date
    Apr 2008
    Location
    Birmingham
    Posts
    257
    Thank Post
    43
    Thanked 58 Times in 39 Posts
    Rep Power
    23
    Have you tried:
    net use * /delete /y

    that should work. The /y is to say 'yes delete the drives'. Without it i don't think it will work in a login script as it will not get a response...

  3. 2 Thanks to bmdixon:

    neon (16th September 2009), protonrules (18th September 2009)

  4. #3
    neon's Avatar
    Join Date
    Apr 2009
    Location
    Market Harborough
    Posts
    222
    Thank Post
    7
    Thanked 22 Times in 20 Posts
    Rep Power
    15
    Thank you, I will try it.

SHARE:
+ Post New Thread

Similar Threads

  1. Logon script not being called... HELP
    By AlexB in forum Windows
    Replies: 6
    Last Post: 28th April 2009, 10:42 AM
  2. Logon Script Not on 1 PC
    By karldenton in forum Windows
    Replies: 1
    Last Post: 25th March 2009, 12:05 PM
  3. Logon Script Help
    By djones in forum Scripts
    Replies: 17
    Last Post: 13th March 2008, 06:00 PM
  4. Logon script & Printer script question.
    By Galway in forum Windows
    Replies: 3
    Last Post: 29th August 2007, 11:00 AM
  5. Yet another Logon Script
    By ajbritton in forum Windows
    Replies: 3
    Last Post: 19th June 2006, 09:47 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •