<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Windows Guest Tools] Cleaner Tool]]></title><description><![CDATA[<p dir="auto">Hello all together!</p>
<p dir="auto">I started to build a little tool, that should help to find the problems before installing/updating the Guest Tools in a Windows VM. For now its only a first start, but it can grow to a very usefull tool.</p>
<p dir="auto">Any constructive help or hint is very welcome!</p>
<p dir="auto">Later (so my plans) it should be a part of a new Guest Tools Installer.</p>
<p dir="auto">Issue: <a href="https://github.com/xcp-ng/xcp/issues/152" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xcp-ng/xcp/issues/152</a><br />
GIT repository: <a href="https://github.com/xcp-ng/win-installer-ng" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xcp-ng/win-installer-ng</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">

<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/5782951?v=4" title="schulz-alexander" />
<a href="https://github.com/schulz-alexander"><span class="username">schulz-alexander</span></a> created this issue <span class="timeago" title="2019-03-03T19:05:25Z"></span> in <a href="//github.com/xcp-ng/xcp">xcp-ng/xcp</a>
</div>
<h3>
<span class="badge open float-end">open</span>
<a href="https://github.com/xcp-ng/xcp/issues/152">Windows guest tools pre-install checker</a>
<span class="number">#152</span>
</h3>



</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/topic/1049/windows-guest-tools-cleaner-tool</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 18:43:05 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/1049.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Mar 2019 20:42:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Fri, 17 Mar 2023 01:13:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/borzel" aria-label="Profile: borzel">@<bdi>borzel</bdi></a> Does this still work with current versions of the guest tools?</p>
]]></description><link>https://xcp-ng.org/forum/post/60058</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60058</guid><dc:creator><![CDATA[Station-Already]]></dc:creator><pubDate>Fri, 17 Mar 2023 01:13:11 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Sat, 27 Apr 2019 19:06:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jonathanpitre" aria-label="Profile: JonathanPitre">@<bdi>JonathanPitre</bdi></a> cool <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">I edited your post, please wrap code sections always with ```` before and after the textblock</p>
]]></description><link>https://xcp-ng.org/forum/post/11084</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/11084</guid><dc:creator><![CDATA[borzel]]></dc:creator><pubDate>Sat, 27 Apr 2019 19:06:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Sat, 27 Apr 2019 19:04:50 GMT]]></title><description><![CDATA[<p dir="auto">Here's a copy of a script I was using to clean XenTools from XenServer 6.0 I believe. Please include all the reg keys and files mentioned. Thanks!</p>
<pre><code>$appName = 'Citrix Tools for Virtual Machines'
$appFileName = 'uninstaller.exe'
$appParameters = '/S /NORESTART'
$appSourcePath = "${env:ProgramFiles(x86)}\Citrix\XenTools"
If (($ComputerManufacturer -ne "Xen") -and (Get-InstalledApplication -Name $appName))
{
    Write-Log -Message "Uninstalling $appName ..." -WriteHost $True -LogType 'CMTrace'
    # http://discussions.citrix.com/topic/347782-unable-to-installuninstall-xen-tools
    Execute-Process -Path "$appSourcePath\$appFileName" -Parameters $appParameters -CreateNoWindow -PassThru
    Remove-Folder -Path "$appSourcePath"
    Remove-File -Path "$env:windir\System32\xennetco.dll"
    Remove-File -Path "$env:windir\System32\drivers\xen*.sys"
    Remove-File -Path "$env:windir\System32\drivers\scsifilt.sys"
    Remove-File -Path "$env:windir\System32\drivers\xevtchn.sys"
    Remove-RegistryKey -Key 'HKLM:\SOFTWARE\Citrix\XenTools' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\xenvbd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\xenvif' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\xenvbd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\xenvif' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\xenvbd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\xenvif' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\Citrix Xen Guest Agent' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xenbvd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xeniface' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xennet6' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application\xensvc' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xenvif' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\System\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\System\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\System\xenvbd' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\Citrix Xen Guest Agent' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xenbvd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xeniface' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xennet6' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\Application\xensvc' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xenvif' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\System\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\System\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\services\eventlog\System\xenvbd' -Recurse

    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\Citrix Xen Guest Agent' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xenbvd' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xeniface' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xennet' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xennet6' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xensvc' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\Application\xenvif' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\System\scsifilt' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\System\xenevtchn' -Recurse
    Remove-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet002\services\eventlog\System\xenvbd' -Recurse

    Set-RegistryKey -Key 'HKLM:\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}' -Name 'LowerFilters' -Value '' -Type MultiString

    If (Get-Service "XenSvc" -ErrorAction 'SilentlyContinue'){(Get-WmiObject -Class Win32_Service -Filter "Name='XenSvc'").Delete()}
    If (Get-Service "XenPVInstall" -ErrorAction 'SilentlyContinue'){(Get-WmiObject -Class Win32_Service -Filter "Name='XenPVInstall'").Delete()}
    Get-WmiObject -Query "SELECT * FROM __Namespace WHERE Name='xenserver'" -Namespace "root\cirix" -ErrorAction SilentlyContinue | Remove-WmiObject
} 
ElseIf (($ComputerManufacturer -eq "Xen") -and (Get-InstalledApplication -Name $appName)) 
{
    Write-Log -Message "$appName is already installed." -WriteHost $True -LogType 'CMTrace'
}
Else
{
    Write-Log -Message "Not a Citrix XenServer virtual machine." -WriteHost $True -LogType 'CMTrace'
}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/11082</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/11082</guid><dc:creator><![CDATA[JonathanPitre]]></dc:creator><pubDate>Sat, 27 Apr 2019 19:04:50 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Mon, 18 Mar 2019 09:13:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/siodor" aria-label="Profile: siodor">@<bdi>siodor</bdi></a> thanks for the  hint, I added it to <a href="https://github.com/xcp-ng/xcp/issues/152" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xcp-ng/xcp/issues/152</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">

<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/5782951?v=4" title="schulz-alexander" />
<a href="https://github.com/schulz-alexander"><span class="username">schulz-alexander</span></a> created this issue <span class="timeago" title="2019-03-03T19:05:25Z"></span> in <a href="//github.com/xcp-ng/xcp">xcp-ng/xcp</a>
</div>
<h3>
<span class="badge open float-end">open</span>
<a href="https://github.com/xcp-ng/xcp/issues/152">Windows guest tools pre-install checker</a>
<span class="number">#152</span>
</h3>



</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/9924</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9924</guid><dc:creator><![CDATA[borzel]]></dc:creator><pubDate>Mon, 18 Mar 2019 09:13:44 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Mon, 18 Mar 2019 09:02:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/borzel" aria-label="Profile: borzel">@<bdi>borzel</bdi></a><br />
I just noticed that your cleaner tool doesn't detect the "liteagent.exe" file which is the "XenServer Interface Service".</p>
]]></description><link>https://xcp-ng.org/forum/post/9923</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9923</guid><dc:creator><![CDATA[siodor]]></dc:creator><pubDate>Mon, 18 Mar 2019 09:02:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Tue, 05 Mar 2019 15:31:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/borzel" aria-label="Profile: borzel">@<bdi>borzel</bdi></a> This looks like a great tool so when complete my studies and ever need to run or update a Windows VM for a client's web application. It will aid in doing so (especially if migrating from Xen Server).</p>
]]></description><link>https://xcp-ng.org/forum/post/9528</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9528</guid><dc:creator><![CDATA[JohnPCooper]]></dc:creator><pubDate>Tue, 05 Mar 2019 15:31:56 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Tue, 05 Mar 2019 15:27:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/borzel" aria-label="Profile: borzel">@<bdi>borzel</bdi></a>  Alex.. thanks for putting this wee tool together.</p>
]]></description><link>https://xcp-ng.org/forum/post/9527</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9527</guid><dc:creator><![CDATA[AllooTikeeChaat]]></dc:creator><pubDate>Tue, 05 Mar 2019 15:27:16 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Tue, 05 Mar 2019 08:57:01 GMT]]></title><description><![CDATA[<p dir="auto">Good work ! This tool will help us.</p>
]]></description><link>https://xcp-ng.org/forum/post/9517</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9517</guid><dc:creator><![CDATA[Ced76]]></dc:creator><pubDate>Tue, 05 Mar 2019 08:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to [Windows Guest Tools] Cleaner Tool on Mon, 04 Mar 2019 23:28:23 GMT]]></title><description><![CDATA[<p dir="auto">If you have problems to install Citrix(TM) or XCP-ng Windows Guest Tools, please try the first working version of this tool:</p>
<p dir="auto"><img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f386.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--fireworks" style="height:23px;width:auto;vertical-align:middle" title=":fireworks:" alt="🎆" />  <a href="https://schulzalex.de/builds/xcp-ng/XCP-ng-Windows-Guest-Tools-Cleaner_alpha_1.0.0.0.zip" target="_blank" rel="noopener noreferrer nofollow ugc">https://schulzalex.de/builds/xcp-ng/XCP-ng-Windows-Guest-Tools-Cleaner_alpha_1.0.0.0.zip</a> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f386.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--fireworks" style="height:23px;width:auto;vertical-align:middle" title=":fireworks:" alt="🎆" /></p>
<h2>Good</h2>
<p dir="auto"><img src="/forum/assets/uploads/files/1551742049230-2e40afde-6030-47dc-afbe-f6f17153c23b-grafik.png" alt="2e40afde-6030-47dc-afbe-f6f17153c23b-grafik.png" class=" img-fluid img-markdown" /></p>
<h2>Bad</h2>
<p dir="auto"><img src="/forum/assets/uploads/files/1551742064097-c89d5bf1-7166-4291-8a0e-f9c86439f245-grafik.png" alt="c89d5bf1-7166-4291-8a0e-f9c86439f245-grafik.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/9510</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/9510</guid><dc:creator><![CDATA[borzel]]></dc:creator><pubDate>Mon, 04 Mar 2019 23:28:23 GMT</pubDate></item></channel></rss>