Get detail of your system Ram
Here is a quick little command line to get how much memory is installed on your pc.
Open a command prompt and type:
“wmic MEMORYCHIP get banklabel, devicelocator, caption, capacity”
Checking for .NET versions on Windows OR .NET and you.
This has been an interesting yet easy thing to do. It takes me back to when I used to hunt down the versions of Java that were installed on my computer. Cannot tell you the love I have for Java and the many revisions of framework that Sun seems to put out every 5 days (exaggeration).
So what and how do I find out if my current version of Windows has the right .NET framework installed? Well like checking your Java version you usually would go to control panel and “add/remove programs” or if Vista/7 you would go to “Programs and Features”. Inside this list of programs that are installed on your computer you scroll down to the microsoft Service Pack X.XXX and see all the patches and what not. You could also go to your C:\Windows directory and open Microsoft.NET folder open the folder called Framework. Inside you will find folders like V1.0.3705 to V3.5. These are the versions of .NET framework installed on your computer.
1. I have found a easier and well interesting way to find the versions installed on your current computer. Add “ javascript:alert(navigator.userAgent) “ to your Internet Explorer Bar and hit go and a message box will pop up with the information you want.
Please take note that that JavaScript code can be used in Firefox or Opera web browser to query their User Agent String too (but only the IE will report .Net framework version in its User Agent String).
2. Another interesting way to do it is:
Navigate to this Windows Registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
The major version number of each .Net framework releases installed can be found at this Registry path. Click the major version number key and there is a string value called “version” on the right-pane that reports the full version number of that .Net framework.
3. Or try this: Navigate to the Registry path that keeps the IE User Agent String:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Post Platform
If you think this Registry key path is easier to remember than the shorter, one-line JavaScript code that query the User Agent String, then this could be your answer.
There is also some pretty good software that will tell you the version of .NET you are running. Called oddly enough Version Checker.
So now you have no excuse not to know which version is installed on your machine.
Double click VHD Mounting
After installing Virtual Server R2 SP1 on your server, you can access VHDMount from the %Program Files%\Microsoft Virtual Server\Vhdmount folder.
VHDMount is provided as a command line tool. You can perform various tasks by either running it directly from the Command Line, or by using simple batch files that do what you need to do. Some of the capabilities of VHDMount are:
/p - Plugs in the specified VHD as a virtual disk device without mounting the volume.
/m - Plugs in the specified VHD as a virtual disk device and mounts the volume.
/f - Performs the specified operation without creating an Undo Disk. This parameter is applicable for /p and /m. All changes to the mounted disk are directly written to the specified VHD.
/u - Unplugs the virtual disk device for the specified VHDFileName.
/c - Updates the original VHD with all changes that were stored in the Undo Disk anddeletes the Undo Disk after unplugging the disk. This parameter is only applicable if the VHD was mounted without using /f.
/d - Discards all changes to the mounted disk and deletes the Undo Disk after unplugging the disk. This parameter is only applicable if the VHD was mounted without using /f.
/q - Displays the disk name of the mounted virtual disk device for the specified VHDFileName.
VHDFileName - VHD name including full path.
DriveLetter - Optional parameter for /m option. If drive letter is specified the volumes are mounted starting at the specified drive letter. If drive letter is not specifiedit is automatically assigned.
All - Applies the operation on all mounted virtual disk devices. This parameter is applicable for /u and /q.
By default, VHDMount creates an Undo Disk in current user's temporary folder. All changes to the mounted disk are written to this Undo Disk. Use /c to commit or /d to discard these changes at the time of unplugging the disk device. Use /f option to mount a VHD without an Undo Disk.
Examples:
VHDMOUNT /p [/f] VHDFileName
VHDMOUNT /m [/f] VHDFileName [DriveLetter]
VHDMOUNT /u [/c | /d] VHDFileName | All
VHDMOUNT /q VHDFileName | All
Integrating VHDMount in the Explorer context menu
Ben Armstrong, a Program manager on the core virtualization team at Microsoft, has published a neat registry trick that allows you to mount VHDs by just double clicking on them. By creating a .reg file with the following contents:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell]
@="Mount"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount\comma
nd]
@="\"C:\Program Files\Microsoft Virtual Server\Vhdmount\vhdmount.exe\" /u \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command]
@="\"C:\Program Files\Microsoft Virtual Server\Vhdmount\vhdmount.exe\" /p \"%1\""
[HKEY_CLASSES_ROOT\.vhd]
@="Virtual.Machine.HD"
Double click on the .reg file (to load it into your registry) you will be able to double click a VHD to mount it, and right click on it to dismount it.
Windows will auto-install the correct driver and allow you to see the .VHD file as a new hard drive.
Issues with Windows Vista
Two notes about using this trick with Windows Vista:
1. For some reason 'double click' does not work in Windows Vista. The only way around it is to right-click on the .VHD file and select "Plug in".
2. VHDMount needs to run 'As Administrator'. You can either disable UAC (read my "Disable UAC in Vista" article), or, to get this to work with UAC enabled, you will need to configure VHDMount.exe, go to the Compatibility Mode tab, and check "Run this program as an administrator".
When you're done working with the mounted .VHD file you can right-click it and either choose to commit changes, or not.
Get the functionality of VHDMount without installing Virtual Server
If you need VHDMount but you don’t need or want to install Virtual Server you can install only the VHDMount components, use the Custom option in the Virtual Server R2 SP1 installer and clear all components except VHDMount.
How to Create a ISO from a VHD file
The way in this guide can only be done from Windows 7! And you need to have WAIK (Windows Automated Installation Kit)installed.
And yes there are more ways to do this.
First unpack a version from before the build you have as .VHD
(In this guide i will take build 7229 as an example)
to a folder.
Then go to the "control panel admin tools" :
There you go to : "Computer Management"
There you right click on : "Disk Management" and choose : "Attach VHD"
Then browse to your ".VHD" file.
And click "OK"
Then there will be added a "Virtual Drive"
In this example it is drive "J"
The drive icon color is blue.
Now open a "WAIK command prompt"
(there is a shortcut for that in your start menu)
In there paste this line :
imagex /compress maximum /flags "Ultimate" /capture j: c:\install.wim "Windows 7 Ultimate"
/capture j: (put your own drive letter there i used J: as an example)
Wait till its finished.
In this example it will place the new "install.wim" into "C:\"
Now copy the new "install.wim" into the folder where you extracted the build 7229 iso.
In the "Sources" folder
And overwrite the "install.wim" file.
Now open the build 7229 original ISO with a program like "UltraISO" and make a new iso from the folder where 7229 is extracted and the new "install.wim" is placed.
After that you can mount or burn it and run the setup.
Once again Enjoy!
Backing up data and solutions that are available
So a couple of weeks ago I wrote about how to back up your data on a windows(XP(home and Pro) Vista (all versions)) machine. Some great little apps to backup data to external drives even to a network allocated storage device.
Did you however think great I have a way to backup the data and its working however my hard drives are filling up quickly. What do I do now?
Well you have options:
- Backup Less often (this can make things a bit interesting if you are constantly changing files and you may lose critical info.)
- Delete older backup files. (if your paranoid like me how far do you go back and delete backups?)
- Backup your data to a outside source.
So I am going to talk about option 3. We want to publish all the backups to a outside source. Well what source or applications are available?
There are a ton of great backup applications/services on the web. I decided to just reference a few:
Amazon S3 and
Jungle Disk
Yes I have tested these applications/services. Here is the break down.
Microsoft Skydrive: 25gigs of Storage. No automatic backup and have to be signed in to upload. Web interface to upload only. Non Encrypted. Free
Amazon S3: Pay per Gig use. Only a service. To be able to interface the service you have to use 3rd party applications (Jungle Disk) to do your backup. Encrypted transfers. Pay.
Carbonite: Unlimited storage. Installs to your local c drive and you can drag and drop files. Non Encrypted. Monthly service plan. *Used this service for 12months. Did not like the inflexibility of the service. Also after multiple emails asking if the data uploads and storage was encrypted. I was told in summary: Not to worry about what we do with your data. I promptly Canceled the service.
Mozy: Limited storage as of writing. A lot like carbonite. Non Encrypted. Monthly service plan
SugarSync : Another Clone to Carbonite and Mozy. Non Encrypted. Monthly service plan.
So there is the run down on services. However some things you might consider because it is your data. Right?
-Auto Backup?
-Where is the Data really going?
-Who has permission to view your data?
-Availability?
-Encryption?
-Support?
-How to Restore?
| Service | Auto Backup | Data Stored (location) | Who can see data? | Availability(uptime) | Encryption available | Customer Support? | Restore |
| Skydrive | No | Microsoft | Private and Public | ??? Hope microsoft servers stay online. | No | No or MSN support so No. | No just download data |
| Amazon S3 | Yes only if you use JungleDisk with it. | Across all Amazon Data Centers | Only You and those you invite(not recommended) | ??? Seen Amazon down 3 times in year |
Yes | Yes Amazon support. | Yes using Jungle Disk. |
| Carbonite | Yes, If you map your drives correctly. Good luck. | Carbonite Servers | Could not be answered by Carbonite | ??? As long as the company stays open. | No, Once again could not be answered by Carbonite | Yes, Very bad support via email. | No |
| Mozy | See Carbonite | Mozy Servers | Yes | ??? | ??? | No | |
| Sugar Sync | See get="_blank">Carbonite | Sugar Sync Servers | Yes | ??? | ??? | No |
In summary all these services are very good. It is hard to choose a service unless you really nitpick.
My personal choice after using all these services. Is amazon s3 and Jungle Disk. As a second backup I use SkyDrive and for stuff I want to just publish to the web I use Drop.io.
Why I use these services is partly out of habit. However I like the pricing schema of Amazon s3 and the ease of making the files stored there made public.
Your thoughts are always appreciated.



