Possible to map network drive without attempting to mount at login?


  1. Posts : 1,660
    Windows 8 Pro (32-bit)
       #1

    Possible to map network drive without attempting to mount at login?


    Basically I have my tablet mapped to Z: for quick access whenever it and my computer or on wifi. Problem is, i don't leave my tablet on, so on login my computer complains that it can't find the drive. but once I turn on my tablet I can just click on the drive and it connects and mounts no problem.

    Is there any way to suppress that alert?

    Thanks.
      My Computer


  2. Posts : 2,465
    Windows 7 Ultimate x64
       #2

    When mapping the drive, did you tick the option "connect again at login"? I guess so.
    A quick and dirty way might be not using that option at all, and map the drive manually each time you connect, possibly with a shortcut or bat file so it's easier.
      My Computer


  3. Posts : 3,371
    W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
       #3

    How about a batch file to map the tablet as a drive when you need it?

    net use <drive letter><network path> /persistent:no

    Substitute the desired drive letter for <drive letter> and the \\computername\sharename for <network path>
      My Computer


  4. Posts : 1,660
    Windows 8 Pro (32-bit)
    Thread Starter
       #4

    how do i ad username and password to that command?
      My Computer


  5. Posts : 3,371
    W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
       #5

    Here's all the parameters from that command:

    Code:
    C:\>net use /?
    The syntax of this command is:
    
    NET USE
    [devicename | *] [\\computername\sharename[\volume] [password | *]]
            [/USER:[domainname\]username]
            [/USER:[dotted domain name\]username]
            [/USER:[username@dotted domain name]
            [/SMARTCARD]
            [/SAVECRED]
            [[/DELETE] | [/PERSISTENT:{YES | NO}]]
    
    NET USE {devicename | *} [password | *] /HOME
    
    NET USE [/PERSISTENT:{YES | NO}]
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:29.
Find Us