Download And How To Use DiskPart.exe In Windows 2003, XP, Vista, 7

Manage Your Disks in Windows with DiskPart

The Disk Management utility in Windows – a GUI based application – lets you perform various disk operations – such as setting active partitions; changing drive letters and paths; extending, shrinking, and deleting a volume; and formatting the drives. But the Disk Management utility is quite faulty and prone to errors. Typical problems that users face include random graying out, and disabling of the Extend Volume/ Shrink Volume tabs.

In this regard, the DiskPart utility is an excellent alternative to the inbuilt Disk Management application in Windows. The DiskPart utility is a text input command line application founded on scripts that let you create, erase and adjust the size of the different volumes on your hard drive. It is compatible with almost all the recent Windows versions – although in the XP, and the previous editions, you have to install the application manually (the DiskPart.exe installer does not work in them).

DiskPart, being a command prompt application, will require you to familiarize yourself with the different commands of the program. To get the various options/syntax for any command you can always type in Help [command] and press Enter.

Here is a list of simple operations of DiskPart to help you get started with the program.

  1. Starting/Running DiskPart
    To start the DiskPart interface, go to the Start Search field in Vista, or the Run box in the case of XP/2000/2003, and enter DiskPart.exe. A command line for the program is launched.
  2. Listing all the disks on the PC
    To view all the hard disks installed in the system, enter list disk at the prompt.
  3. Selecting a target disk
    In order to choose a disk you plan on working with, use the command:

    select disk <disk number (###)>

    Disk number can be obtained by using “list disk” above.

  4. Creating a partition
    A partition (on an empty hard disk, or on some unallocated free space) is created with the command:

    create partition <partition type> [size=<n>] [offset=<n>] [id={<byte> | <guid>}] [align=<n>] [noerr]

    The supported partition types are primary, extended, logical drive, EFI and MSR. (You can get more information on these with the Help command).
    For instance:
    create partition primary size=2000
    will generate one primary partition of 2GB size.

  5. Creating a volume
    DiskPart lets you create RAID volumes with three (or even more) specified disks; and a simple/striped volume with any number of specified disks greater than two. The command for this is:

    create volume <volume type> [size=<n>] disk=<n>,<N>,<n>[,<n>[,…]] [align=<n>] [noerr]

    For instance:
    create volume raid size=1000 disk=A,B,C
    will create an RAID-5 volume of 1 GB using disks A, B and C.

  6. 6. Listing all volumes
    The following instruction lists all the volumes so that you can check the number linked with the particular volume you wish to work on:

    list volume

  7. Selecting a volume
    The following instruction selects a volume for performing operations on it:

    select volume <number>

    The volume number is recovered using the “list volume” command above.

  8. Listing all partitions
    The following instruction lists all the partitions so that you can check the number linked with the particular partition:

    list partition

  9. Selecting a partition
    The following instruction selects a partition for performing operations on it:

    select partition <number>

    The partition number is recovered using “list partition”.

10. Shrinking a volume
Shrinking of a particular volume can be achieved by the following instruction:

shrink [desired=<n>] [minimum=<N>] [nowait] [noerr]

For instance:
shrink desired=350 minimum=100
will shrink the current volume by 350MB, and 100 MB is the minimum space to be released if this is not possible.

There is another command that lets you find the maximum space by which you can reduce the size of a volume, which is:
shrink querymax [noerr]

11.  Extending a volume/partition (increasing size)
To extend a particular volume/partition into unallocated and free space, use:

extend [size=<n>] [disk=<n>] [noerr]

For instance:
extend size=750
will take the current partition/volume and increase its size by a margin of 750MB.
12.  Deleting a particular partition/volume
Dynamic disks are removed with the command “delete volume”. After selecting a partition/volume, use the following line:

delete partition (to delete a partition ofyour choice)
delete volume
(to delete a volume of your choice)

[Download DiskPart]

Formatting a particular volume/partition
For this, just select the desired partition/volume, and type in Format.

Where Can I Download Full Version Of TweakVista From?

Improve Performance of Vista with the TweakVista 1.0

Your Windows system has a lot to offer – only if you know how to tweak it the right way according to your needs. In this regard, Stardock has come out with a tweaking tool called TweakVista 1.0 designed especially for Windows Vista systems. It allows you to increase your system’s performance by changing the settings of hidden and hard-to-reach files and folders – even in the system registry. TweakVista 1.0 comes in two versions – the free version (that has a limited number of features) and the paid version (that has all the features).

Although TweakVista has a lot of competition, it gets an edge with its wide-ranging utilities and its easy utility to professional as well as amateur users. Here is a summary list of features of TweakVista 1.0:

  • Security Tweaks: With TweakVista, you can modify the security settings so that you have complete control over the security prompts that are so common in Vista. For instance, you can set the specific situations when the User Accounts Control dialog should be used and when it should be skipped.
  • Memory Tweaks: TweakVista monitors the various startup programs that the different users of the computer use frequently – and thereby it gives you suggestions as to the ones that can be disabled without affecting the system’s performance. It also allows you to switch user profiles in a particular way that will optimize memory usage.
  • Resource Tweaks: This utility also keeps an eye on the applications that consume huge quantities of system resources – whether it is in the memory, processor, or system processes – and lets you change the settings of those applications accordingly. Moreover, it is designed to give seamless support to the default diagnostics reports of your PC.

Apart from this, TweakVista has other features such as auto update, memory optimization, and Vista assessment – as well as a newly designed Carbon Footprint element that calculates the running cost of your system and presents the estimated Carbon Footprint.

[ Download TweakVista ]

Remove Hacked By Godzilla or Blazle.vbs From Internet Explorer

Edit the Default Description in Microsoft Internet Explorer Title Bar

In its default settings, Microsoft Internet Explorer displays the title/name of the website being accessed in the IE’s title bar and following the website name, the string “- Microsoft Internet Explorer” (or, in some cases, the company/ISP provider’s name) is displayed in the title bar.

If you feel that something should be done about this, and wish to change/remove the default text that is displayed in the IE title bar, then you have come to the right place. Perform the following steps to hack into IE and change the text as per your wish.

  1. Open the Run prompt from the Start menu.
  2. Type in regedit and hit Enter to start the Registry Editor.
  3. Locate the following registry branch in the Registry Editor:HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

  4. In the Main registry key, double-click on the key named Window Title in the right hand side panel. [Note: If you find that there is no key by the name of Window Title, then you have to create one by that name. For this, go to New -> String Value, and then enter Window Title.]
  5. After double-clicking, enter the text you want to see on title bar of IE as the value for the registry key. [If you leave the field blank then nothing will be displayed after the website name in the title bar.]
  6. Exit the Registry Editor and restart Internet Explorer.

This time, Internet Explorer will display the text you entered in Step 6 above, or will display only the site name if you left it blank. This cute hack lets you personalize you Internet Explorer experience in an innovative (and cool!) way.

Speed Up slow Files Copy, Delete, Usb Transer, Network Transfer In Windows Vista / 7

Fixing the Problem of Slow File Copying in Vista

There is a bug in Windows Vista that slows the common file operations such as file copy, move, or delete. This becomes more noticeable when you are carrying out such file operations on a large file. In the worst cases, the system may even freeze over, and you might have to reboot – undoing the entire file operation that you had started a while ago.
Although the exact cause of this problem is not clearly known, several workarounds are already in circulation. If you are facing this problem and it is becoming a nuisance, you might try any of the following workarounds to see if it solves the problem.

1. Windows update KB938979

Microsoft has released two updates that address the symptoms listed above – and this is one of them. This update is designed to clear out the issue of the ‘time remaining’ dialog taking a long time to kick in during file copying/moving. It is also supposed to take care of several other problems related to speed and performance of Vista – hence it is advisable that you download this patch and get it installed.

2. Windows hotfix KB931770

This hotfix is designed to fix the bug that causes the ‘time remaining’ popup to freeze at ‘0 minutes remaining’. This occurs especially when you are trying to copy a file from a network machine to your PC. The patch also takes care of other file copying issues.

3. Disabling RDC

RDC, or Remote Differential Compression, minimizes the amount of information sent over a network connection by synchronizing your PC with the remote node using compression methods. Turning off RDC in Vista speeds up file copying/moving /deletion over the network.

  • Steps for Disabling RDC
    1. Go to Start -> Control Panel -> Programs.
    3. Now, go to Programs & Features -> Turn Windows Features on or off.
    4. Deselect (uncheck) the checkbox next to Remote Differential Compression.
    5. Press OK.
    6. Wait while RDC is deactivated, and then reboot your PC.

4. Disabling TCP/IP Window AutoTuning

AutoTuning in Vista is responsible for scaling the TCP/IP window size for an optimal upload/download connection bandwidth. However, the deployment of this feature is not proper and it often leads to slow file transfers over the network.

  • Steps for disabling TCP/IP AutoTuning
    1. Open a command prompt with elevated administrator privileges.
    2. Enter the following command at the prompt:

    netsh interface tcp set global autotuninglevel=disabled

    3. Restart your PC.

5. Using alternative file copy/move application

Instead of using Windows Explorer, you can try other copying/moving options in Vista – Robocopy, xcopy and copy for example.

Third party applications such as TeraCopy can also serve to be an excellent option to get around the slow file copying problem in Vista.

6. Turning off Indexing

Another smart move is to turn off the indexing service – for this you have to navigate to Indexing Options in the Control Panel. Indexing service can also turned on/off for particular drives/directories using the Properties options in the menu bar of the concerned drive/directory. This will also increase the copy speed.

7. Disabling Thumbnail caching

Opening a folder in Vista with the Windows Explorer leads to the generation of thumbnail database files (thumbs.db) in a centralized database. This is irrespective of the type of icon preview that you have enabled for the folder. This might also slow down file operations – hence you might try disabling it for faster copying speed. Simply go to Folder and Search Options and deselect the Always show icons, never thumbnails option.

8. Disabling IPv6 Support

Windows Vista installs and implements IPv6 support in its default setting. However, the Ipv6 protocol is a burden on your PC’s performance at times and, as its use is not too widespread as yet, disabling it does not affect your networking abilities by much.

  • Disabling IPv6 for a particular network connection
    • Go to Network Connections -> Properties of the particular connection. Under This connection uses the following items, deselect the check-box next to Internet Protocol version 6 (TCP/IPv6).
  • Disabling IPv6 for a tunnel interface
    • Go to Control Panel -> System Properties -> Device Manager.
    • Click on View and select Show hidden devices.
    • Now right-click on Teredo Tunneling Pseudo-Interface shown in the Network tab and select Disable.

9. Workarounds from Microsoft

Microsoft has released several official workaround strategies for the slow file transfer speed issue (especially for large files) over a network. These workarounds deal with the case when you are transferring a file from a Vista PC to an XP- or 2003-based PC over the network connection.

10. Updating Drivers

Sometimes, the slow file copying problem may even arise due to outdated drivers installed on your system. Hence, you should make it a point to keep a tab on the official driver releases of your motherboard (for instance) and update your drivers regularly.

If you are on Intel then:

What Is Thumbs.db And Where Is It Stored In Windows Vista

Finding the Thumbs.db files in Vista

While using Windows Explorer (in XP or 2003), if you set the “View Icon Type” for a particular folder to either Thumbnail or the Filmstrip view, a Thumbs.db (which is a database file) is generated and stored in the same folder. These database files store small cache versions of the various graphical content of the different files in the folder. This way, the thumbnails do not have to be generated for display every time you access the folder.

Although in the Media Center Edition of Windows XP, thumbnail previews of video files are supported, they are stored in an ehThumbs.db file instead of a Thumbs.db database file. In addition, all of the thumbnail database files are typically stored in the ‘Hidden’ mode.

Windows Vista, however, has a different system regarding the thumbs.db files. Here, the thumbs.db/ehThumbs.db files are not scattered around in the folders. Instead, the thumbnail database files that are generated in the folders are stored in one single directory that allows centralized storage/access to all the thumbnail database files. The location of this centralized directory is:

\Users\[User Account Name]\AppData\Local\Microsoft\Windows\Explorer

In the above directory, you will find files with the “thumbcache” prefix – they will have a filename of the form: thumbcache_xxxx.db.

This move to a centralized thumbnail database for Vista reduces the clutter in your normal directories and prevents unnecessary and accidental deletion of Thumbs.db files. As it is not possible to delete the thumbs.db files in this case, it is best to use Disk Cleanup whenever you want to delete the thumbnail cache stored at the above location.

How Can I Disable / Prevent / Stop / Turn off Thumbs.db In Windows XP / 7 / Vista

Disabling Thumbnail Cache Generation in Windows

In Windows XP and 2003, Thumbs.db files can be found in all folders that have the thumbnail/filmstrip view enabled and contains photos, graphics and certain kinds of documents (such as PDF or HTM files). Thumbs.db is a database file that is used to store the details about the thumbnail preview of the concerned folders so that the preview image does not have to be generated every time that folder is accessed using Windows Explorer.

Although these thumbs.db files are always stored in the ‘hidden’ mode, many users have the ‘show hidden files’ option turned on, and they feel that the thumbs.db files are an unnecessary clutter that needs to be removed. Manual deletion leads to the creation of a new thumbs.db file as long as the thumbnail preview is enabled for the folder.

Here is how you can disable/turn off the thumbnail generation feature:

  1. Go to the Folder Options. You can do this by seeking out Folder Options in the Tools tab of the menu bar in the Windows Explorer, or by finding Folder Options in the Control Panel itself.
  2. Go to the View tab in the Folder Options dialog.
  3. There is an Advanced Settings menu– in which the Do not cache thumbnails option is clearly visible.
  4. Normally, the check-box next to the Do not cache thumbnails is unchecked. Select (tick) this checkbox.
  5. Click on OK.

Otherwise, you can also use the registry to disable the thumbnail cache generation:

  1. Enter regedit in the Run command to start the Registry Editor.
  2. In the Registry Editor dialog, the navigation on the left has different trees for different categories. Go to the following location:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\

  3. As soon as you click on the Advanced tab, the right panel will display a list of registry values. Right-click on the DisableThumbnailCache value and select Modify. Enter the new value data as 1. [Note: If the DisableThumbnailCache registry key does not exist, right-click on blank space in the right panel and select New-> DWORD Value. Then create the new DWORD with the name DisableThumbnailCache, and enter the value data as 1.]

Close the Registry Editor dialog and reboot.

How to find, Check, Tell Which Process Is Using A Directory / File / Folder / Application

Monitor all the Process on your System with Process Explorer 11.02

When you find then your system has slowed down and/or a few programs are not responding, you typically open the Windows Task Manager to check the processes that were running, and disable a few. However, it is difficult to determine the file/directory that the processes are accessing. Process Explorer 11.02 resolves this by giving you all the information you need on the running processes and monitor them as per your need.

The application interface has two windows – one on top of the other vertically. The one on top lists the currently running processes, such as the DLLs/handles that the processes have loaded, and the corresponding user account that controls them. The window at the bottom displays information according to the mode of the Process Explorer. The handle mode means that the bottom window will show the handles of a selected process (in the window above); whereas the DLL mode means that it will show the memory-mapped files/DLLs opened by the selected process.

You can even search the processes that might have caused a particular DLL/handle to be loaded – a highly useful feature in tracking problems related to handle leaks, or different DLL versions. Moreover, the whole exercise of tracking processes to their DLLs/handles is insightful for the way your system works.

The latest version can even fix column set bugs along with bugs related to NT 4 transfer protocol functionalities. Process Explorer is compatible with most of the Windows versions, including the recent Vista editions.

You can download it from here.

Eaccelerator In PHP For Your Wp / WordPress To Make It Faster

Make WordPress Faster: Use XCache or eAccelerator to Store Variables

Most WordPress bloggers will agree that it becomes excruciatingly slow at times. This is primarily because WordPress uses PHP scripts and dynamically generates every web page that has to be served to visitors. The entire process requires the Apache web server to first access, read, interpret and compile the PHP codes; then recover the data necessary to build the page from the MySQL server; and finally send the HTTP response in HTML. Several workarounds to this situation are in circulation – falling in either the ‘cache’ or the ‘accelerator’ categories.

A popular plugin in the cache category is WP-Cache 2 – a page caching system that caches WordPress pages in a static file to serve future requests directly from the cached file. This means that all the dynamic contents of WordPress become static. WP-Cache triggers just once on page creation – after that everything is managed from the cache. However, this approach has problems such as hosting limitations that make it less successful.

Hence, many WordPress users turn to PHP accelerators such as eAccelerator, APC, XCache, Turck MMcache, Memcached, Zend Optimizer, Zend Platform and ionCube PHPA. These programs cache the compiled byte-code form of PHP scripts in the memory to avoid parsing and compiling of the source code at each page request. It boosts up the overall performance of your website, while not affecting the dynamic content such as statistics tracker, site counters, etc.

Recently, programmers from NeoSmart have developed and released plug-ins for WordPress that integrate the actual server code with the op-code caching engine of XCache or eAccelerator. Thus, in addition to caching the PHP scripts in memory, the WordPress objects and variables are also stored in an ultra-fast memory.

Currently, only XCache (download from here) and eAccelerator (download from here) are available.