Learn some helpful IT Administrator tips and tricks.

Welcome to the most comprehensive list of tips and tricks for IT field, you'll find anywhere on the internet. I hope these tips help you get the most out of your internet.

Showing posts with label command. Show all posts
Showing posts with label command. Show all posts

Saturday, March 9, 2013

Net Accounts, Net Accounts /Domain Command Details and Examples

You must access a command prompt and be logged on to an account with network administration permissions. Net accounts command allows administrators to control user account logon settings from command line. Below you can find the syntax of net accounts command explained with examples. C:\>net accountsForce user logoff how long after time expires?:       NeverMinimum password age (days):                         ...

Details and Examples net user /domain user info from the command line

Use the command "net user accountname /domain" to display user information Running that command gives you something like this: net user thinnawutp /domain (2 domain output sample)   To obtain a list of domain users and groups you can query the domain controller as follows:net user /domain > users.txt net group /domain > groups.txt ...

How to logoff remote desktop via Terminal Server Commands "Query session | Reset session"

This is just a quick guide to check the error message "The terminal server has exceeded the maximum number of allowed connections" that you can use this command to figure out what sessions are connected to the server. Use this command to display information about administrative and client node sessions: query session /server:yourcomputer To reset the session of user1 by using the session name:reset session rdp-tcp#1 To reset the session of user1...

How to enable ping response in Windows Server with commandline

This is just a quick guide to enabling a server to respond to ping, the default setting in Windows Server is to disable. I would like to recommend this command "Netsh firewall set icmpsetting 8". While running this command, just wait since it takes a little time and this is the result:, Once enabled you can also simply disable the ping utility also by repeating the same above steps the only difference would be the command name. Open the command...

How to find MAC address... either locally or across a network

Getmac | I would like to recommend this parameter "getmac /s \\remotecomputer", it helps you can remote to other PCs easily. While running this command, just wait since it takes a little time and this is the result:, Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer, either locally or across a network. getmac getmac /v Note: export the output by using...

Commands Every Administrator Should Know "Driverquery"

Driverquery = Displays a list of all installed device drivers and their properties. I would like to recommend this parameter "driverquery /s \\remotecomputer" , it helps you can remote to other PCs easily Incorrect device drivers can lead to any number of system problems. If you want to see which drivers are installed on a Windows system, you can do so by running the driverquery tool. This simple command-line tool provides information about...

Friday, May 25, 2012

Configure IP Address and DNS using Command Prompt

In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses and many other options you can use Netsh.exe. The requested operation requires elevation (Run as administrator). The IP address of your computer can be set from the command prompt by running the following commands at an administrative level prompt: netsh interface ip set address name="Local Area Connection" static 146.40.202.222...

Enable Telnet with only one command

Enable Telnet with only one command... Starting with Windows Vista, Windows 7 and ....., Microsoft no longer includes the telnet command installed by default. It is still available but must be installed or enabled by the user. The normal way to enabled additional features is through the “Turn Windows features on or off” window found in Control Panel. This accomplishes the task but can be annoying when you are working in Command Prompt and need...

Friday, April 6, 2012

Ping Multiple Destination With Batch File

       A common tool that network and system admins make use of is the “Ping” command which is a very simple and effective way to verify a machine is available on the network (firewall rules depending of course). So if you find yourself having to ping multiple machines at once, a very useful tool is the batch files, which will not only ping all the ip addresses but also give you ping results in text file format with just single...

How to Use the Traceroute Command

     Traceroute is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. In addition to this, it will tell you how long each 'hop' from router to router takes.     In Windows, select Start > Run > Type cmd or Start > Programs > Accessories > Command...

How to Use the Ping Command

       Pinging is a command which tells you if the connection between your computer and a particular domain is working correctly.        In Windows, select Start > Run > Type cmd or Start > Programs > Accessories > Command Prompt. This will give you a window like the one below.       Enter the word ping, followed by a space, then the domain name.       If the results...

Thursday, April 5, 2012

Color Batch File To Check Network~Server

       I wrote this today to provide an easy way for anyone to see if a computer is on the network/internet and even do some basic troubleshooting. If someone wanted to take this. Just cut and past into a text file and save with a .bat extension and you should be good to go. Could easily be put on a floppy or e-mailed to someone to test with.. Here is the basic color command: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...

Saturday, March 31, 2012

Batch File Commands - Network Self Test

Network Self test IT Services: Run the script TestNetwork.CMD, you will see the following screen, which provide menu to test IT network services. perform a ping to a domain or application - this will help identify ... ping commands before the user contact your site admin Menu 0: IP configuration: Provide overall network configuration detail on your PC. For Company (Thai), “Ipv4 Address” should begin with 192.160.xxx.xxx (where x represoen...