<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx</link><description>Over the break I’ve been taking over Christmas, one of my goals was to move the remainder of my Virtual Server “production” VMs across to Hyper-V. But when nearing completion, I noticed that Server Manager was reporting a role error: Looking at the detail</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3176641</link><pubDate>Mon, 05 Jan 2009 20:47:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3176641</guid><dc:creator>Andy Stumph</dc:creator><description>&lt;p&gt;Hey John,&lt;/p&gt;
&lt;p&gt;I ran into this a while back and I wrote a little powershell script to delete the broken links.&lt;/p&gt;
&lt;p&gt;It uses James O'Neill's Hyper-V library on codeplex &lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/PSHyperv"&gt;http://www.codeplex.com/PSHyperv&lt;/a&gt;, so you will need that loaded into your shell.&lt;/p&gt;
&lt;p&gt;-Andy&lt;/p&gt;
&lt;p&gt;-------&lt;/p&gt;
&lt;p&gt;. .\Hyperv.ps1&lt;/p&gt;
&lt;p&gt;$VMPath = &amp;quot;C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines&amp;quot;&lt;/p&gt;
&lt;p&gt;$FileNames = Get-ChildItem $VMPath | select Name&lt;/p&gt;
&lt;p&gt;$VMs = Get-VM | Select Name&lt;/p&gt;
&lt;p&gt;foreach ($FileName in $Filenames)&lt;/p&gt;
&lt;p&gt;	{&lt;/p&gt;
&lt;p&gt;		foreach ($VM in $VMs)&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;				#$VM.Name&lt;/p&gt;
&lt;p&gt;				if ($FileName.Name.split(&amp;quot;.&amp;quot;)[0] -match $VM.Name)&lt;/p&gt;
&lt;p&gt;					{&lt;/p&gt;
&lt;p&gt;						$Match = &amp;quot;True&amp;quot;&lt;/p&gt;
&lt;p&gt;					}&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		if (-not $Match)&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;				Write-Host &amp;quot;Deleting $($FileName.Name)&amp;quot; -foregroundcolor Red&lt;/p&gt;
&lt;p&gt;				Remove-Item &amp;quot;$($VMPath)\$($FileName.Name)&amp;quot;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		else&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;				Write-Host &amp;quot;$($FileName.Name) is Good!&amp;quot; -foregroundcolor Green&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		$Match = $Null&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3181492</link><pubDate>Tue, 13 Jan 2009 06:34:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3181492</guid><dc:creator>rajeev</dc:creator><description>&lt;p&gt;This is a great post and was really helpful! If only the Hyper-V team decided to add this event ID to their online help documentation. &lt;/p&gt;
&lt;p&gt;And I would assume that the UI would expose these stray hyper v configs and let the user delete them without messing with the config files. Alas, Wishful thinking???&lt;/p&gt;</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211056</link><pubDate>Tue, 10 Mar 2009 03:56:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211056</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Argh. &amp;nbsp;I admit, I am completely stuck. &amp;nbsp;I've managed to make the Hyper-V MMC Manager work in Windows7 32bit; but in 64 bit, I'm now getting a goofball issue.. I can connect and see the VMs, but when I try to start any of them, I get an error.. &lt;/p&gt;
&lt;p&gt;&amp;quot;Your system adminstrator does not allow the use of default credentionals to log on to the remote computer HYPERV because it's identity is not fully verified.&amp;quot;&lt;/p&gt;
&lt;p&gt;So, hell, I go ahead and add the certificate as a trusted publisher.. it makes absolutely NO difference, &lt;/p&gt;
&lt;p&gt;&amp;quot;The certificate is not from a trusted certifying entity&amp;quot; &lt;/p&gt;
&lt;p&gt;(I think).&lt;/p&gt;
&lt;p&gt;Works beautiful in Win7 32bit.. but damn, I'm stuck.. anyone seen this ???&lt;/p&gt;</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211080</link><pubDate>Tue, 10 Mar 2009 05:12:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211080</guid><dc:creator>jhoward</dc:creator><description>&lt;p&gt;Chris - what build number of Windows 7, and are you logging on with a smartcard? (I assume you are also remotely managing a server.....? If so, what is the server build - 2008, or R2, and if R2, which build number?)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;John.&lt;/p&gt;
</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211215</link><pubDate>Tue, 10 Mar 2009 16:24:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211215</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;John-&lt;/p&gt;
&lt;p&gt;I'm using 7000 X64 build; I probably should log into my MSDN account and see if there is a new one out there for me to grab, but haven't had a chance, I will try to do that today. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;On our HyperV, I have these servers:&lt;/p&gt;
&lt;p&gt;Windows 2008 (stand alone)&lt;/p&gt;
&lt;p&gt;Windows 2003 SBS (setup, virtualized from dead hardware)&lt;/p&gt;
&lt;p&gt;And here's a bit of a gasp, but wanted to try it, a Windows NT 3.1 Server.. just wanted to try this, still had the floppy discs, so what the hell :) :)&lt;/p&gt;
&lt;p&gt;The thing is, it doesn't matter which VM I try to connect to, the Windows7 box won't let me get remotely that far, saying the certificate for the box I'm connecting to (HYPERV, a box running Hyper-V 2008 Server, ie core) has a certificate published by a non-authenticated server. &amp;nbsp;I've added the certificate to the trusted publishers, etc. still no-go. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Blah!&lt;/p&gt;
&lt;p&gt;I'm wondering whether or not turning on the Win2k3 SBS, which is setup as an AD, &amp;nbsp;whereas everything else in this test environment is stand-alone is part of the issue. &amp;nbsp;I've debated giving the SBS an IP outside of the local range and creating a virtual IP-network to keep it off the same subnet as the HyperV server, just in case I&amp;quot;m running into something that way. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;But the Win7 x32 build can open up a window on all of these.&lt;/p&gt;
&lt;p&gt;That's the weird part. &amp;nbsp;On the x64 build, the manager opens, it sees the server, I can even create new VMs.. at least build the HDD, change settings, etc. all of that works. &amp;nbsp;I can even get the thumbnail view of what's going on.. but when I try to connect to them, bammo.. the certificate/publisher stuff shows up :(&lt;/p&gt;</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211267</link><pubDate>Tue, 10 Mar 2009 18:50:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211267</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Never mind. &amp;nbsp;In WIndows 7 X32, &amp;quot;Install Certificate&amp;quot; works fine.. but it doesn't in x64. &amp;nbsp;Using the certificates MMC plugin, I was able to add the certificate to the local computer and that fixed it.&lt;/p&gt;</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211275</link><pubDate>Tue, 10 Mar 2009 18:56:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211275</guid><dc:creator>jhoward</dc:creator><description>&lt;p&gt;Chris - is it possible you are hitting &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;967902?"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;967902?&lt;/a&gt; Alternately, under Hyper-V Settings in Hyper-V Manager, have you flipped the &amp;quot;Use default credentials...&amp;quot; checkbox? &amp;nbsp;It shouldn't be necessary to import a certificate from the server into the Win7 client....&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;John.&lt;/p&gt;
</description></item><item><title>re: Hyper-V Resolving Event ID 4096</title><link>http://blogs.technet.com/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx#3211305</link><pubDate>Tue, 10 Mar 2009 20:33:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211305</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Nope, not running into expired certificate; using a Hyper-V Server R2 (Beta) candidate for testing purposes only; certificate is valid through 3/10 or something. &amp;nbsp; It just doesn't like publisher. &amp;nbsp;I ran the HVRemote script to reset; I've replicated this, it only seems to occur within the x64 version, this never happens in x32.. so, I'll submit it in as a bug for now.. :) &amp;nbsp;But it's fixed after an import.&lt;/p&gt;</description></item></channel></rss>