<?xml version='1.0' encoding='iso-8859-1'?><rss version='2.0'><channel xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><title>BrianMadden.com - Tech Forum</title><link>http://www.brianmadden.com/forum/</link><description>Welcome to Brian Madden.com Tech Forum</description><copyright>All rights reserved</copyright><language>en-US</language><managingEditor>brian@brianmadden.com</managingEditor><image><title>Your Independent Application Delivery Resource</title><url>http://www.brianmadden.com/forums</url><link>http://www.brianmadden.com</link></image><item><category>Profiles / User Environment</category><title>Config help: Printer and Drive mappings per application</title><link>http://www.brianmadden.com/Forum/Topic/102339</link><description><![CDATA[Trying to 'extend' our Citrix deployment beyond what we'd initially wanted it to do:<br/><br/>We're in a clinical environment and thus did not want any of the users printing or saving to home machines.  Thus, our default policy turns off client printer and file support.  This is fine, and the users don't really have grounds to object to this.<br/><br/>However, there are some web applications (only available at work, not clinical in nature) that some of our users would like to print/save from remotely.  So the trick is that I have to somehow give them access to client drives and printers ONLY for that published (a locked down copy of Firefox) application.<br/><br/>I'm a loss as to how to accomplish this.  My initial thought was to have one generic domain account that users could use to access this application (a policy in PSC then allows file+print access for this one account.)  This certainly works...until more than one user logs in, and connects to the session that someone else was using.<br/><br/>I do NOT want to have to create duplicate accounts for all the users wanting this type of access.  But I'm struggling to find a way to give the users rights to print when launching one app, but not others.<br/><br/>Any clever ideas?<br/><br/>Environment:<br/>Two CPS 4.5 in one farm on win2003<br/>All clients connecting via Web Interface<br/><br/> Read more:Group: Tech Support ForumsForum: Profiles / User Environment]]></description><pubDate>Wed, 27 Aug 2008 14:31:07 GMT</pubDate><guid>102339</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>XenApp 4.5 Repair install script</title><link>http://www.brianmadden.com/Forum/Topic/101978</link><description><![CDATA[I have an automated install of XenApp 4.5 that is not functioning correctly by disallowing package deployment.  Performing a repair install via Add/Remove programs fixes this.  Is there a means of scripting this repair vs. using Control Panel?  Thanks,<br/><br/>SteveRead more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Tue, 12 Aug 2008 12:35:04 GMT</pubDate><guid>101978</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>A nice Excel report of published applications, servers, etc... dynamically updated on a regular basis.</title><link>http://www.brianmadden.com/Forum/Topic/101798</link><description><![CDATA[My boss wants a report (preferably Excel) that details which servers we have, what applications are running on them, which ones are published and whether or not they are duplicated on other servers so that we have a backup if one server goes down. I was going to create to excel sheets and simply pipe the results from the qfarm /apps and other commands to an xls file and have one sheet pull info from the other. I came here to see if there is a better way to do it or if someone has a ready made process, program, or script I could use instead of me doing this from scratch myself.Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 06 Aug 2008 10:54:28 GMT</pubDate><guid>101798</guid></item><item><category>Profiles / User Environment</category><title>Block all logon scripts</title><link>http://www.brianmadden.com/Forum/Topic/101600</link><description><![CDATA[I would like to block all logon scripts that are set on the User Object in Active Directory. <br/><br/>Is there an easy way to do it?Read more:Group: Tech Support ForumsForum: Profiles / User Environment]]></description><pubDate>Wed, 30 Jul 2008 17:13:22 GMT</pubDate><guid>101600</guid></item><item><category>Profiles / User Environment</category><title>Change terminal services profile path for all users in a specific active directory OU</title><link>http://www.brianmadden.com/Forum/Topic/101502</link><description><![CDATA[Hi,<br/><br/>I currently have an issue with the server that all of my users terminal services profiles are stored on, basically it is on its last legs and I need to move all the users terminal services profiles to a different server.<br/><br/>Currently most of our users terminal services profiles paths are set us as follows:<br/>	\\SERVER\Profile_Share\username<br/><br/>However there are a few exceptions which look like this:<br/>	\\SERVER\Profile_Share\username123<br/><br/>So what I am wanting to do is move all users in a specific active directory OU (we have an OU for every site in the company so would like to move users site by site) to the new server, but keeping the terminal services profile path the same with the exception of the server name.<br/><br/>So I want it to change from:<br/>	\\SERVER\Profile_Share\username123<br/>To:<br/>	\\NEW_SERVER\Profile_Share\username123<br/><br/>I am not a programmer in the slightest but I have modified a VBScript to work for a single user in the way that I want, the script is as follows:<br/><br/><hr noshade/><br/>Const Enabled = 1<br/>Const Disabled = 0<br/>Set objUser = GetObject _<br/>    ("LDAP://BRADDC02/cn=nm nm,OU=Test,OU=Sites,DC=barrett,DC=local")<br/><br/><br/>Dim profilename <br/>Dim username<br/>profilename = objUser.TerminalServicesProfilePath 	<br/><br/>profilename = Mid(profilename,16,(Len(profilename) - 15))<br/><br/>username = objUser.TerminalServicesHomeDirectory 	<br/><br/>username = Mid(username,16,(Len(username) - 15))<br/><br/> <br/>objUser.TerminalServicesProfilePath = "\\testing\test\"& profilename<br/>objUser.TerminalServicesHomeDirectory = "\\testing\test\"& username<br/>objUser.TerminalServicesHomeDrive = "Y:"<br/>objUser.AllowLogon = Enabled<br/><br/> <br/>objUser.SetInfo<br/><br/><hr noshade/><br/>Does anyone know how I can modify this script to work for all users within the Test OU? Or does anyone know of a script that will work in the same way?<br/><br/>Thanks<br/><br/>NickRead more:Group: Tech Support ForumsForum: Profiles / User Environment]]></description><pubDate>Mon, 28 Jul 2008 04:02:50 GMT</pubDate><guid>101502</guid></item><item><category>Scripting / Automation</category><title>Load Evaulator with IPRange Rules</title><link>http://www.brianmadden.com/Forum/Topic/101441</link><description><![CDATA[Hi Folks,<br/><br/>I have been trying to use mfcom to create new load evaluators or amend an existing ones. The rule that I am struggling and having issues with is IPRange. Can someone pls help to provide the script samples to get this working? I have looked thru the MFCOM Class Diagram but I just can't piece it together. Thanks in advanceRead more:Group: Tech Support ForumsForum: Scripting / Automation]]></description><pubDate>Thu, 24 Jul 2008 10:44:18 GMT</pubDate><guid>101441</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>Resource Manager Report to track user name, logon time, log off time, application accessed and server accessed</title><link>http://www.brianmadden.com/Forum/Topic/100999</link><description><![CDATA[Has anyone had any luck building a report template to gather some basic data:<br/><br/>user name, <br/>logon time, <br/>log off time, <br/>application accessed and <br/>server accessed<br/><br/>Seems it should be relatively available data but since it's not one of the canned reports with PS 4.5 platinumn I guessing it's harder than I'm envisioning.<br/><br/>Any other products in use for reporting against the Reource Manager Data Store?<br/><br/>Thanks<br/><br/>JL HowardRead more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 09 Jul 2008 20:27:44 GMT</pubDate><guid>100999</guid></item><item><category>Profiles / User Environment</category><title>Oracle Jar cache and Flex Profiles</title><link>http://www.brianmadden.com/Forum/Topic/100971</link><description><![CDATA[i want to exclude the oracle jar cache files from the users flex profile directories. I want to put the cache in a central location by editing the setting in the jar cache applet in control panel. How do i exclude this from flex profile and get this to use a central location for all users.Read more:Group: Tech Support ForumsForum: Profiles / User Environment]]></description><pubDate>Wed, 09 Jul 2008 12:09:32 GMT</pubDate><guid>100971</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>Access to Published Application Based on IP Address or Machine Name through PNA or PN</title><link>http://www.brianmadden.com/Forum/Topic/100921</link><description><![CDATA[I have a customer who needs to provide access to a published application based on machine name or IP address.  These are strictly internal users at this time.  Explanation: If a user connects from machine1 they would receive app_a, if that same user connects from machine2 they would receive app_b.  Also, web interface is not an option.  Does anyone know how to do this?  Any assistance will be greatly appreciated!!!Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Tue, 08 Jul 2008 15:04:05 GMT</pubDate><guid>100921</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>Application access by classroom/computername</title><link>http://www.brianmadden.com/Forum/Topic/100858</link><description><![CDATA[I am currently working for a school and they want to know if it is possible to grant access to publish applications based on computername.?<br/><br/>They have several classrooms with about 30 machines (mixed PCs and Macs) in each.  Each computer has a unique name defining which classroom they are in.<br/><br/>Obviously Citrix is geared towards access by username, but is there an way of doing this via computername.?<br/><br/>I could do it by AD groups and run a script on app launch to check group memeberships and computernames against application name, but this could be messy.<br/><br/>Thanks guys and gals<br/><br/>It's Win2003 PS4.5 farm with about 40 applications (and growing)<br/>They are planning to use PNAgent and WebInterface.Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Mon, 07 Jul 2008 07:43:05 GMT</pubDate><guid>100858</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>PS 4.5 HFRP + HF Unattended installation Script</title><link>http://www.brianmadden.com/Forum/Topic/100763</link><description><![CDATA[When I want to unattended install the HFRP I use the folowing command line.<br/><br/>MSIEXEC /P PSE450W2K3R02.MSP /QB / NORESTART<br/>or<br/>CPATCH /P PSE450W2K3R02.MSP<br/><br/>Then there is always a popup comming asking me to close command prompt: "You must close all applications before you install or uninstall Citrix PResentation Server. Please close the applications listed below before continuing." <br/><br/>Then I have to press: Cancel, Retry or Ignore.<br/><br/>Is there a way to bypass this? Because now I have to give input en the script waits :(<br/>Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 02 Jul 2008 01:25:51 GMT</pubDate><guid>100763</guid></item><item><category>Scripting / Automation</category><title>How to script the creation of Citrix AIE Rules?</title><link>http://www.brianmadden.com/Forum/Topic/100122</link><description><![CDATA[Hi all,<br/><br/>does anyone know how to script the creation of Citrix AIE Rules in VBscript? I want to create FileSystem Redirects for use during an unattended Citrix Installation. A short example script would be nice for understanding, I am pretty new to VBscript.<br/><br/>Thanks<br/><br/>DirkRead more:Group: Tech Support ForumsForum: Scripting / Automation]]></description><pubDate>Mon, 09 Jun 2008 16:21:13 GMT</pubDate><guid>100122</guid></item><item><category>Scripting / Automation</category><title>MFCOM and Visual Basic 6 Errors</title><link>http://www.brianmadden.com/Forum/Topic/99991</link><description><![CDATA[Hi,<br/><br/>I was wondering if anyone could shed some light on an issue I am having putting the svrOnLine and svfOffLine scripts floating about into a VB6 App.<br/><br/>Basically the code I am using is:<br/><br/>  Set mfSvr = CreateObject("MetaFrameCOM.MetaFrameServer")<br/>  mfSvr.Initialize 6, "SERVERNAME"<br/>   <br/>  For Each mfApp In mfSvr.Applications<br/>    fp.WriteLine mfApp.DistinguishedName<br/>  Next<br/><br/>I keep getting the following error when it tries to loop through the apps.<br/><br/>Run-Time Error '-2147467259'<br/>Automation Error<br/>Unspecified Error<br/><br/>It looks like the app does not know of any published apps...<br/><br/>I am pulling my hair out.....<br/><br/>Thanks,<br/>Dave.Read more:Group: Tech Support ForumsForum: Scripting / Automation]]></description><pubDate>Thu, 05 Jun 2008 09:00:46 GMT</pubDate><guid>99991</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>closing out all Apps.</title><link>http://www.brianmadden.com/Forum/Topic/99962</link><description><![CDATA[We are implementing something called context management, and this requires launching my apps using a script that first calls their program, then the users application.  Each application that uses context management will use this script and each program will have it's own instance of this program with a custom config.  The problem is that when the user finishes with his or her application, the context management program does not end, and stays open in their session.  This builds up to a lot of these small apps remaining open throughout the day.  Is there a way using batch scripting, VB scripting, or anything else to close out this extra app when the user closes whatever program they were using?<br/><br/>We are using presentation server 4.5.Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 04 Jun 2008 15:48:12 GMT</pubDate><guid>99962</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>Different file associations based on location (and other things)</title><link>http://www.brianmadden.com/Forum/Topic/99923</link><description><![CDATA[Hi,<br/><br/>Interesting question for you all!<br/><br/>I am currently working on a University's citrix farm which currently contains 5 servers (all the same pysical location and one farm).<br/><br/>They have a Microsoft campus agreement in place which allows MS Office to be used by staff and students when "on Campus" (whether it be University owned machines or staff/students own laptops) - But the agreement only covers staff access to the MS Office apps from outwith the campus (i.e. home).<br/><br/>When the farm was originally configured there was some confusion regarding the MS Office licensing situation - so a descision was taken to get all students, regardless of where they are connecting from to use OpenOffice.<br/><br/>This was easily implmented as students were in a set list of security groups and staff were in different groups - so apps were published to these groups and a registry script was run against students on login which changed the file associations for .doc .xls .ppt etc... to openoffice.<br/><br/>Things have now changed in regards to what was said above - Students are allowed to run MS office when on campus, but they can only run OpenOffice from outwith the campus.<br/><br/>In regards to connectivity, there are two WI+CSG boxes, one of which serves internal (or campus) connections and the other is public facing (i.e. off campus).<br/><br/>I think I can put together something that will change the file associations based on which WI+CSG the users are connecting through - But is there anyway to change the list of published apps based on where the inbound connections are coming in via - i.e. only show MS office apps for ALL "on campus" users, but show either OpenOffice or MS Office when connecting via the external WI+CSG dependant on what security group they are in?<br/><br/>I have a funny feeling this cant be done with a single farm??<br/><br/>Any thoughts?<br/><br/>Cheers<br/><br/>Paul Adam<br/>Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 04 Jun 2008 08:01:37 GMT</pubDate><guid>99923</guid></item><item><category>Terminal Services</category><title>Force user to close program before disconnect</title><link>http://www.brianmadden.com/Forum/Topic/99639</link><description><![CDATA[I have a terminal server setup where multiple users access one application, which uses a database.<br/>The program must always be closed when a user is finished with it (before they disconnect), or we run into many problems: database backups/repairs cannot be run unless all instances are closed, etc.<br/><br/>The only problem is, nobody can remember to close it, and it doesn't help that their session times out, which bring up another issue: the program must be closed properly - by the user and not a session ending - or worse things can occur; open unsaved work can be lost, database corruption, etc.<br/><br/>I made the mistake of letting some users choose their own password "upon login", so I can't remote control their accounts to close the program, and I shouldn't have to.<br/><br/>So, I've been searching for a way to "run a script when they disconnect" so that maybe I could run a AutoHotKey script to correctly close the program, with no success. Maybe there's a better solution I don't know about?<br/><br/>(The server is not running Active Directory.)<br/><br/>Thanks,<br/>CLRead more:Group: Tech Support ForumsForum: Terminal Services]]></description><pubDate>Mon, 26 May 2008 13:18:11 GMT</pubDate><guid>99639</guid></item><item><category>Profiles / User Environment</category><title>Users Settings to retain</title><link>http://www.brianmadden.com/Forum/Topic/99616</link><description><![CDATA[How to configure the Citrix MPS box so that users can retain their individual App. and Screen settings? Any help will be appreciated.<br/>ThanksRead more:Group: Tech Support ForumsForum: Profiles / User Environment]]></description><pubDate>Fri, 23 May 2008 15:08:37 GMT</pubDate><guid>99616</guid></item><item><category>Scripting / Automation</category><title>Login Script Hangs</title><link>http://www.brianmadden.com/Forum/Topic/99385</link><description><![CDATA[All,<br/><br/>I am testing a simple vbs script I want to use to map a local drive for each TS user.  The mapping is for a program to store its settings.  These settings need to vary depending on the group membership of the user.<br/><br/>Set objShell = CreateObject("WScript.Shell")<br/>strDrive = "B:"<br/>strPath = "M:\FRXSettings\Test"<br/>objShell.Run "cmd /c SUBST " & strDrive & " " & strPath, 1, True<br/><br/>The TS server is running on a VM machine.  M: is the system drive.<br/><br/>I want this script to run for every user.  So I configured the RDP connection settings in the Terminal Services Configuration MMC.  On the Environment tab I configured the "Start the following program when the user logs on" to M:\loginfiles\fcxlogin.vbs.  I checked the path and it is correct.  When I login via the RDP client the login hangs and I get "An error (193) occured while creating user logon.  This initial program can't be started: M:\loginfiles\fcxlogin.vbs."<br/><br/>I tried to correct the problem by removing that program from the Environment tab on the RDP connection settings in the TS configuration tool and by adding that program to the client settings.  I get the same error when I do that.<br/><br/>However, when i just add that vbs script to the startup folder under the programs menu for my user then the script works just fine.  Drive B: is mapped without any problems.<br/><br/>Does anyone have an idea what the problem might be?  Any help would be greatly appreciated.<br/><br/>Thanks,<br/>harveyRead more:Group: Tech Support ForumsForum: Scripting / Automation]]></description><pubDate>Thu, 15 May 2008 15:59:22 GMT</pubDate><guid>99385</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>Mount volume points </title><link>http://www.brianmadden.com/Forum/Topic/99316</link><description><![CDATA[We have an Issue where we are being required to provide  mappings of certain users C dives to The citrix servers. The problem we are running into is we are running out of drive letters. This is causing it to stomp on needed drive letters for applications. I was interested in if it is possible to use MS new Mount point to mount workstation c drives to a mount point on there Home drive? Would this be script-able? Read more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Wed, 14 May 2008 10:55:11 GMT</pubDate><guid>99316</guid></item><item><category>Citrix Presentation Server / XenApp</category><title>scripting help - I need help with a wmi script to add a user and remove a user from a published application</title><link>http://www.brianmadden.com/Forum/Topic/99240</link><description><![CDATA[I modified the moreapps.wsf script to add my publisheds apps. I have a presentations server 3.0 farm(current patches) with about 5700 published applications eunning on windows 2003 Server standard with SP1.<br/>I tried modifying the .adduser section, but that did not work.<br/><br/>Also... We binterface seems to crash with more the 1500 published apps... any idea how to make it display the published apps.<br/><br/>Thanks,<br/>MarioRead more:Group: Tech Support ForumsForum: Citrix Presentation Server / XenApp]]></description><pubDate>Mon, 12 May 2008 09:30:26 GMT</pubDate><guid>99240</guid></item></channel></rss>