Testing Script.
If you test it without an attached Windows Installed Drive for example in Vmware right after you build youre project you will not have anything for WindowsGate to see.
But when I reran it with an attached Windows XP Installed. WindowsGate saw it and gave me the option to Select it and also then gave the option to Unlock it once I selected the Windows XP Drive.
Sees the Windows XP install
Select the drive and then Choose the "Unlock" Button. After a few seconds it pops a window saying "OS unlocked".
Once you click the "ok" button that pops up saying "OS unlocked". You will get the option to "Lock" it again.
Im guessing at this point you just restart youre computer and boot into youre real Windows XP install or any of the other OS you unlocked. So I will close WindowsGate and restart the computer.
Still testing...
LOL. I didnt have more then one account in my Windows XP install. Haha!
I need to create some accounts and retest up to this point. So i will go back to the PE and choose "Lock".
Then go back to real OS and recreate some Password protected accounts. And try the Unlock again.
Back in the PE, I selected the Unlocked Windows XP and I was given the only choice I was expecting wich was to "Lock" it back up. Working as expected.
Locked again. Once Locked again you get the option Unlock it.