Showing posts with label Command Line. Show all posts
Showing posts with label Command Line. Show all posts

Friday 28 August 2015

Unable to Join Computer To Domain : The domain controller does not meet the version requirement for this operation

Few weeks ago, I had to un-join and rejoin one of my VM to our domain. Unjoin from the domain, checked. Rejoin to the domain, failed?? I know some of you may feel like "heh? is it that hard?" So no, it is not hard at all, but this was my first time I got below error (no screenshot, I forgot to capture one!)


Issues :

ERROR : The domain controller does not meet the version requirement for this operation.

But before the error prompted, I needed to key in my Domain Admin credential, which (1) I am pretty sure it was correct, and (2) it means my VM was connected to the network, and able to talk to Domain Controller.




Troubleshooting :

 I tried to join to domain using command line as below :
Share:

Thursday 20 March 2014

How To Use Citrix Receiver Clean Up Utility

Citrix has came up with an utility to fully uninstalled and removed Citrix Receiver from a workstation / server. 

Based on their article, this utility must be used in one or more of these situations :

  • Receiver or Online Plug-in is installed but the old components still exist or creating abnormal scenarios.
  • Receiver or Online Plug-in components must be cleaned before troubleshooting or installation.
  • Receiver or Online Plug-in are unable to function and the product is unable to install or uninstall.


However, not all OS can use this utility. It only can be applied to these products :

  • Windows 8 32-bit and 64-bit
  • Windows 7 32-bit and 64-bit
  • Windows 2008 32-bit and 64-bit
  • Windows 2008 R2
  • Windows Vista 32-bit and 64-bit




Description :
To uninstall Citrix Receiver, and perform cleanup so there is  no trace of Citrix Receiver inside the workstation / server.



How To Do :
  1.  Right click at Citrix Receiver Clean Up Utility, and choose Run as administrator.

  2. Key in 1 and press Enter to properly remove Citrix Receiver.

  3. Running….
  4. Once completed, you will see this screen. Press 1 to reboot the workstation.
Share:

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:

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

Add a Member Server To Domain Failed Due to DNS Configuration

This would be my first post regarding Server 2012 (pretty cool, huh?) So this is the case. I just created a lab environment for my XenDesktop 7. Because of this new classy environment, so I decided to use Server 2012. I have a server act as a DHCP, DNS and DC (have to, not enough resources), and another server as member server. So when I wanted to add this member server to my domain, I received error as in Issue section.



Issues :


  • Facing with this error while adding member server to domain.
    The following error occurred attempting to join the domain <domainName> :
    The specified domain either does not exist or could not be contacted.




Troubleshooting 
  • It turned out that my DNS server is not properly configured. It is not configured to any server, thus resulting member server cannot contact to any DNS server.





Resolution :
  1. Configure the correct DNS server. Depending on your environment, you may want to set it manually at servers, or at Scope option level.
  2.  Perform IPCONFIG /Release and IPCONFIG /Renew, so new configuration will take place. 
  3.  Rejoin the member server to domain, and tadaa!



Reference 

  • http://social.technet.microsoft.com/Forums/windowsserver/en-US/8df10ef3-5789-46cc-9446-40664e56522a/error-message-the-specified-domain-either-does-not-exist-or-could-not-be-contacted?forum=winservergen
Share:

Tuesday 31 December 2013

Enable or Disable Logon for Citrix XenApp Servers via Citrix Console

After we talked on how to disable logon using command, this post will show on how to disable logon using Citrix Console.

Note that :-
  • Users are not able to remote to the server, no RDP, no ICA, nothing.
  • Once logon disabled, users only able access the server via virtualization Console like VMware Client or XenCenter (Virtual server). For physical server, it is either physically sitting before the server, KVM or Remote Access Card (DRAC, or HP iLO)
  • For Command Line, it only can be used locally. I haven't try using PSTOOL yet, but I will update this post whether I can access the server using PSTOOL after logon disabled.
  • For GUI, as we will use Citrix Console, hence it can be done remotely from other Citrix XenApp servers, within the same farm. Hence, if the farm only has one Citrix XenApp server, then you need to get in the box via physically there or virtualization client.


Description
  • Disable / enable logon for Citrix XenApp servers via Command Line.



How To Do :

  1.  From Citrix Console, you can easily spot whether the server is having the session login disabled, or enabled. If it shows Disable Logon, it means current status is Enabled, and vice versa.
    Currently Disabled



    Currently Enabled


  2. To disable logon, from Citrix Console, right click at the server name, go to All Tasks, and choose Disable logon.




  3.  Hence, when users try to RDP the server, they will see this. For ICA connections, this server will not be used. If one published application was published only to that server, then users will not be able to access that application.




  4. To enable the logon back, from Citrix Console, right click at the server name, go to All Tasks, and choose Enable logon.
Share:

Enable or Disable Logon for Citrix XenApp Servers via Command Line

Well, as a Citrix Admin, you are able to prevent any users from accessing your Citrix XenApp servers, especially when the server is under maintenance mode, or you purposely want to put the server out-of-loads. there are 2 ways to do this; GUI or command. 

But bear in mind that :-

  • Users are not able to remote to the server, no RDP, no ICA, nothing.
  • Once logon disabled, users only able access the server via virtualization Console like VMware Client or XenCenter (Virtual server). For physical server, it is either physically sitting before the server, KVM or Remote Access Card (DRAC, or HP iLO)
  • For Command Line, it only can be used locally. I haven't try using PSTOOL yet, but I will update this post whether I can access the server using PSTOOL after logon disabled.
  • For GUI, as we will use Citrix Console, hence it can be done remotely from other Citrix XenApp servers, within the same farm. Hence, if the farm only has one Citrix XenApp server, then you need to get in the box via physically there or virtualization client.


Description
  • Disable / enable logon for Citrix XenApp servers via Command Line.



How To Do :
  1. RDP to the Citrix XenApp server, and open Command prompt. firstly, you may want to type Change Logon in order to know what commands can be used.

    These are commands that can be used :
    CHANGE LOGON {/QUERY | /ENABLE | /DISABLE)
    /QUERY     Query current session login mode
    /ENABLE    Enable user login from sessions
    /DISABLE   Disable user login from sessions

Share: