Simple disk maps with NET USE

  • To check all mapped drives:
  • C:\Users\user>net use
    New connections will be remembered.
    Status Local Remote Network
    -------------------------------------------------------------------------------
    OK P: \\192.168.1.2\personal Microsoft Windows Network
    The command completed successfully.

  • To map a network shared drive:
  • C:\Users\user>net use p: \\192.168.1.2\personal /user:username@domain.local

  • To delete
  • C:\Users\user>net use \\192.168.1.2\personal /delete
    Deletes single shared folder

    C:\Users\user>net use * /delete
    Deletes all connections

if CMD is runing as Administrator disk will be mapped for administrator.