net use (command not working)

Discussion in 'Windows Desktop Systems' started by joshuajamie, Feb 22, 2004.

  1. joshuajamie

    joshuajamie OSNN Junior Addict

    Messages:
    16
    Location:
    Manchester, UK
    Hi, when i try to use this command I get an access denied (error 5)message. I can map drives from my computer but im lookin to get this working from a batch script. Any help?
     
  2. toretto

    toretto Mentally Absent

    Messages:
    226
    Location:
    Mankato, Minnesota, USA
    mine works fine, make sure you have admin access
     
  3. the_tazinator

    the_tazinator Are we there yet?

    Messages:
    177
    Location:
    In a house
    Check the order of how you entered all of the information. It should look something like this:

    net use x: \\computer\folder password /user:username
     
  4. joshuajamie

    joshuajamie OSNN Junior Addict

    Messages:
    16
    Location:
    Manchester, UK
    Its nothing to do with the syntax, it should auto use the username and pass of the user logged in. I have tried this on other networks and it runs fine, just not on mine.

    Its also nothing to do with the acl of that user, as they can map it from my computer perfectly. I am led to believe that its that they use different system services to map the drive.

    I think the net use command uses netbios name resolution. And my wins server is running fine with every client registered. Anybody got a good idea of what is causing this?
     
  5. mooo

    mooo thecyberninja

    Messages:
    886
    Location:
    earth
    %username% works even better