StoreFront Default Web Page (NetScaler)

Posted by admin | Posted in Technical | Posted on 26-11-2013-05-2008


So usually when I am on site at a customer most people don’t want their users to have to type http://internalFQDN/Citrix/StoreNameWeb. So most people since you really need NetScaler why not do a rewrite on what gets passed to redirect users.

Rewrite Explained

  1. Login to NetScaler
  2. Open your StoreFront virtual Server
  3. Click on the Polices tab
  4. Then Click on Rewrite
  5. Now Insert a New Policy
  6. Give the policy a name. For our example we are going to use rw_pol_storefront
  7. Next create a new action. On this action we are going to do the following.
    1. Name: rw_action_storefront
    2. Type: Replace
    3. Expression to choose target text reference: HTTP.REQ.URL
    4. String expression for replacement text: “/Citrix/<storename>Web”
    5. Example Configure_Rewrite_Action
    6. Click ok
  8. Now we need to Set the Expression that will invoke the rewrite policy.  This value is that needs to be check is… HTTP.REQ.URL.EQ(“/”)
  9. Click Ok all the way out
  10. Save your configuration
  11. Now Open up your favorite browser and type internal StoreNameFQDN and you should be redirected to the StoreWeb site. *Note you might need to clear your browser cache.

Speeding up StoreFront Services 2.x

Posted by admin | Posted in Technical | Posted on 25-11-2013-05-2008


So one thing I find getting asked a lot about is how to speed up StoreFront Services. I have found a lot of articles on this and I have found that some work in some environments and some don’t.  I have seen the Synergy Session Advanced best practices for migrating from Web Interface to StoreFront.  In this session there are a couple of things that where said to speed up StoreFront to get it close to it predecessor. The first change doesn’t get much of a result as the second but I have seen it help.  This change is to turn on NetBIOS name resolution. Most everyone have gotten off of NetBIOS and have gone to a fully DNS environment.

  1. Log into storefront server
  2. Go to Run
  3. Type ncpa.cpl
  4. Right Click on the NIC that Storefront uses and go to properties
  5. Click on Internet Protocol Version 4 (TCP/IPv4) and then click on properties
  6. Click on advanced
  7. Click on WINS tab
  8. Click on Disable NetBIOS over TCP/IP NetBIOS
  9. Click ok all the way out

The next thing that really speeds up  speeds up StoreFront and also Web Interface is turning off CRL checking in the .NET aspnet.conf file.  First thing you need to do is to detirming what version of .NET you are using for your application pools.  By Default StoreFront uses v 2.0 of .NET on 2008 R2 and v4.0 of .NET on Server 2012 and Server 2012 R2.  To verify this you can go into Internet Information Services and check for yourself.

  1. Login to the StoreFront Server
  2. Click on start and go to run
  3. Type inetmgr
  4. Expand your Web Server and go to Application Pools. The Application Pools you are concerned about for StoreFront are… Citrix Delivery Services Authentication, Citrix Delivery Services Resources, and Citrix Receiver for Web.AppPools

Now we know what version of .NET is being used we can now disabled CRL checking.

  1. Browse out to the following files C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.configC:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
  2.  The following line needs to be added to both files
    <generatePublisherEvidence enabled="false"/>
  3. After the files are both updated reset IIS and enjoy the StoreFront Speed up.

Find All Users in Domain and Add them to Group

Posted by admin | Posted in Technical | Posted on 22-08-2013-05-2008


Today I need to be able to to grab all users in the domain and add them to a group. I found a couple of examples that would get me part of the way but not finish the job.  After going around and piecing some others codes together here is what I came up with.

$user = Get-ADUser -SearchBase “DC=<DOMAIN>,DC=<TOPLEVELDOMAIN>” -Filter *;


Add-ADGroupMember $group –Member $user

Count Number of Users in Group

Posted by admin | Posted in Technical | Posted on 16-11-2012-05-2008


Today I was working with a client and needed a way to count all of the users in the group.  We knew of nothing that was currently installed that could do that but we thought power shell could be able to do it.  I have not needed to use powershell that much and for what I have needed it for it has be pretty well documented. I had to piece this together from a couple of different articles but here goes nothing.

  1. Launch power shell
  2. Run the command Import-Module ActiveDirectory (this will load in all the power shell commands for Active Directory)
  3. After that has finished loading you are going to need to run the following command to count the number of objects in a group (Get-ADGroupMember -Identity “Group Name”).Count (Note: Any nested groups will not be counted with this command)
  4. On the Next Line it will display the number of users that are added to this account.

If I have more time I will update this post on how to loop through nested groups.

Install XenServer 6.1 from USB stick

Posted by admin | Posted in Technical | Posted on 29-09-2012-05-2008


Since I know alot of people with a Home lab I am going to post how I upgraded to XenServer 6.1 since my home lab does not have a CD/DVD drive installed in it.  This is probably not recommended for production boxes so please do this at your own risk.

Things you will need….

  1. XenServer 6.1 (Release 9/28/2012)
  2. UNetbootin (Download Link)
  3. 2GB Flash Drive or bigger

Setup Bootable Flash Drive

  1. Plug in Flash Drive
  2. Open Up UNetbootin
  3. Browse out to location of XenServer ISO image
  4. Make sure UNetbootin selects the correct drive
  5. Hit ok
  6. Wait until UNetbootin finishes installing on the thumb drive (took about 5 minutes to complete)
  7. Eject from system

Install XenServer

  1. Plug in Flash Drive to XenServer
  2. Boot the XenServer from the Flash Drive
  3. Select Other
  4. Boot to the XenServer 6.1 Media
  5. Install XenServer as normal

XenDesktop 5.5 and ShoreTel Communicator

Posted by admin | Posted in Technical | Posted on 18-10-2011-05-2008


Currently I am working on deploying Windows 7 to a couple of Remote Call Center users using XenDesktop 5.5 and ShoreTel Communicator as a soft phone.  As I was testing some different headsets I received a message that my test user lost her connection to soft phone completely.  After pondering what was going on I realized that the XenDesktop image I was using was built of an image that ShoreTel Communicator client was launched on before putting it in standard mode. I started looking around and found that the client uses and End Point Name to connect to the server. I think looked at my test account settings and then the test call center users settings and found out that both were using the same End Point name.  Digging around the registry I found the following key


What I did was created a script that changed this key on logon and all was good.

2008 R2 to XenServer

Posted by admin | Posted in Technical | Posted on 29-09-2011-05-2008


At work I was bouncing my head of the desk for about a day and a half on converting a Windows 2008 R2 server sitting on a Dell Power Edge M610 over to XenServer 5.6 SP2.  Here is what I used to finally get everything working.

1. Ran Disk2VHD from SysInternals (Link) Make sure to take both the OS and the System partition are selected and Hit convert

2.  Used XenConvert 2.3.1 x64 (I have tried 2.4.1 x64 but it doesn’t have the option to take a VHD to XenServer) Select Source as VHD and Select XenServer as your destination. Fill out the rest of the information.

3. Booted the Server with the windows 2008 R2 CD

4. Select the Repair option

5. Select CMD

6. Change the Directory to ‘recovery’

7. Run ‘StartRep.exe’

8. Reboot

This resolved my issues and we were then able to use this server after everything was done.

SharePoint: Disappearing Sites

Posted by admin | Posted in Technical | Posted on 30-08-2011-05-2008


Today we had an issue where we seemed to hit a limit in our sharepoint environment.   Pages were disappearing from the navigation and from the quick launch as well.  I found this blog post that all you need to do is edit the webconfig file and add  DynamicChildLimit=”0″.  This fixed our problem.


Only other thing we had to was clear our cache on our NetScaler. 🙂

SharePoint 2007 Images not showing in Search

Posted by admin | Posted in Technical | Posted on 18-05-2010-05-2008


Today we had an issue with our Moss 2007 environment.  What was happing was one of our servers had a messed up DOCICON.XML file. (C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12TEMPLATEXML)  We were able to copy that file from one of our other servers and this fixed our issue.

SharePoint Alerting

Posted by admin | Posted in Technical | Posted on 08-02-2010-05-2008


One day at work I was asked by one of our VPs to automatically subscribe people to alerts so that when he made a new post to his blog it would alert people that he did.  So we set everything up so they get one email on friday with all the new postings.  Anyway after friday came and some of the alerts went out while others did not.  So I did some digging in the Sharepoint SchedSubscriptions DB and saw everyone that was subscribed to the list.  Then I went back and looked in Exchange to see if the mail went out.  After looking over what mail went out I discovered that mail didnt go out to any distrubition lists but did go out to people that were listed by name.

So I did a little digging on the internet and came acrossed this post.

In the third paragraph I read that the group has to be explicitly added to the Site Collection, Site, List, etc…

After testing I was able to add the add the distrubition list to the library and emails started flowing.