Windows server 2003/2008 – How to reset session using command line

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008 | Posted on 06-05-2009

0

This post will show how to reset session on your Windows server 2003 using command line.

First you need to view current sessions on server named “Testserver”. For that open command line and type:

query session /server:Testserver

Note the ID number of the session you want to reset. To reset session on server named “Testserver” type:

reset session <ID number> /server:Testserver

Windows server 2003/2008 – How to view sessions on your server via command line

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008 | Posted on 06-05-2009

0

This post will show how to view sessions on your Windows server 2003 using command line. To view sessions on server named “Testserver” open command line and type:

query session /server:Testserver

Windows server 2008 – How to export network configuration to file

Posted by aidas | Posted in Command line, Networking, Windows 2008 | Posted on 05-05-2009

0

If you want to export your network configuration to a file we will show how to do that. In our case we will export it to networkcfg.txt . Open command line on your Windows server 2008 and type:

netsh -c interface dump > networkcfg.txt

If you`ll need this configuration on this or other server you can import it with this command:

netsh -f networkcfg.txt

Windows server 2008 – How to reset IP protocol stack configurations via command line

Posted by aidas | Posted in Command line, Networking, Windows 2008 | Posted on 05-05-2009

0

This post will show how to reset IP protocol stack configurations for your interface and send output to a reset.txt log file. To perform reset open command line on your Windows server 2008 and type:

netsh int ipv4 reset reset.txt

Windows server 2003/2008 and Windows XP – How to view boot loader information of remote system

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008, Windows XP | Posted on 05-05-2009

0

This post will teach you how to use command line and view boot loader information in boot.ini file from remote system. Lets pretend you want to see boot information for Windows server 2003 named “Testserver” from your Windows XP machine. For that you`ll use Admin user which is local administrator on “Testserver” with password “Pa$$w0rd”. To perform query start command line on your Windows XP and type:

bootcfg /query /s Testserver /u Testserver\Admin /p Pa$$w0rd

Windows server 2003/2008 and Windows XP – How to add static ARP cache entry

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008, Windows XP | Posted on 05-05-2009

0

As you know Address Resolution Protocol or ARP is used to map IP addresses to MAC. This how to shows the way to add static ARP cache entry and map specific IP to specific MAC. In our example we will use IP:192.168.0.10 and MAC:00-B4-01-6C-7B-81. To add entry open command line on your Windows server 2003 and type:

arp -s 192.168.0.10 00-B4-01-6C-7B-81

Windows server 2003/2008 and Windows XP – How to view ARP cache

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008, Windows XP | Posted on 05-05-2009

0

Address Resolution Protocol or ARP is used to map IP addresses to MAC. This how to shows the way to see ARP cache on all network interfaces. To do it open command line on your Windows server 2003 and type:

arp -a