Monday, August 23, 2010

Fwd: Steps to increase the size of the C drive (The system Drive) of a Virtual Machine

To increase C: drive on Windows VM…MAKE SURE THE VM does not have any snapshots!!!

1. shutdown VM you want to grow

2. Edit settings on the VM, go to hard disk and increase it to the desired size.

3. At this point, the OS can "see" the unallocated space in disk manager; however the C: drive is still the same size. We need to grow the windows partition using diskpart.

4. Attach the disk (vmdk) that you just grew to another virtual machine with a like OS. Use the VI client to "add a hard disk" to the VM that you are using to extend the partition (select the "use an existing hard disk" option).

5. Do a "rescan" in windows disk manager on the VM you are using to temporarily attaching the drive to.

6. open a Windows command prompt and type diskpart

7. Show the volumes that are on the system: DISKPART> list volume

8. Select the volume that you want to grow: DISKPART> select volume n where "n" is the number of the volume you want to extend.

9. Verify you have selected the correct partition, there will be an asterisk next to it:

   DISKPART> list volume

10. Extend the partition in diskpart: DISKPART> extend

11. Shutdown the VM that you are using to extend the partition

12. When the VM is shut down, remove the disk that was previously attached - choose the "remove from virtual machine" option.

13. You can now power the original VM back on.

14. you should now see the increased disk space; the server may ask you to reboot after it sees the partition increase.

Sunday, August 22, 2010

Be more secure using Logmein

This is for my friend Richard. I have been using Logmein now for as long as I remember since Logmein has been around, and I have used it with an extra security setting that emails me a random security code that I have to either cut and paste, or type in in order for it to let me proceed.

The reason I did this, is because I have it installed on family member's computers, and I never wanted to have anyone hack it.

Here is the way it works:

1. You log into Logmein like you normally would with your user name and password.
2. Instead of proceeding, you are prompted with a screen to put in another security code.
3. This code has been emailed to you to your email account.
4. You enter the code.
5. You now can proceed to see the list of computers that you can control.
6. Of course, your pc's should all have a username and password also.

Steps 3 and 4 are the extra steps.

To set this up:

1. Log in to Logmein.
2. Go into your Account.
3. Go to the Security tab.
4. Select to have one time security code sent to designated email address once.

See the following screen shots:

The suggested tip is to use an email address that is accessible through the internet, or maybe have it email it to your cell phone.

Another point is that the code is time sensitive, so if you don't use it right away it will time out and you will have to try again.

There are other options on that security page, including having a set of codes you can print out and use, but I like the one shot time sensitive option. It adds another layer that might seem cumbersome or bothersome, but the security that it adds I think pretty much makes it pretty air tight in my opinion.