Mount VMDK in Windows

If you wish to mount a vmdk file into your windows you need to download VDDK from VMware web site. After installation of VDDK, go to command prompt and run the below commands,

I am kept my VMDK in “C:\VMDK\Test.vmdk”

C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin>vmware-mount.exe  J:  “C:\VMDK\Test.vmdk”

Now, you have the read only access to drive “J”

If the vmdk file contains more than one partition you can use the parameter /v:x to mount the other volumes:

vmware-mount.exe /v:2 J: “C:\VMDK\Test.vmdk”

If you need a writeable access just use the parameter /m:w.

vmware-mount.exe /m:w J: “C:\VMDK\Test.vmdk”

To delete vmdk mount,use the parameter /d:

vmware-mount.exe /d J:

vmware-mount.exe /L = This command list out all mounted vmdk

Please note that disk management does not show the vmdk mounts. you can view mounts in “My Computer”.

Physical disk performance counters

we need to add the below performance counters for finding physical disk’s performance.

perfmon-disk

perfmon-graph

Avg.Disk sec/transfer=Avg. Disk Sec/Read,Avg. Disk Sec/Write

Avg. Disk Sec/Read and Avg. Disk Sec/Write: Both counters measured in seconds in perfmon.we need to convert into milliseconds. This Read/Write latency is morethan 25 ms disk system is experiences latency issue. we need to replace the faster disk.

Less than 10 ms – very good
Between 10 – 20 ms – okay
Between 20 – 50 ms – slow, needs attention
Greater than 50 ms – Serious I/O bottleneck

Source: MSDN

Virus set my files in all drive to hidden.

Usually when virus hide files and it also remove folder options it is much difficult to get the files quickly if one is in hurry.I’m going to tell the the way in which you can unhide all the hidden files.

 

* use this command for all the folders in the drive. attrib *. -h -s /s /d

Steps 1

1. Go to Start > Run > type cmd

2. Dos will open type cd\

3. Now type the drive letter in which you want to Unhide the files lets suppose in my case its E: this will open the E: drive

4. If you want to see all hidden files and folders type E:\>dir/ah

5. Now type attrib *. -h -s /s /d

6. Now close cmd using exit command

Steps 2 (folder by folder)

1. Go to Start > Run > type cmd

2. Dos will open type cd\

3. Now type the drive letter in which you want to Unhide the files lets suppose in my case its E: this will open the E: drive

4. If you want to see all hidden files and folders type E:\>dir/ah (*you will now see the files/folders with hidden attributes )

5. Type “attrib [name of file/folder] -r -a -s -h” if you’re going to unhide files, you should type the whole name plus the extension (example: attrib banner.psd -r -a -s -h)

6. Now check you drive. It should be there