Category Archives: windows

reclaim SD card original size after having used it as operating system for Openelec

After having used one of my SD cards, in raspberry PI to host the operating system, i tried multiple times to restore it to its original size. It Only showed 125Mb of space while it should normally be around 4gb. Many utilities did not work, throwing errors. Disk part worked.

Open CMD in windows and type

diskpart

This lists all the drives registered in the system at the time and their original size (no partitions)

Select the drive (SD card) you want to reclaim space for.

Type : Select Drive #

Select Disk and the number of the drive, for me it was drive 2.

Type: Clean

Then navigate to windows disk manager, format the SD card with the file system you want FAT, FAT32 and assign it a drive letter.

Diskpart in windows
Reclaim SD card unused space

 

 

Update, below a complete set of commands since only clean does not seem to work always. Creating the primary partition and formating is needed after that.

SELECT DISK 1
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ASSIGN
FORMAT FS=NTFS
EXIT

vmware repeated characters problem

For some time now i have this problem in one of the vm`s i use (win XP).When i edit a text document or start typing something, repeated keystrikes appear as if someone is pressing “c” on my keyboard.

repeated c strokes

In the beginning i thought that the cause of the problem was my XP machine, and the fact that i have been installing software from unsecure “origins”.. So i thought that a new vmware would be the solution to the problem. But NO! After backing up all my data, migrating it to a new windows 7 machine, and started using it in production use, guess..

repeated c strokes

It appears that this is a knowkn issue for vmware machines. I should have google it before doing all the work. This is how to get rid of it:

1. Power off the virtual machine.

2. Add a line, similar to this, at the end of your virtual machine’s configuration (.vmx) file

keyboard.typematicMinDelay = “2000000”

which equals to 2 seconds delay in the keyboard.

3. Start the vmware. You should be good to go.

Mike at “Single Founder” suggests the value can be changed to “500000”, since “2 seconds is a long time for computers”. I agree.