search cancel

Commands used with Net Use and Symantec Endpoint Encryption


Article ID: 151444


Updated On:


Endpoint Encryption


What commands can be used with Net Use and Symantec Endpoint Encryption?


NET USE Connects or disconnects your computer from a shared resource or displays information about your connections.
  • NET USE [drive: | *] [\\computer\directory [password | ?]] [/SAVEPW:NO] [/YES] [/NO] NET USE [port:] [\\computer\printer [password | ?]] [/SAVEPW:NO] [/YES] [/NO] NET USE drive: | \\computer\directory /DELETE [/YES]
  • NET USE port: | \\computer\printer /DELETE [/YES] NET USE * /DELETE [/YES]
  • NET USE drive: | * /HOME drive Specifies the drive letter you assign to a shared directory.
    • "*" Specifies the next available drive letter. If used with /DELETE, specifies to disconnect all of your connections.
    • "Port" Specifies the parallel (LPT) port name you assign to a shared printer.
    • "Computer" Specifies the name of the computer sharing the resource.
    • "Directory" Specifies the name of the shared directory.
    • "Printer" Specifies the name of the shared printer.
    • "Password" Specifies the password for the shared resource, if any.
    • "?" Specifies that you want to be prompted for the password of the shared resource. You don't need to use this option unless the password is optional.
    • "/SAVEPW:NO" Specifies that the password you type should not be saved in your password-list file. You need to retype the password the next time you connect to this resource.
    • "/YES" Carries out the NET USE command without first prompting you to provide information or confirm actions.
    • "/DELETE" Breaks the specified connection to a shared resource.
    • "/NO" Carries out the NET USE command, responding with NO automatically when you are prompted to confirm actions.
    • "/HOME" Makes a connection to your HOME directory if one is specified in your LAN Manager or Windows NT user account.
    • To list all of your connections, type NET USE without options.
    • To mount a network share net use [MOUNT POINT] [UNC PATH] /user:[DOMAIN USER] e.g., if you wanted to mount the "Backup Files" shared folder on server Zeus with account SupportAdmin to mount point x:, you'd use net use x: "\\zeus\backup files" /user:supportadmin or net use x: \\zeus\backup /user:supportadmin
    • For more help, you can type net use /? Once the share is mounted, the recursive xcopy command can be used to copy files across from the encrypted/recovered machine.
    • There are quite a bit of command line switches available for the "xcopy" command (you can view them all by running net use /?.
    • "/USER" can also be specified as: [/USER:[dotted domain name\]username] [/USER:[[email protected] domain name] xcopy [source] [destination]