Press ESC as soon as VM begins to start to display the boot menu
Boot from the CD-ROM drive
Press a key to boot from the CD (if displayed at bottom of screen as soon as VM begins to boot)
Proceed through Windows XP installation
Press Enter to setup up Windows XP now
Press F8 to agree to the license agreement
Configure the Windows partition
Press Enter to set up Windows XP on the selected item (should be called "Unpartitioned space")
Format the partition using the NTFS file system (Quick)
Enter a name and organization
Enter the Windows XP product key
Enter a computer name and password
Select a timezone
Networking settings: Typical
Member of a domain: No, leave default workgroup settings
Do not turn on automatic updates
Enter "root" as the user name
...
Copy the cygwin-sshd-config.sh script (contents below) to the C:\Cygwin\home\root directory on the Windows VM
Set the script to be executable:
No Format
chmod +x /home/root/cygwin-sshd-config.sh
Launch C:\Cygwin\Cygwin.bat
Run the script and specify the root account password as an argument, enclose the password in ticks in case special characters are used in the password:
No Format
/home/root/cygwin-sshd-config.sh '<PASSWORD>'
Note: the sshd service probably will not start until the next step is completed
Open Start --> Run --> services.msc
Double-click the Cygwin sshd service
Open the Log On tab
Enter the root account password twice and click OK, you should see a message stating root has been granted the Log On As A Service Right