May 162013
 

If you would like to automate the installation of your AppSense DesktopNow server(s), here is how to do it with PowerShell!

Start by downloading AppSense DesktopNow from myAppSense and extract it on your fileserver to a folder named “DesktopNow”.

Alter the values in the script below, save it as a ps1 file and you should be good to go.
Continue reading »

Feb 112013
 

If you want to migrate to Microsoft App-V 5.0 you’ll soon discover that you can’t import your old App-V 4.5 and App-V 4.6 applications because they are in a different format.

The new Microsoft App-V 5.0 sequencer comes with two PowerShell cmdlets which help you test and convert your existing applications to the new App-V 5.0 “.appv” format.

NoMoreFour wraps these two cmdlets in an easy to use GUI application, allowing you to convert all of your applications to App-V 5.0 with zero PowerShell knowledge required.
Additionally, NoMoreFour can batch convert all your applications at once, saving you lots of time (and money) without having to resort to PowerShell scripting.
Continue reading »

Apr 052012
 

If you install Symantec Enterprise Protection in a Citrix Provisioning Services vDisk in standard mode, you will notice that your clients will create duplicate entries in the Symantec Endpoint Protection Manager at every reboot.
Just like most other centrally managed anti-virus products (see my other post on Trend Micro OfficeScan), Symantec uses hardware id’s to uniquely identify clients and this causes issues with read-only vDisks. Continue reading »

Nov 252011
 

I wrote this PowerShell script to synchronize two folders with robocopy (each located on another physical hard disk) so I have a backup in case one hard disk fails.
The script will send the robocopy output log file as an attachment to the specified e-mail address. Continue reading »

Sep 132011
 

Getting information from all installed printers on a print server can be an impossible task without third-party tooling or scripts. PowerShell can make this really easy.

I created a PowerShell script which lists all installed printers and gathers information like the printer name, driver, share name, location and the IP address (the actual IP address, not the portname without the “IP” prefix). Continue reading »

Sep 022011
 

In almost all XenApp and XenDesktop environments I build, I solve user virtualization with AppSense Personalization and local profiles.
AppSense Personalization allows you to virtualize and personalize the user desktop without the need of a roaming profile, and by using  AppSense Personalization together with local profiles you get some big advantages over roaming and mandatory profiles:

  • Fast logon and logoff times (no profile has to be loaded over the network)
  • No profile corruption
  • No manual mandatory profile creation
  • No “hung” profiles

The only drawback of using local profiles is that they are not automatically deleted from the server or desktop when the user logs off, but this is where spoofing the state of the local profile with PowerShell comes in. Continue reading »

Aug 292011
 

Citrix has done a good job in helping us make a XenApp or XenDesktop environment based on provisioning high available.
Once your target devices are up, you’re mostly in the green zone:

  • A target device that has acquired license has a grace period.
  • Offline database support allows your SQL server to take a break.
  • 2 or more provisioning servers ensure high availability for your target devices.
  • NIC teaming
  • And so on…

However, when your target devices go into a (scheduled) reboot, you can go into the red zone.

Continue reading »

Aug 152011
 

With XenApp 6, Citrix removed the need for XenAppPrep when you want to prepare your image for cloning or provisioning.

Citrix published the following documentation in which 3 approaches to preparing for XenApp 6 imaging and provisioning are described: http://support.citrix.com/proddocs/topic/xenapp6-w2k8-install/ps-image-prep.html.

Although the Citrix documentation says otherwise, you may have the same STA ID on all provisioned XenApp servers to which you assigned your vDisk. Even after sealing the image with the XenApp server configuration tool 1.1 and choosing “Prepare this server for imaging and provisioning”.

Continue reading »