Tuesday, November 14, 2017

Net Use Command for Windows

The net use command is a Command Prompt command that's used to connect to, remove, and configure connections to shared resources, like mapped drives and network printers.
 The net use command is one of many net commands like net send, net time, net user, net view, etc. 

Net Use Command Availability
The net use command is available from within the Command Prompt in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP, as well as in older versions of Windows and in Windows Server operating systems. Recovery Console, the offline repair utility in Windows XP, also includes the net use command but it's not possible to use it within the tool.
 Note: The availability of certain net use command switches and other net use command syntax may differ from operating system to operating system.

 Net Use Command Syntax
net use [{devicename | *}] [\\computername\sharename[\volume] [{password | *}]] [/user:[domainname\]username] [/user:[dotteddomainname\]username] [/user:[username@dotteddomainname] [/home {devicename | *} [{password | *}]] [/persistent:{yes | no}] [/smartcard] [/savecred] [/delete] [/help] [/?]

List all active connection

net use

Remove temp credential login
net use "\\10.158.252.100\xxx" /d

https://www.lifewire.com/net-use-command-2618096

Tuesday, November 07, 2017

vsftpd server not listing ( 425 Failed to establish connection)

Its kind of an off the wall solution but something I have run into on CentOS w/ vsftpd is problems with the ip_conntrack_ftp module not being loaded correctly causing this issue.

 Try this:
modprobe ip_conntrack_ftp

https://www.linuxquestions.org/questions/linux-server-73/vsftpd-server-not-listing-425-failed-to-establish-connection-4175414488/