Windows: Missing Performance Counter Value

Not the end of the world but I did come across an annoying problem on one of my workstations, for some unexplained reason the Windows Resource Manager would not display any the drives connected to the system.

Disk resource

1. To solve this problem we’ll need a command line window. Go to Start > All Programs > Accessories > Command Prompt

2. Restore counter setting by issuing the for following command in the Windows command line.

lodctr /r

3. Just to be sure restart the system. Now the values should be back to normal.

Resources:

http://technet.microsoft.com/en-us/library/bb490926.aspx

SSHFS in Windows

This post will cover the required steps to configure a working SSHFS client set-up in Windows. With SSHFS you can mount a remote directory via SSH as if it were a local drive, while SSHFS is common on Linux/Nix* Windows is a different story. To make use of SSHFS in Windows you will need to download win sshfs a free SSHFS application.

You will need to download the following files to have a working SSHFS setup:

Let’s Start

Note:I’ve only used password for authentication, I have not tried key files yet…

You will need to download win sshfs from the following link code.google.com/p/win-sshfs/ , once the download completes install the application.

Windows SSHFS

Click on Next to continue.

Windows SSHFS

Accept the license agreement and click on Next.

Windows SSHFS

Hopefully you already installed the pre-requisites I mentioned above, otherwise the application will refuse to install. Otherwise, go back an install them. Click on Next to continue.

Windows SSHFS

Accept the default path and click on Next.

Windows SSHFS

Click on Finish to launch the application.

Windows SSHFS

Now in SSHFS Manager click on Add, we need to add a new connection.

Windows SSHFS

This is where we connect to the SSH server, in my case the server runs Ubuntu 12.04. Enter a name, server IP address, user credentials and for the rest go with the defaults if you like.

Windows SSHFS

First click on Save and then click on Mount.

Windows SSHFS

If you provided the correct server information your SSHFS connection should now be mounted.

Windows SSHFS

You can verify this by going to My Computer, the new SSHFS drive will be mounted as a removable drive.

Windows SSHFS

By default the applition will start at start-up, you can change this behavior by going to Taskbar, right clicking on the application icon and un-checking Run at startup.

Windows SSHFS

Win SSHFS so far as worked quite well for me, I like the idea of having access to SSHFS from my Windows 7 computer. If you find any mistakes of have suggestions don’t to leave a comment.

Links

Dokan library 0.6.0 dokan-dev.net/en/download/

win sshfs code.google.com/p/win-sshfs/

.NET Framework 4.0 microsoft.com/en-us/download/

Mount an Image File on Windows

If you created a image from a drive with a tool like dd and are now wondering how it can be mounted on Windows, well then this post will answer that question. In my opinion one of the best tools for the job is OSFMount a free application by PassMark that can mount all sort of image files such as ISO, image files and even VMDKs.

Note:When mounting an image file in Windows they need to be formatted with NTFS, exFAT or FAT in order to be able to view the contents. Windows is unaware of other file systems like EXT2/3/4, XFS, UFS, etc….

1. First Things First

First you need to visit OSForensics download the free tool OSFMount(32-bit/64-bit) and install it, there is no need to register pretty cool of PassMark.

2. Locate the Image

Probably the image you intend to mount has an extension ending with .bin, .img, .dd.

OSFMount 1

3. Mount It

Start OSFMount and click on Mount new…

OSFMount 2

Click on the button and browse to the location where the image file you wish to mount resides.

OSFMount 3

Select the image and click on Open. The image I’ll be mounting for this tutorial was created with the help of dd from a hard drive with Vista installed.

OSFMount 4

When mounting an image with OSFMount you have mount the individual partitions, otherwise Windows will ask you to format the image instead of mounting it. I’ll be mounting Primary parition 1 50.1GB because this is the partition where all of the files I want reside. Partition 2 contains the recovery partition.

OSFMount 5

I suggest you stay within the default settings picked by OSFMount since its pretty accurate at choosing them. By default the image will be mounted as read only to prevent changes to the source image file(safer), otherwise remove the check mark and you will have write access.

Click on Ok to mount the image.

OSFMount 6

The image we just mounted was assigned the letter I:\.

OSFMount 7

4. View the Results

If we open My Computer we can see the image file mounted as drive I:\ and is recognized as a Local disk. You can open the drive and work with the files inside.

OSFMount 8

Conclusion

In Linux image files can be mounted with the help of Mount, OSFMount is the best image mounting tool for Windows. I am working on a post where I will show you how an image file can be converted in to a virtual machine, will post when ready.

Feel fee to leave a comment below.

Links

Home Page: Passmark

Download Page: OSFMount

Roll Back A Problematic NVIDIA Driver

Device driver or software driver are a must if you want to get the most out of what ever hardware you are using and in my case it happens to be a graphics card but this time updating to the latest driver released by NVIDIA resulted in an annoying problem. Whenever I play Battlefield 2 Bad Company I sometimes get a black screen right when I am about to shoot some punk. NVIDIA drivers now support Braille ?.

In Windows rolling back to a previous driver version is surprisingly easy all you have to use is the Windows Device Manager.

As of this writing the latest driver for my NVIDIA 8800GTS graphics card is 296.10.

Device Manager

From Windows go to Start > Administrative Tools > Computer Management or go to Run and type compmgmt.msc.

On the left sidebar search for and click on Device Manager.

Search for Display Adapters and right click on yours, click on Properties.

Select the Driver tab.

Click on Roll Back Driver.

In order to revert back to the old drive you have to click on Yes. Wait for the changes to take effect you might get a temporary black screen.

To see if the changes were successful check in the NVIDIA Control Panel.