Your best source of information and news about BIOS, drivers and hardware on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Virtual PC

You are currently browsing the articles from MS Windows Vista Compatible Software matching the category Virtual PC.

Virtualization at TechEd09

Hyper-V, Virtual Machine Manager, Virtual PC (including Windows 7 XP Mode), VDI and more. If you enjoyed this post consider subscribing...

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]


Written by magakos on June 12th, 2009 with no comments.
Read more articles on Windows 7 XP Mode and vdi and Virtual Machine Manager and Hyper-V and otherSoftware and Virtual PC.

VirtualBox 2.2.2

Sun released VirtualBox 2.2.2, a maintenance release. See the Change Log at... http://www.virtualbox.org/wiki/Changelog For a list of changes...

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]


Written by magakos on April 28th, 2009 with no comments.
Read more articles on virtualbox and vmware workstation and otherSoftware and vmware and Virtual PC and Virtualization.

Clipboard Chaos!

Note: this content originally from http://mygreenpaste.blogspot.com. If you are reading it from some other site, please take the time to visit My Green Paste, Inc. Thank you.

OK, so perhaps chaos is a bit of a harsh word here. But the clipboard was recently driving me nuts! All I was trying to do was copy some text to it, and the operation was failing. Of course, as it was an ad hoc app, I didn't have any kind of error handling. The app worked just fine on one system, but running the app on another system (a virtual machine) consistently resulted in failure to copy the text to the clipboard.

Ultimately, I was able to determine what process was preventing my app from putting data in the clipboard, but I haven't yet found a decent workaround for when the problem happens. It's not critical for me, as the act of copying the text to the clipboard is more of a nicety than a requirement.

Anyway, using P/Invoke and System.Diagnostics, I found that vmusrvc.exe - the Virtual PC "Virtual Machine User Services" - had the clipboard open. Using the timestamps from Process Monitor's Profiling Events (generated at 100 ms intervals), and the timestamp of the failed operation from my app, I was able to determine the stack of vmusrvc.exe:

ntdll.dllKiFastSystemCallRet
vmusrvc.exevmusrvc.exe + 0x9a17
vmusrvc.exevmusrvc.exe + 0x9c24
vmusrvc.exevmusrvc.exe + 0x91f8
vmusrvc.exevmusrvc.exe + 0x907f
USER32.dllInternalCallWinProc + 0x28
USER32.dllUserCallWinProcCheckWow + 0x150
USER32.dllDispatchClientMessage + 0xa3
USER32.dll__fnDWORD + 0x24
ntdll.dllKiUserCallbackDispatcher + 0x13
vmusrvc.exevmusrvc.exe + 0x2d29
vmusrvc.exevmusrvc.exe + 0xdba6
kernel32.dllBaseProcessStart + 0x23

No parameters, of course, and symbol information for vmusrvc.exe does not appear to be available, but obviously user32.dll is processing some message. I may look into this more at a later point.

To find the process that was interfering with my clipboard work, I used P/Invoke to call GetOpenClipboardWindow() and then GetWindowThreadProcessId(), passing in the handle returned by GetOpenClipboardWindow(). Then, finding the process' executable name was just a matter of using the Modules collection of the Process instance returned by passing in the process id retrieved by GetWindowThreadProcessId() to System.Diagnostics.Process.GetProcessById().

The following code:

using System.Runtime.InteropServices;
using System.Diagnostics;
...
string data = "aasdlkjasdlk alkjsdl kajsdlkj al";
try
{
Clipboard.SetData( System.Windows.Forms.DataFormats.Text, data );
}
catch( ExternalException ee )
{
LogIt( ee.ToString() );
IntPtr hWnd = GetOpenClipboardWindow();
if( IntPtr.Zero != hWnd )
{
uint pid = 0;
uint tid = GetWindowThreadProcessId( hWnd, out pid );
LogIt( "Process with hWnd {0}, PID {1} ({1:x}), TID {2} ({2:x}), " +
"name {3} has the clipboard", hWnd, pid, tid,
Process.GetProcessById( (int)pid ).Modules[0].FileName );
}
}

Resulted in the following output:


2008-03-25 00:54:45.4938864--> System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at System.Windows.Forms.Clipboard.SetData(String format, Object data)
at Clippy.Form1.button1_Click(Object sender, EventArgs e)
2008-03-25 00:54:45.5339440--> Process with hWnd 65716 (65716), PID 1492 (5d4), TID 1496 (5d8), name C:\Program Files\Virtual Machine Additions\vmusrvc.exe has the clipboard

Interestingly, trying an alternative method of the Clipboard to set the content also failed. The Clipboard.SetDataObject() overload that takes a retryTimes and retryDelay parameter failed in the same fashion after roughly ten seconds when invoked as follows:


Clipboard.SetDataObject( data, false, 100, 100 );

I tried variations on retryTimes and retryDelay, to no avail.

Not sure what vmusrvc.exe is doing with the clipboard (probably has to do with monitoring it for host / guest VM interaction), but the act of setting the contents of the clipboard didn't fail 100% of the time in the VM. Often enough to make it extremely unreliable, though. During "normal" system usage, I was not able to cause a failure when running the app on a non-virtual (actual?) system.

Written by «/\/\Ø|ö±ò\/»®© on March 25th, 2008 with no comments.
Read more articles on P/Invoke and GetOpenClipboardWindow and System.Diagnostics and Clipboard and GetWindowThreadProcessId and Process Monitor and c# and processes and Virtual Machine and otherSoftware and Virtual PC.

Giving Windows Server 2008 RC0 a try in Virtual PC 2007

On top of releasing Windows Vista SP1 to a broad set of beta testers last week, the Windows Server Division also released Release Candidate 0 of Windows Server 2008. I used to work for a local ISP a few years ago and managed their Windows Server boxes running Windows Server 2003. I acquired skills in Active Directory management and IIS management - although very basic. I really wanted to try out the changes in IIS7 as well as changes coming to Active Directory in Windows Server 2008. I decided to fire up Windows Server 2008 RC0 in Virtual PC 2007.  

Windows Server 2008 in Virtual PC shows up on my home network as if it were an actual PC - with a real IP address and all.

I haven’t gotten around to testing Windows Server 2008 RC0 as a domain controller just yet. It currently sits on my home network serving as a web server (when fired up in Virtual PC). I used IIS7 to configure the server for “standard web hosting” - testing out using Microsoft Expression Web to create web pages and automatically publish to the Windows Server 2008 web server. I also tested out FTP using the SmartFTP client (which looks like its Certified for Windows Vista too). Eventually I want to try setting up SharePoint and trying it out on IIS7.

While I don’t manage any servers any longer - I do want to try and keep up with changes in Windows Server and of course do geeky “experiments” with new stuff. Virtual PC helps me do that - especially running on Windows Vista. I do a lot of testing this way. I have several Windows Vista Virtual Machines set up for testing so I don’t have to mess up my main PC with all the betas I’m running. If you want to do a lot of testing but don’t want to mess up your PC’s - this is the way to go.

If you’re interested in giving Windows Server 2008 RC0 a try, sign up for the Community Technology Preview.

Written by Brandon LeBlanc on October 4th, 2007 with no comments.
Read more articles on Windows Server 2008 and Microsoft Expression Web and Virtual PC and Certified for Windows Vista and Featured News and Virtualization and Windows Vista.

Giving Windows Server 2008 RC0 a try in Virtual PC 2007

On top of releasing Windows Vista SP1 to a broad set of beta testers last week, the Windows Server Division also released Release Candidate 0 of Windows Server 2008. I used to work for a local ISP a few years ago and managed their Windows Server boxes Read More……(read more)

Written by Windows Vista Team Blog on October 4th, 2007 with no comments.
Read more articles on Windows Server 2008 and Microsoft Expression Web and Virtual PC and Certified for Windows Vista and Featured News and Virtualization and Windows Vista.

Virtual PC 2007

Home

Written by Corrine on February 23rd, 2007 with no comments.
Read more articles on Virtual PC and Windows Vista.

« Older articles

No newer articles