Friday 16 January 2015

Failed to Delete / Move Organizational Unit in Active Directory

I think I rarely touch about Active Directory, so let's start with a basic one. Let say, one day you want to housekeep your OU structure, delete or maybe move some OUs to different locations, but you got an error :


You do not have sufficient privilages to delete <OUName>, or this onject is protected from accidental deletion.



or

Windows cannot move object <OUName> because:

Access is denied.


Well, if we look at the first error, it is clear cut, the object is protected from accidental deletion, so the object needs to stay there. Whereas for second error, it just mentioned "access is denied". 


Issues :


  • Can't delete or move OU, either one of above errors prompted.


Troubleshooting 


  1.  Right click at the target OU, and click at Properties
Share:

Friday 9 January 2015

How To Hide Windows Local Disk Drives From Users

In some organizations, Management may want to hide certain server local drives from being accessed by Citrix users. There are a few methods to do so, but in this post, we will be using GPP. 

Note that this step will only HIDE but not prevent users from acecssing to it. The configured drive will only be hide from WIndows Explorer. Thus, users still can access to the drive via Command prompt, Run command etc.

Description :
Hide certain drives from being accessed by users.



How To Do :





  1.  Launch Group Policy Management Console. Depending on how your AD is structured, right click at the OU, and choose " Create a GPO in this domain, and Link it here... "

  2.  Give it a name, and press OK.

  3.  Then you can see the GPO created.

  4.  Right click at the GPO, and choose Edit.

  5.   Expand to User Configuration > Preference > Windows Settings, click at Drive Maps

  6.  Right click at Drive Maps, hover to New and click at Mapped Drive

  7.  In here, follow below instructions:
    Action : Update
    Drive Letter : Existing, and choose desired drive (in this example, it is D: drive

    Press Apply and OK.



Share:

Wednesday 5 November 2014

Review : Citrix XenApp 7.x Performance Essentials by Packt Publishing


Oh my my~ It has been awhile since my last updates! I will kick start this blog again by providing my review to a Citrix technical book, with the title of Citrix XenApp 7.x Performance Essentials by Packt Publishing.

 
To me, the title said it all. It explains the essential items for XenApp 7.x in term of performance. The instructions (followed by a few screenshots) given help readers to understand in the topic, and assist them if they want to dirt their hands with labs or training. 

Note that there are huge differences between XA 6.5 and XA 7.x, and this book do the job well in explaining the 7.x technology, without making the readers to confuse with XA 6.5.

A good read, moreover reference to Citrix Administrators, as well as the beginners. 

You may check the book here.

Well, this book does help me on my CCP : Virtualization preparation. But hey, that is not the focus here :)
Share:

Monday 21 July 2014

Unable to Create Site for Citrix XenDesktop 7 with "Cannot write property Collation. This property is not available on SQL Server 7.0" error

This issue occurred when i wanted to use SQL 2012 in my XenDesktop 7 environment (new setup). This error blocked Admins from creating new XenDesktop Site. Based on Citrix KB, it turned out that Share Management Object (SMO) library needs to be upgraded to SP1 on the server which hosting Citrix Studio.



Issues :


Unable to create Site on XenDesktop 7 with below error :
Cannot write property Collation. This property is not available on SQL Server 7.0





Resolution :
  1.  FIrstly, download Shared Management Objects from here :
  2. Double click at SMO

  3. This screen will launch.

  4. Installation will upgrade SMO. Press Yes to this message box.

  5.  Press Next 

  6. Accept the license, and press Next

  7.  This is optional step, press Next once you done


  8.  Press Install

  9.  Installation in progress...



  10. Done. Press Finish.


Share:

Thursday 17 July 2014

Error on Powershell - 0xffff0000

I am not very familiar with PowerShell, yet... really. Currently, my main scripting language is VBScript. However, I am truly believe the needs to learn PowerShell is keep increasing every single day. Server 2008 and Server 2012 are equiped with PowerShell, some advanced managements in XenDesktop 7.5 are using PowerShell, it is fun to learn PowerShell (they said), and a few other points mentioned by my colleagues (Wow, what on earth Heiry, why your introduction is longer than an episode of Dads?)

Issues :

Error encountered when a scheduled task created to run PowerShell script :


The shell cannot be started. A failure occurred during initialization: Object reference not set to an instance of an object.


Furthermore, this error reported on Task Scheduler.






Troubleshooting 
  1.  Go to Start > Run, and type regedit. Press Enter

  2.  Registry Editor launched. Browse to My Computer > HKEY_CURRENT_USER, and look for for Environment folder. It is not there.

  3.  Next, go to My Computer > right click and choose Properties

  4.  Go to Advanced tab, and click at Environment Variables...

  5.  You won't see any entry on variable, as below :


Resolution :

There are 2 methods to solve this :-


Method 01 - Using Registry Editor :

  1.  Launch REGEDIT. Browse to My Computer > right click at HKEY_CURRENT USER > hover at New > Choose Key

  2.  Change the new Key name to Environment

  3.  Now, lets refresh Registry Editor by pressing View > Refresh

  4.  We can see the new key is arranged accordingly.

  5.  Next, rignt click at Environment key > go to New > choose Expandable String Value

  6.  Right click at newly created strign entry, and choose Rename and name it as TMP

  7.  Right click at TMP string, and choose Modify

  8.  Configure below string to Value data box :
    String :
    %USERPROFILE%\Local Settings\Temp
                   
  9. Perform step 5 until 8 with below info : 
String Name : TEMP
Value Data : %USERPROFILE%\Local Settings\Temp




Method 02 - Using GUI :

  1. Right Click at My Computer > choose Properties > click at Advanced Tab > Click at Environment Variables

  2.  We will add the strings from here. Choose New

  3.  Configure the variable names and variable values accordingly, then press OK
     Variable name :
    TMP
     Variable Value : %USERPROFILE%\Local Settings\Temp

     Variable name : TEMP
     Variable Value : %USERPROFILE%\Local Settings\Temp
                                                                     
  4. This is the outcome. Press OK, and launch the PowerShell script to test.
Share:

Monday 14 July 2014

How To Generate Configuration Logging report - XenApp 5.0 for Server 2003

In previous post, i explained on how to enable Configuration Logging on XenApp 5.0 for Server 2003. In this post, I will explain on how to generate Configuration Logging report.


Description :
Generating Configuration Logging report  - XenApp 5.0 for Server 2003.


How To Do :


  1.  Firstly, login to workstation using the ID that has access to the DB. This Citrix blog explains well on the access required.
  2.  Launch Citrix Console, right click at Report Center > choose Generate Report

  3. Choose Configuration Logging Report, and press Next


  4.  If no specification being created yet, choose Create and use a new specification, press Next
  5.  Put the connection name, in this case the connection name is ConfigLogging. Click at Create
  6.   This window popped out, at Provider tab, choose Microsoft OLE DB Provider for SQL Server, and press Next >>
  7.  At Connection tab, properly specify the server name, credential, and the database. For credential (point #2 in the picture), choose Use Windows NT Integrated security (which is why I asked to login to the machine with that particular ID as step #1). Once all done, click at Test Connection.
  8.  If everything went well, this message will pop-up. Press OK.
  9.  We will be back to this screen, press OK.
  10.  Once we finished creating connection, we will be back to this screen. Press Next
  11.  Select the required farm, press Next
  12.  This screen will appear. Choose Use all available data, and press OK.
  13.  Customize the time accordingly, and press Next
  14.  Publish the report by choosing Publish report option, and specify the location by pressing the Add button. Once done, press Next
  15.  It is always best to save the specification, so we can easily generate the report again later on. Give the specification a name, and press Next
  16.  Everything will be summarize here, press Next.
  17.  All done. You may refer to Job view within Report Center node to check the progress.
Share: