When automating Citrix PS4 Server installations it is quite common customer request not to create the deafult 15 anonymous accounts.
The available setting in enteo's Management suite for Citrix unfortunately do not inlcude a setup switch for this purpose, so here is how to accomplish it anyway:
Option 1: (easiest)
Create an enteo script that runs after the actual Citrix Installation (Component) which uses 15 of the following execute statements
cmd.exe /c "net user Anon000 /delete"
cmd.exe /c "net user Anon001 /delete"
...
Option 2: (patience)
Editing the enteo Citrix Script, The script is already so full of variables used to configure the installation, taht every action taken to modify the script just takes some patience or a really fast machine to process it.
Open the script and look for the MSIInstallProduct Command.
Open that and (patience) add an additional parameter at the end of the Parameter line
CTX_MF_ADD_ANON_USERS=NO
Done
Option 3: (cleanest)
Mimic the existing Parameter handling
Add a DTM Paramater in the Citrix Console and name it something like
Create_Anonymouts_accounts
Possible Values: Yes/No , Default it to whatever you like best
Add the Citrix PS4 Script and use the new Parameter
%DTM.Desktop.Create_Anonymouts_accounts%
Either check if it is "NO" and only then add it to the parameter string (copy one of the other if statemets and adapt it), or simply add it to the MSI Parameters as described above in Option 2
© www.prodeploy.com
Monday, June 11, 2007 5:12 PM
hweeres