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

Wednesday, March 22, 2017

Know all the Windows Server 2008 Command Line Tools

Know all the Windows Server 2008 Command Line Tools



Windows Server 2008 provides the user with the option to execute commands from a command-prompt window. This chapter of Windows Server 2008 Essentials is intended to provide an overview of the different commands currently provided in the command-prompt.
Command Line Tools Summary
Command
Description
Arp Display and modify the IP to physical address translation tables used by the Address Resolution Protocol (ARP).
Assoc Display and modify file extension associations.
Attrib Display and change file attributes.
Break Configure extended Ctrl-C checking.
Bcdedit Configure properties in name database to control boot loading.
Cacls Display or modify access control lists of files.
Call Call a script or script label as a procedure.
CD/Chdir Display the name of or changes the current directory.
Chcp Display or set the active code page number.
Chkdsk Check a disk for errors and display a report.
Chkntfs Display the status of volumes. Set or exclude volumes from automatic system checking during system boot.
Choice Create a selection list from which users can select a choice in batch scripts.
Cls Clear the console window.
Cmd Start a new instance of the Windows command shell.
Color Set the colors of the command-shell window.
Comp Compare the contents of two files or sets of files.
Compact Display or modify the compression of files or sets of files.
Convert Convert FAT volumes to NTFS.
Copy Copy or combine files.
Date Display or set the system date.
Del Delete one or more files.
Dir Display a list of files and subdirectories within a directory.
Diskcomp Compare the contents of two floppy disks.
Diskcopy Copy the contents of one floppy disk to another.
Diskpart Invoke a text-mode command interpreter so that you can manage disks, partitions, and volumes using a separate command prompt and commands that are internal to Diskpart.
Doskey Edit command lines, recall Windows commands, and create macros.
Driverquery Display the current device driver properties and status.
Echo Display messages, or turns command echoing on or off.
Endlocal End localization of environment changes in a batch file.
Erase See Del.
Exit Exit the command interpreter.
Expand Uncompress files.
FC Compare two files and display the differences between them.
Find/Findstr Search for a text string in files.
For Run a specified command for each file in a set of files.
Format Format a floppy disk or hard drive.
Fsutil File system utility - displays and configures file system properties.
Ftp Transfer files.
Ftype Display or modify file types used in file extension associations
Goto Direct the Windows command interpreter to a labeled line in a script.
Gpresult Display Group Policy information for a machine or user.
Graftabl Enable Windows to display extended character sets in graphics mode.
Help Display Help information for Windows commands.
Hostname Display the computer name.
ICACLS Display, modify, backup, and restore ACLs for files and directories.
IF Perform conditional processing in batch programs.
Ipconfig Display TCP/IP configuration.
Label Create, change, or delete the volume label of a disk.
Md/Mkdir Create a directory or subdirectory.
Mklink Create symbolic and hard links.
Mode Configure a system device.
More Display output one screen at a time.
Mountvol Manage a volume mount point.
Move Move files from one directory to another directory on the same drive.
Openfiles Display files opened by remote users for a file share.
Nbtstat Display status of NetBIOS.
Net Accounts Manage user account and password policies.
Net Computer Add or remove computers from a domain.
Net ConfigServer Display or modify configuration of Server service.
Net Config Workstation Display or modify configuration of Workstation service.
Net Continue Resume a paused service.
Net File Display or manage open files on a server.
Net Group Display or manage global groups.
Net Localgroup Display or manage local group accounts.
Net Pause Suspend a service.
Net Print Display or manage print jobs and shared queues.
Net Session List or disconnect sessions.
Net Share Display or manage shared printers and directories.
Net Start List or start network services.
Net Statistics Display workstation and server statistics.
Net Stop Stop services.
Net Time Display or synchronize network time.
Net Use Display or manage remote connections.
Net User Display or manage local user accounts.
Net View Display network resources or computers.
Netsh Invoke a separate command prompt that allows you to manage the configuration of various network services on local and remote computers.
Netstat Display status of network connections.
Path Display or set a search path for executable files in the current command window.
Pathping Trace routes and provides packet loss information.
Pause Suspend processing of a script and wait for keyboard input.
Ping Determine if a network connection can be established.
Popd Change to the directory stored by Pushd.
Print Print a text file.
Prompt Change the Windows command prompt.
Pushd Save the current directory then changes to a new directory.
Rd/Rmdir Remove a directory.
Recover Recover readable information from a bad or defective disk.
Reg Add Add a new subkey or entry to the Registry.
Reg Compare Compare Registry subkeys or entries.
Reg Copy Copy a Registry entry to a specified key path on a local or remote system.
Reg Delete Delete a subkey or entries from the Registry.
Reg Query List the entries under a key and the names of subkeys (if any).
Reg Restore Write saved subkeys and entries back to the Registry.
Reg Save Save a copy of specified subkeys, entries, and values to a file.
Regsvr32 Register and unregister DLLs.
Rem Add comments to scripts.
Ren Rename a file.
Replace Replace a file.
Route Manage network routing tables.
Rmdir Remove a directory.
Set Display or modify Windows environment variables. Also used to evaluate numeric expressions at the command line.
Setlocal Begin localization of environment changes in a batch file.
Sc Display and configure background processes (services).
Schtasks Schedule commands and programs to run on a system.
Sfc Scans and verifies protected operating system files.
Shift Shifts the position of replaceable parameters in scripts.
Shutdown Perform system shutdown.
Sort Sort input.
Start Start a new command-shell window to run a specified program or command.
Subst Maps a path to a drive letter.
Systeminfo Display machine properties and configuration.
Tasklist Display currently running tasks and services.
Taskkill Kill or stop a running process or application.
Time Display or sets the system time.
Title Sets the title for the command-shell window.
Tracert Display the path between computers.
Tree Graphically displays the directory structure of a drive or path.
Type Display the contents of a text file.
Ver Display the Windows version.
Verify Tells Windows whether to verify that your files are written correctly to a disk.
Vol Display a disk volume label and serial number.
Xcopy Copy files and directories.
WMI Display WMI information.

Available link for download

Read more »

Thursday, February 2, 2017

CHKDSK How to Use This Evergreen Disk Repair Command in Windows 8

CHKDSK How to Use This Evergreen Disk Repair Command in Windows 8


Often times, we need to repair hard disks to overcome from various errors and problem that we might face almost every day. Check Disk utility in Windows is still a winner among various other free utilities provided from Microsoft that we use to check hard disk errors and repair them, even in Windows 8.

Previously, Disk Check utility comes with slight differences and limitations that may have lifted in Windows 8. Checking your hard disk in Windows 8 through CHKDSK command every once in a while will ensures healthy performance of your PC. You can use it anytime to deal with various problems such as improper shutdown, third party hefty software, file system corruption, disk structure corruption etc.

How to run CHKDSK in Windows 8
Microsoft has completely redesigned Check Disk utility in Windows 8 to meet the growing needs of user who found themselves incapable to deal with various hard disk issues such as bad sectors and blocks, freezing issues, automatic restart etc. Microsoft has also introduced Automatic Maintenance to run in the background and repair errors if it founds any. However, if you want to run check disk command at any particular instant or to address any particular issues, you can do so by following the steps below:
  • Simply right click on any drive listed under ‘This PC’ window and choose ‘Properties’
  • Navigate to ‘Tools’ tab and click on ‘Check’ button listed under ‘Error Checking’ rectangular box.



  • System error checking process will begin immediately and will report any errors that it founds. In case, check disk utility don’t found any errors you will get a confirmation dialog box stating ‘You Don’t need to scan this drive’. Still not satisfied, you can proceed to perform disk error check by clicking on ‘Scan Drive’ button. 


  • Disk scanning for errors and corruption is faster than ever. The whole system check can be performed in minutes.


  • Once the Scanning is completed, you’ll get a confirmation dialog box stating ‘Your Drive was successfully scanned. Now Errors were found. ’


  • You can also choose an option to scan and repair drive together. This option is limited to Window default bootable drive containing your system files.


  • You can also chose to repair the problem drive on next restart. Additionally, if the drive you’re trying to repair is default windows drive, Windows will ask to repair this drive on the next restart to make sure that nothing bad will happen.


  • That’s it. Check disk utility perform well and helps you deal with any minor or major disk related errors or problems.

Steps to deal with disk related errors and problems

There are number of Disk related errors exist and one can happen anytime on your system. Some error sounds not that typical and can be dealt and fixed easily. However, most of the time not. Below mentioned are few particular type of disk related problems that may occur on your system:

A disk read error occurred
Disk Read or write error
A disk read error occurred. Press Ctrl+Alt+Del to restart.

Once such error strikes to your system, you’ll face freezing, interrupted shutdowns, slow system processing while accessing any files etc. Besides number of reasons that could cause this, first things you’ll need to do is to perform disk check. Follow the steps described above to check hard disk for errors and problem on your Windows 8 PC. In case you are using older version of PCs i.e. Windows 7, Vista, XP etc., you can still use the same operations except #1 (This PC was entitled as ‘My Computer’ previously).

To deal with such hard disk related problems, you’ll need to perform few others troubleshooting steps like testing your memory, replacing the problem drive, resetting or updating the BIOS etc.

If the above problems continue to exist even after following all the above troubleshooting steps, you’ll need to proceed with installing a fresh copy of Windows or even worse, have to format the drive completely. This could permanently delete files that you’ve stored on the problem drive or volume and will found no way back to restore it other using standard hard disk recovery tools provided by various software vendors across the globe, see some disk recovery tools here. It is specifically designed to handle data loss situations carefully and restore files with their actual names.

Benefits of using Disk Check Utility against various other disk repair tools

You may find number of tools designed to address disk related issues. These tools can check your hard disk for possible causes and may repair them immediately. However, you’ve to use such tools with caution as it may harm your computer and make the situation worse.

Running disk check utility provide no harms to your system whatsoever is completely safe. It’ll do no harm if no good. It’s also recommended that running check disk operations once in a while will make your PC functioning smoothly and avoid crashes or sudden system restarts.

Available link for download

Read more »