Frist of all
you'll have to download pstools
Find
out the following blog http://it-toolkit.blogspot.com and copy
pstools to your C Drive like below screen shot
Open up the command prompt then type below command
cd c:\pstools
psexec.exe \\ip_or_hostname cmd.exe
ex: psexec.exe
\\192.168.100.155 cmd.exe
if you have defendant credentials you can use following command
with username and password
psexec.exe
\\ip_or_hostname -u workgroup\username -p password cmd.exe
Ex:- psexec.exe
\\192.168.100.155 -u workgroup\administrator -p password@123
cmd.exe
·
Show
status of the network card
C:\>netsh
interface ip show config
·
Change
ip address , sub-net and default
gateway
c:\>netsh
interface ip set address "Local Area Connection" static 192.168.0.10
255.255.255.0 192.168.0.1 1
·
Interface
set DHCP IP address, gateway, and sub-net mask to be received by
DHCP server
c:\>netsh
interface ip set address name="Local Area Connection" source=dhcp
·
Add DNS address
Add DNS address
c:\>netsh
interface ip set dns "Local Area Connection 4 " static 10.25.16.1
· Add secondary or additional DNS server:
c:\>netsh interface ip add dns "Local
Area Connection" 10.25.16.1
·
Remove existing DNS form the interface
c:\>netsh
interface ip delete dns "Local Area
Connection" 10.25.16.5
This comment has been removed by a blog administrator.
ReplyDelete