Tag Archives: Command Prompt

How to Optimize Performance in your Hard Disk Drive?

Nothing in the world irritates you more than the unreasonably slow computer while using it. You might put a cool face but I suppose, you sure want to punch your monitor or thrash it against the wall(but please don’t do that). There are many things you can do on your own (no experts needed).

One of those things are Disk Defragmenter.

To run Disk Defragmenter follow these steps:

  1. Click Start button
  2. Click All Programs
  3. Click Accessories
  4. Click System Tools
  5. Click Disc Defragmenter
  6. Now you can choose to Defragment individual volumes

navigate disc defragmenter 1

Using Disk Defragmenter is done in two parts. First you must click Analyze Disk to Analyze and determine the level of fragmentation. Now Disk Defragmenter will ask to defragment the Disk, if that’s what suggested based on current disc usage. You can Click view report to see the detailed report or else move on to second part.
Secondly, Click Defragment to begin the defragmentation.

disc defragementer wizard

To run Disk Defragmenter from command prompt (command line), type defrag followed by volume or drive designator. For example defrag c:

navigate disc defragmenter 2

Disk Defragmenter will then analyze the volume and start defragmenting. If you want to analyze first then use the –a parameter For example defrag c: -a.
If you want to use force deframgmentation , use –f parameter, for example defrag c: -f

Disk Defragmenter is a utility in Microsoft Windows designed to increase access speed by rearranging files stored on a disk. It checks for and corrects fragmentation problem on disks.
On FAT, FAT 32 and NTFS volumes, files, folders, and related disk structures are stored in clusters. Only one file can be written into a particular cluster. The default cluster size for NTFS is 4KB. If the file being written is more than 4KB then , multiple clusters are used. If there are more gaps between clusters,then the disk controller seeks clusters, which reduces read/write time.

Local Users and Groups

To quickly navigate through command prompt, Go to command prompt and type lusrmgr.msc
cmd lusrmgr

Now, you can see Local Users and Groups window
local users and groups

By default there will be 3 built-in accounts Administrator, Guest and HomeGroup users:

  • Administrator – for administering accounts in computer
  • Guest – for administering guest accounts in computer
  • HomeGroup – for administering homegroup accounts to users

As u go on creating new user accounts, they will be added to the list. Every user created goes to users folder and every group created goes to groups folder. Remember that the users and groups created are for that computer, and thus its said local users and groups.

Below snapshot shows the Build-in groups as well as later added ones. For example, the group _vmware_ was added after the installation of third party software VMware Workstation.

Groups - local users and groups