<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Resultant Set of Policy/gpresult: access denied error message</title>
	<atom:link href="http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492/feed" rel="self" type="application/rss+xml" />
	<link>http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492</link>
	<description>Virtualisation blog and Knowledge Base</description>
	<lastBuildDate>Tue, 31 Aug 2010 20:30:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: IMA crash &#38; CriticalSectionTimeout value &#124; Richard Parmiter</title>
		<link>http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492/comment-page-1#comment-59</link>
		<dc:creator>IMA crash &#38; CriticalSectionTimeout value &#124; Richard Parmiter</dc:creator>
		<pubDate>Wed, 08 Jul 2009 13:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.parmiter.com/?p=492#comment-59</guid>
		<description>[...] Associated problems appeared to be that WMI was breaking regularly. The MOF databases could be rebuilt to resolve this (as per this article RP492) [...]</description>
		<content:encoded><![CDATA[<p>[...] Associated problems appeared to be that WMI was breaking regularly. The MOF databases could be rebuilt to resolve this (as per this article RP492) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RP</title>
		<link>http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492/comment-page-1#comment-49</link>
		<dc:creator>RP</dc:creator>
		<pubDate>Mon, 11 May 2009 12:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.parmiter.com/?p=492#comment-49</guid>
		<description>This script can be used to re-register all the MOF&#039;s on a 64 bit Citrix Server:


pushd c:\windows\system32\wbem
	sc pause winmgmt
	for /f %%1 in (&#039;dir /b *reposit*.&#039;) do rd /s /q %%1
	sc continue winmgmt

pushd &quot;c:\program files (x86)\citrix\system32\citrix\wmi&quot;
	for /f %%1 in (&#039;dir /b *.mof&#039;) do mofcomp %%1

pushd c:\windows\system32
	regsvr32 /s scecli.dll
	regsvr32 /s userenv.dll

pushd c:\windows\system32\wbem
	for /f %%1 in (&#039;dir /b *.dll&#039;) do regsvr32 /s %%1
	for /f %%1 in (&#039;dir /b *.mof&#039;) do mofcomp %%1
	for /f %%1 in (&#039;dir /b *.mfl&#039;) do mofcomp %%1

popd
popd
popd
popd</description>
		<content:encoded><![CDATA[<p>This script can be used to re-register all the MOF&#8217;s on a 64 bit Citrix Server:</p>
<p>pushd c:\windows\system32\wbem<br />
	sc pause winmgmt<br />
	for /f %%1 in (&#8216;dir /b *reposit*.&#8217;) do rd /s /q %%1<br />
	sc continue winmgmt</p>
<p>pushd &#8220;c:\program files (x86)\citrix\system32\citrix\wmi&#8221;<br />
	for /f %%1 in (&#8216;dir /b *.mof&#8217;) do mofcomp %%1</p>
<p>pushd c:\windows\system32<br />
	regsvr32 /s scecli.dll<br />
	regsvr32 /s userenv.dll</p>
<p>pushd c:\windows\system32\wbem<br />
	for /f %%1 in (&#8216;dir /b *.dll&#8217;) do regsvr32 /s %%1<br />
	for /f %%1 in (&#8216;dir /b *.mof&#8217;) do mofcomp %%1<br />
	for /f %%1 in (&#8216;dir /b *.mfl&#8217;) do mofcomp %%1</p>
<p>popd<br />
popd<br />
popd<br />
popd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RP</title>
		<link>http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492/comment-page-1#comment-48</link>
		<dc:creator>RP</dc:creator>
		<pubDate>Mon, 11 May 2009 12:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.parmiter.com/?p=492#comment-48</guid>
		<description>Another issue, but the following message in event viewer:

Source: WSH
Event Type: Error; 
Event ID: 1; 
Event Text: Citrix Monitoring Script Event 2 Citrix MetaFrame Compute Event Rate: Can&#039;t read farm or zone name from registry: Received error: 0x80070002: Invalid root in registry key &quot;HKLM\SOFTWARE\Citrix\IMA\RUNTIME\Neighborhood&quot;. 

means that the Citrix WMI provider (MOF) needs to be re-registered. 

From a dos prompt, change to the following directory: Program Files\Citrix\System32\Citrix\WMI

and run:
for /f %1 in (&#039;dir /b *.mof&#039;) do mofcomp %1  (note %%1 if scripting)

This will re-register all the Citrix MOF&#039;s.</description>
		<content:encoded><![CDATA[<p>Another issue, but the following message in event viewer:</p>
<p>Source: WSH<br />
Event Type: Error;<br />
Event ID: 1;<br />
Event Text: Citrix Monitoring Script Event 2 Citrix MetaFrame Compute Event Rate: Can&#8217;t read farm or zone name from registry: Received error: 0&#215;80070002: Invalid root in registry key &#8220;HKLM\SOFTWARE\Citrix\IMA\RUNTIME\Neighborhood&#8221;. </p>
<p>means that the Citrix WMI provider (MOF) needs to be re-registered. </p>
<p>From a dos prompt, change to the following directory: Program Files\Citrix\System32\Citrix\WMI</p>
<p>and run:<br />
for /f %1 in (&#8216;dir /b *.mof&#8217;) do mofcomp %1  (note %%1 if scripting)</p>
<p>This will re-register all the Citrix MOF&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ecticon</title>
		<link>http://www.parmiter.com/microsoft/windows-2003/2008/10/RP492/comment-page-1#comment-39</link>
		<dc:creator>ecticon</dc:creator>
		<pubDate>Thu, 19 Mar 2009 17:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.parmiter.com/?p=492#comment-39</guid>
		<description>This worked for my problem.  Thanks.  Microsoft KB was suggesting a hotfix.  You show&#039;d them.</description>
		<content:encoded><![CDATA[<p>This worked for my problem.  Thanks.  Microsoft KB was suggesting a hotfix.  You show&#8217;d them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
