I made a cool batch file for use on large networks (E.g. your School) that use domain controllers. This typically won't work on your home standard home network. But if you are on a domain controller you can use this tool to see info on a name you type in. You can also display all users registered on the network. it is good for seeing basic info and memberships of people and also find unsecured accounts (Require no pass) :)
This batch requires no special privileges for any features :) coded for Vista and above.
Coded completely by me, please don't leech.
This batch requires no special privileges for any features :) coded for Vista and above.
Code
@echo off
title Domain Name Whois DOS V1.2
color 0A
echo Welcome to Domain Name Whois by Biohazard™ v1.2 Welcome to the main menu.
pause
:menu
echo _ _
echo _.-::Main Menu::-._
echo ------------------------------------------------------------
echo 1. Search User 2. List All Network Users 3. Exit
echo ------------------------------------------------------------
set MENUCHOICE=
set /P MENUCHOICE=Please Select a Menu Option: %=%
if "%MENUCHOICE%"=="1" goto searchname
if "%MENUCHOICE%"=="2" goto allusers
if "%MENUCHOICE%"=="3" goto exit
if "%MENUCHOICE%"=="4" goto error
if "%MENUCHOICE%"=="" goto error
:searchname
ECHO ------------------------------------------------------------
set INPUTNAME=
set /P INPUTNAME=Please Enter a name you would like to search: %=%
if "%INPUTNAME%"=="" echo Please Enter a Name
net user %INPUTNAME% /domain
ECHO ------------------------------------------------------------
pause
goto menu
:allusers
ECHO ------------------------------------------------------------
net users /domain
ECHO ------------------------------------------------------------
pause
goto menu
:error
ECHO ------------------------------------------------------------
echo Please enter a valid menu number to continue.
ECHO ------------------------------------------------------------
goto menu
:exit
ECHO ------------------------------------------------------------
echo Deconfiguring Script, please stand by
timeout 2
exitCoded completely by me, please don't leech.
