Archive for category Windows Infrastructure

Vista Diskpart: Extend Volume

I have a W2K3 VM that has a 16GB virtual disk. And I just assign 8GB for the volume. Recently, I found 8GB volume is not enough. I am going to extend this 8GB volume to 16GB volume.

This post is talking about how to use diskpart in Vista Repair mode to extend volume.


1. Boot Vista DVD in repair mode



2. Launch command prompt
run diskpart
list volume


3. select the volume that you want to extend


4. Run “extend” syntax


5. Volume extended.



VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.18_1163]
Rating: 0 (from 0 votes)
Total views: 2,787 views


No Comments

W2K3 Enterprise CA Step by step installation (Working copy)

Recently, I am planning to draft some Enterprise Level documents for Community use.

Following is the working copy document  screen dump.

W2K3 Enterprise Subordinate CA Installation Guide (Working Copy Screens)
W2K3 Enterprise CA Screens (PDF)

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.18_1163]
Rating: 0 (from 0 votes)
Total views: 4,415 views

, , ,

1 Comment

SAPI vbscript example

This VBScript example provides a simple text-to-speech demonstration by using SAPI and VBScript.

Very interesting :)

Download this text file and rename it to SAPI_Speak.vbs.

Double click and run it. Your computer will speak out what you have entered.
* Remember to turn on your speaker.

File: SAPI_Speak.txt

'* Windows SAPI VBScript Example
'* Author: Victor Tong
'* Website:
'* Last Update: 22 June, 2009

Dim message, sapi
message=InputBox("Enter a string that you want SAPI to speak")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message
VN:F [1.9.18_1163]
Rating: 5.0/5 (2 votes cast)
VN:F [1.9.18_1163]
Rating: +1 (from 1 vote)
Total views: 24,150 views

, ,


Install Virtual Server 2005 SP1 on Vista

If you are going to install Virtual Server 2005 SP1 into Windows Vista, you will find that it is not easy to install pre-requisite one by one.

Following is a batch file which can help you to install all required components for Virtual Server 2005 SP1 installation.

  1. Download the following file and rename it from virtualserver_vista.txt to virutalserver_vista.bat.
  2. Run virutalserver_vista.bat
  3. This bat file will help you to install required components

File: virtualserver_vista.txt

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.18_1163]
Rating: 0 (from 0 votes)
Total views: 3,837 views


No Comments

Windows XP Retail CD to OEM CD

Previously, I cannot find my notebook recovery CD.

I tried to use a Windows XP Retail CD to reinstall my notebook with OEM CD-Key.

When I entered OEM CD Key, it prompted that “CD Key is invalid”.

O… What can I do?? How can I find a Windows XP CD which accept OEM CD Key.

After doing research, I found a method to make a Windows XP installation CD to accept OEM CD Key.

Please locate a file setupp.ini in \i386 folder.

Example file content


The key element for updating is the line containing “PID” information.

Last 3 characters indicate the CD license type.

Retail = 51882 335
Volume License = 51883 270
OEM = 82503 OEM

If you find the PID string is 5182335, let change it to 51882OEM.

Update it and burn the CD. Finish!

You can use this CD for installation with OEM key.

Windows XP Retail Key
(Windows XP Retail CD Key)

Windows XP OEM Key
(Windows XP OEM CD Key)

VN:F [1.9.18_1163]
Rating: 3.0/5 (2 votes cast)
VN:F [1.9.18_1163]
Rating: 0 (from 0 votes)
Total views: 14,133 views

, ,

1 Comment