FREE Citrix XenApp Training

Are you setting up a new Proof of Concept
or a Production Environment?

I'll coach you through the configurations step-by-step with Real World Best Practices.

  • Microsoft Active Directory and Group Policy...
  • Install and Configure Citrix XenApp...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

I respect your privacy. I'll NEVER sell, rent or share your email address. That's more than a policy, it's my personal guarantee!

Citrix Provisioning Services for Citrix XenApp Best Practice

XenAppCloningTool 300x216 Citrix Provisioning Services for Citrix XenApp Best Practice

Many of the Best Practices modification are included in Provisioning Services Optimization Tool. One of these settings are disabling the Automatic Updates Service. To run Windows Update on your vDisk you will need to set the service startup to Automatically, start the service and run Windows Update. One of my recently added Must Have tools are WUinstall which automatically download and install Windows Updates from Microsoft or your internal Windows Updates Services with one command. I have added this to my build script, take a look at my previous blog post “Prepare a Provisioning Services Private vDisk for Shared vDisk“.

@echo off
cls
echo ************************************************************
echo ***** This will prepare the machine for Standard Image *****
echo ************************************************************
echo.

choice /c yn /m "Do you want to Download and Install Windows Updates"
set DRIVENUM=%ERRORLEVEL%
if %DRIVENUM% EQU 1 goto wsus
if %DRIVENUM% EQU 2 goto cont

:wsus
echo.
echo Enable and Start Windows Update Service
sc config wuauserv start= auto
net start wuauserv

echo.
echo Applying Windows Updates
wuinstall /install
goto cont

:cont
echo.
ipconfig /flushdns
echo.
defrag C:

echo.
echo Running Provisioning Services Optimization Tool
call "c:Program FilesCitrixProvisioning ServicesTargetOSOptimizer.exe"

echo.
echo Running XenApp Cloning Tool
call "c:Program FilesCitrix ToolsXenApp Cloning ToolXenApp Cloning Tool.exe"
shutdown /S
Prepare For Your Next Citrix Exam with FREE Training
Enter you email to Get Instant Access to Citrix Training and blog post updates directly to your inbox. Over 14644 people have already enjoyed this comprehensive training.

{ 2 comments… read them below or add one }

Max Rodkin May 25, 2010 at 09:23

Hi!
is it possible to enable wsus only in private vDisk mode, when we are modify “golden image” and disable if servers start in standart vDisk mode?

Reply

admin May 25, 2010 at 11:14

Yes. If you run the script it will enable the Service needed to download updates from MS Update or your internal WSUS. In the end of the script the PVS Target Optimizer starts and this disables the Windows Update Service.

I use this script at all my customers every time I switch from Private to Standard vDisk.

Eric

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post: