'Net use' has a few purposes, the most common being to map networked drives. Ex: 'net use E: \\\servername\foldername' This will map the folder specified to the drive letter indicated. To make this stick use the flag '/persistent:Yes' For example; 'net use E: \\\servername\foldername /persistent:Yes' To remove this drive: 'net use E: /delete' Using a '\*' in place of a drive letter will delete all net drives connected. To find what account/credentials the user is connecting to a network drive with, send the following through cmd: wmic netuse where LocalName="Z:" get UserName /value #drivemapping #cmd #netuse