Get FREE Citrix XenApp 6 Video Training Course

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

We'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 6...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

We respect your privacy. We'll NEVER sell, rent or share your email address. That's more than a policy, it's our 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

Have a comment to share?

One of the big reasons that I blog is because I like people and I want to help them. Part of the reward for my work is your comments. I read every comment and post my replies pretty fast, so if you have something to say or a question to ask, please use the form below. Thanks very much.





If you like this post enter your information below to receive our FREE "Citrix XenApp 5.0 on Windows 2008" eBook and a 7 day eCourse with Tips & Tricks never revealed before.



{ 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: