Friday 14 March 2014

Server 2012 - Failed to Turn On .Net 3.5 Fx Features

I am using Windows Server 2012 for my XenDesktop 7 lab test. During the installation of SQL server, it prompted an error, asking for .Net 3.5 Framework to be turned on. I tried to enable it, but failed. Thinking and thinking, until I realized what was the issue
Issues :
Received below error while trying to enabling .Net 3.5 Framework feature in Windows Server 2012.
Error :
Installation of one or more roles. role services, or features failed.
The source files could not be found. Try installing the roles, role services, or features again in a new Add Roles and Features Wizard session, and on the confirmation page of the wizard, click "Specify an alternate source path" to specify a valid location of the source files that are required for the installation. The location must be accessible by the computer account of the destination server.
Troubleshooting 
It turns out that to enable the feature, the source is needed. In this case, it will grab the source from internet.
Resolution :
Mount the Windows Server 2012 CD / ISO to the drive
Open command prompt as administrator, and launch this command :
dism.exe /online /enable-feature /all /featurename:NetFX3 /Source:D:\sources\sxs /LimitAccess

running...
Complete!
Launch Server Maanger, and check the Roles and Features. the newly installed feature will appeared.
Reference 

Posted via Blogaway
Share:

Invalid Short Date Format on Registry

This is somehow not directly related to Citrix; it is more towards on how application reads information in registry. One of our application relies on Short Date format in Control Panel. Users will face error if the short date format is different with required format.


Issues :


  • Short Date format is different with application required setting. User won't be able to proceed with their tasks.


Troubleshooting 
  1.  Before proceed, ensure the user is not logging into the server (ICA or RDP). Go to Start > Run...

  2.  Type regedit, and press enter

  3.  Browse to My Computer > highlight the HKEY_USERS

  4.  Go to File > Load Hive...

  5.  Browse to user's profile ( %Documents and Settings%\<User ID> or %Users%\<User ID> ) and open NTUSER.DAT

  6.  Put a Key Name, and press OK

  7.  Browse to My Computer > HKEY_USERS > <Key Name> > Control Panel > International

  8.  Search for sShortDate, and check the format of the Data. In here, yo ucan search for Long Date and Time Format too.


Resolution :
  1.  Right click at sShortDate > choose Modify

  2. Configure correct format. In this case it is dd/MM/yyyy

  3.  This is the outcomes


  4.  Once done, browse to My Computer > HKEY_USERS > highlight the <Key Name>

  5.  Go to File > Unload Hive...

  6.   Choose Yes at the Confirm Unload Hive message box

  7.  Hive key is no longer there,

  8.  This is the difference (before and after change).
     
Share:

Friday 21 February 2014

How To Configure Pass-Through on Citrix Web Interface

I received a request by my clients to enable pass-through to their Citrix Web Interface site. Not more than a few minutes after completion, they made a few complaints, saying that they needed to supply their credentials every time they launched published applications, which defeats the Single Sign-On (SSO) purposes. After a few minutes of troubleshooting, I realized that, in order to enable pass-through, there are more steps need to be taken, not simply enabling the feature.


Description :


Properly enabling Pass-Through, so users wot have to supply credentials every time they launched Citrix published applications, as below :






How To Do :





  1.  Uninstall current installed Citrix Receiver





  2. Once un-installation completed, open command prompt, and type CMD


  3.  Browse to the installer location, and run command ( CitrixReceiver.exe /includeSSON )to install Receiver with SSON enabled

  4. Proceed with installation


  5. When you can see this in Programs and Features, it means the installation is already completed.


     
  6. Go to start > run and type GPEDIT.MSC


  7.  Add new ADM template for this purpose, by choosing Add/Remove Templates...



  8. Press Add.


     
  9. Add the template which can be located at this path ( %SystemDrive%\Program Files (x86)\ICA Client\Configuration ). The file name is icaclient.adm



  10.  Template added. Press Close
  11.  Browse to this path ( Local Computer Policy > Computer Configuration > Administrative Templates > Classic Administrative Templates (ADM) > Citrix Components > Citrix Receiver > User authentication ) 


  12. Right click at setting ( Local user and password ), and choose Edit


  13. Enable the setting




  14. Enable the first 2 options ( Enable pass-through authentication & Allow pass-trough authentication for all ICA connection)


  15.  This is the outcome, press Apply and OK



  16.  Reboot the machine (or use GPUPDATE /FORCE) , once up access your CWI.





p/s : if it happened that users still unable to utilizing SSO, please refer to here in order to use Citrix Receiver Clean Up Utility.

Share:

Wednesday 19 February 2014

How To Put Citrix Servers Out Of Citrix Load

So a couple weeks ago I had been asked by my colleague to put some of my servers out of load for maintenance. Then I was like,  "okay, just disable logon then!". Then, he made some weird face to me while saying "Fool, if you disable logon, how am I suppose to login, then? I don't want to trouble myself with console... go figure it out!".. aaaaaannd yes, I figured it out (or was I?? :D)


Description :
Put Citrix servers out of Citrix load (some sort of private mode / maintenance mode).



How To Do :

  1. From the Citrix server (or from your local machine of you has it installed), launch XenApp Advanced Configuration Console.

  2. Right click at Load Evaluator, and click at New Load Evaluator.

  3.  You will see this screen. Put a name of your Load Evaluator (ie. Out of Loads), and at the Available Rules section, click at Scheduling.

  4.  Add Scheduling Rule (you will see it moved from left section to right.

  5.  Now, at every single day, press Remove Interval.

  6.  This is the outcomes. Press OK.

  7. Now you will see another Load Evaluator created.

  8. From Citrix Delivery Console, right click at desired server, go to All Tasks > and choose Assign load evaluator.

  9. Change current Load Evaluator to the newly created Load Evaluator.

  10.  Press OK.

  11.  Now, whenever users want to access applications resides in that server, users will see this. Therefore, it is best to configured other servers to host the applications, so it won't interrupt users' experiences.




Share: