Subscribe: Comments on: Tip for virtualizing Citrix servers involving user profiles
http://www.boche.net/blog/index.php/2008/10/25/tip-for-virtualizing-citrix-servers-involving-user-profiles/feed/
Preview: Comments on: Tip for virtualizing Citrix servers involving user profiles

Comments on: Tip for virtualizing Citrix servers involving user profiles





Last Build Date: Thu, 16 Jun 2016 13:35:39 +0000

 



By: CDave

Tue, 18 Feb 2014 05:29:21 +0000

Oops, don't know how I missed that someone else has provided a script also. Oh well, now you have choices :-)



By: CDave

Tue, 18 Feb 2014 05:27:14 +0000

I know this is a very old posting, but VMHGFS continues to be a problem when using the Automated installation or upgrade of VMware Tools. I wrote a simple script that you can run from whatever your favorite tool to run apps/scripts/whatever. '------------------------------------------------------------------------------------ ' Purpose: Check for and remove VMWare Tools Shared Folders Provider ' 02/09/2014 - dclark ' Usage: cscript DEL-vmhgfs.vbs '------------------------------------------------------------------------------------ Dim strRegValue, strRegArray, strNewArray, strNewRegValue Set WshShell = CreateObject( "WScript.Shell" ) 'Bind to the Registry provider strRegValue = WshShell.RegRead( "HKLM\System\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder" ) strRegArray = Split(strRegValue,",") 'Copy Registry values into an Array strNewArray = RemoveArrayElement(strRegArray, "vmhgfs") strNewRegValue = Join(strNewArray, ",") WshShell.RegWrite "HKLM\System\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder", strNewRegValue, "REG_SZ" '--------------------- ' Strip unwanted array element '--------------------- Function RemoveArrayElement(ByVal MyArray, ByVal Item) Dim S, N S = "" For N = 0 To UBound(MyArray) If StrComp(MyArray(N), Item, vbTextCompare) 0 Then If S "" Then S = S & vbTab & MyArray(N) Else S = MyArray(N) End If End If Next RemoveArrayElement = Split(S, vbTab) End Function



By: Josh Dunigan

Tue, 24 Jan 2012 19:15:26 +0000

Here's a script that can be added through policy that should resolve most of these issues. Name it something.vbs and voila. ON ERROR RESUME Next Const HKEY_LOCAL_MACHINE = &H80000002 Set WSHShell = CreateObject("WScript.Shell") strKeyPath = "SYSTEM\CurrentControlSet\Control\NetworkProvider\Order" strValueName = "ProviderOrder" strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv") oReg.GetStringValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, strValue strNewValue = Replace(strValue, ",vmhgfs", "") strNewValue = Replace(strNewValue, ",vmhgs", "") strNewValue = Replace(strNewValue, ",hgfs", "") strNewValue = Replace(strNewValue, "vmhgfs,", "") strNewValue = Replace(strNewValue, "vmhgs,", "") strNewValue = Replace(strNewValue, "hgfs,", "") strNewValue = Replace(strNewValue, ",,", ",") oReg.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, strNewValue Wscript.quit



By: Matt Taylor

Fri, 08 Oct 2010 12:42:57 +0000

Modifying the VMware tools install and unchecking shared folders should do the same thing. Then, just leave the shared folders option unchecked during future tools upgrades.



By: Thuan Nguyen

Wed, 18 Aug 2010 19:50:32 +0000

Thank you for this article. We are suffer the same thing on Vsphere 4 and it drving us crazy.



By: jason

Tue, 02 Mar 2010 18:59:12 +0000

Thank you for the comment. I will look at updating the article for vSphere.



By: Chad

Tue, 02 Mar 2010 17:02:09 +0000

Thank you for this article (despite its age). We are suffering from exactly this problem. I found the registry key entry exactly as stated except it was called vmhgfs with Vsphere 4 tools.



By: jason

Sat, 25 Oct 2008 21:20:39 +0000

No need to apologize. Yeah, d has been out forever. That's the last known stable version I'm aware of so it's the version I have been using in production for quite a while. Thank you for your comments.



By: Andrew Storrs

Sat, 25 Oct 2008 18:15:36 +0000

Sorry you're right it's UPHClean 2.0 (in beta) that fixes it http://snipr.com/4p2qh 32-bit download: http://blogs.technet.com/uphclean/attachment/2940877.ashx 64-bit download: http://blogs.technet.com/uphclean/attachment/2940834.ashx Be aware some people have had problems with the beta (I haven't seen any on a few hundred Citrix servers) so you'd want to thoroughly test it in your environment. Hopefully they release a final version sometime in the next 6 months.



By: jason

Sat, 25 Oct 2008 14:16:48 +0000

I've had UPHClean installed since day one (I install this service as a best practice on most of my Windows servers). UPHClean is unable to resolve the hgfs issue. If you know of a UPHClean tweak to handle hgfs, please share :)



By: Andrew Storrs

Sat, 25 Oct 2008 08:56:34 +0000

The User Profile Hive Cleanup Service (UPHClean) from Microsoft will take care of this problem and should be a "must install" tool on any Citrix/Terminal Server. Download it here: http://snipr.com/4ortz