Go to Help & Support>Pick A Task>Use tools to view your computer information
and diagnose problems.
The tools include: My Computer Information; System
restore; Remote assistance, Offer remote Assistance;.
A: You can use the NSLookup tool to verify that
DNS entries are correctly registered in DNS. For example,
to verify record
registration, use the following commands: nslookup computername.domain.com.
A: If there is a spaces appear in the service's
display name, you need to place double Quotation marks around the name.
For
example, to start the Print Spooler, use the following syntax: NET START "Print
Spooler".
A: If you cannot access the computer locally,
you may try to use the Ntrights.exe utility to remotely add the user right. Ntrights.exe is a Resource Kit utility that can be used to set
user rights from a command prompt. Ntrights.exe can be used to manipulate the
rights on either the local computer or a remote computer. (Refer to MS Q152478).
Note: to use NTRight.exe utility to add a user
right remotely, the computer must already connect to a workgroup or domain and
can access by another machine.
The 2003 Netstat.exe utility has a new switch, the -o
switch, that can display the process identifier (ID) that is associated with
each connection. For example, the netstat -ano command can
produce the following output:
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 Listening 888
Command Set shows COMPUTERNAME, LOGONSERVER,
USERDOMAIN and USERNAME.
How to manage services remotely
The NT Resource Kit has two utilities, sc.exe
and netsvc.exe, that allow you to manage remote computer services. For example,
to view the services on a remote machine, use this command: netsvc /query
\\servername /list. To startmssqlserver, use
netsvc mssqlserver \\servername /start.
Netsh is a command utility that allows you to
display or configure the network configuration of a computer either locally or
remotely.
You can use the Netsh.exe tool to perform the following tasks:
* Configure interfaces.
* Configure routing protocols.
* Configure filters.
* Configure routes.
* Configure remote access behavior for (RRAS) Service.
* Display the configuration of a currently running router on any computer.
* Use the scripting feature to run a collection of commands in batch mode
against a specified router.
You can use the netsh command in Windows 2000 to script the process of changing
a computer from a static Internet Protocol (IP) address to Dynamic Host
Configuration Protocol (DHCP) or vice versa. The netsh command accomplishes this
task without the need to restart the computer. This feature is particularly
useful for laptops that move from one environment to another, when it is
necessary to use statically assigned IP addresses at one location and DHCP
assigned IP addresses at another.
1) To display all of the adapters in the computer with their current IP
addresses to determine the correct adapter name, type the following command:
Netsh interface ip show config
2) To switch the specified adapter from a static address to DHCP, type the
following command:
netsh interface ip set address "Local Area Connection" dhcp
NOTE: The InterfaceName parameter must match the name of the interface
as specified in Network Connections. If InterfaceName contains
spaces, use quotation marks around the text (for
example, "Interface Name").
3) To change to a static address, type the following command:
netsh interface ip set address "Local Area Connection" static ipaddr
subnetmask gateway metric
NOTE: Replace ipaddr with the static IP address, subnetmask with the subnet
mask, gateway with the default gateway and, if necessary, metric with the
appropriate metric. For example, to change my NIC, 3COM, from 10.0.0.11 to a
static address of 10.0.0.111 with the same subnet mask and the default gateway
with a metric of 1:
netsh interface ip set address 3COPM static 10.0.0.11 255.255.0.0 10.0.0.111 1
Depending on what you want, you may have
two options: 1) if you want renew IP, create a batch file including ipconfig
/renew; 2) if you want to re-setup another static ip, use netsh (refer to
How to Use
the NETSH Command to Change IP address)
Syntax
connect iphostHostPort (host would be host name or ip)
Example: 1) netsh; 2) diag; 3) from netsh diag>connect iphost 10.0.0.1 25. If
[none}, that means port 25 is closed; if [25], it is opened.
Task Manager provides many useful information about applications, processes,
performance and network (for XP only) running on your computer. You can use Task
Manager to monitor key indicators of your computer's performance. You can see
the status of the programs that are running and end programs that have stopped
responding. You can also assess the activity of running processes using as many
as fifteen parameters, and see graphs and data on CPU and memory usage. In
addition, if you are connected to a network, you can view network status and see
how your network is functioning. If you have more than one user connected to
your computer, you can see who is connected, what they are working on, and you
can send them a message. To run Task Manager, press Ctrl+Alt+Del together.
The Networking tab provides an indication of the network traffic for
the connections on the local computer. It is useful as a quick reference for
determining the amount of network bandwidth being consumed. When multiple
network connections are being used, it allows easy comparison of the traffic for
each connection. If you have multiple networking cards on your computer, the
chart displays a composite index of all networks, representing all network
traffic. The Networking monitor can be a tool for troubleshooting.