Jan 10

How to: Reset password on Citrix Licensing server

If you lost the admin password or your Citrix Licensing server or the password of any other account and you can’t login to the Citrix Licensing server anymore here is what you have to do:

1- Go to C:\Program Files\Citrix\Licensing\LS\conf and open “server.xml” with notepad.
2- Find the entry that looks something like this:

<user firstName="System" id="admin" lastName="admin" password="(ENC-01)zFaU17cJ2oNQ+LkskjkzUyVV5ZoamcJCDCiuiusbB6zk2P0uR" passwordExpired="false" privileges="admin"></user>;

3- Erase the contents between the double quotes after password= (ei: password=”"
4- Enter a plaintext password so it looks like this: password=”password”
5- Change the passwordExpired value to be “true”
6- Save the server.xml file.
7- Close any Licensing Administration Console that you might have open.
8- Restart the licensing services
9- Log into the LAC using user name “admin” (or the username of the account that you changed the password) and the password the you set at #4
10- You will be prompted to change your password. Do it. By doing it, the new password will be encrypted in the server.xml file.
11- To check that everything is working as planned, re-open the server.xml to check that the password is now encrypted.

May 18

VMware: Knowledge Base Content Request

If you can’t find what you are looking for in vmware KB article… Click here

http://www.vmware.com/landing_pages/knowledgebase-content-request.html

It is now possible to request some KB content.

Oct 01

How to: List members of the Administrators local group

This is a simple powershell script that will list all the members in the Administrators local group. Just add all the computer name in C:\Servers.txt.

$Computers = Get-Content "C:\servers.txt"
foreach ($Computer in $Computers) {
    $strcomputer = [ADSI]("WinNT://" + $Computer + ",computer")
    $Group = $strcomputer.psbase.children.find("Administrators")
    $members= $Group.psbase.invoke("Members") | %{$_.GetType().InvokeMember("Name", 'GetProperty', $null, $_, $null)}
    Write-Host $Computer
    Write-Host "*********************"
    ForEach($user in $members){
        Write-Host $user
    }
    Write-Host ""
}

If you have idea to enhance that script please feel free to post it in the comments section.

Jan 28

How to: Create empty files with specific size

This is just a quick post on how to create a huge file in 2 second.

In this example I will create a 1gb file:

-Open “Command Prompt” (Start / Run / cmd / Enter)
-Use this command:

fsutil file createnew <filename> <size>

fsutil file createnew C:\1gb_files.out 1073741824

-< filename > is the name of the file
-< size > is the size of the file in bytes

Jan 19

Windows Update – Error 0x80072F8F

This is a common issue with all Microsoft operating system after Windows XP (XP, 2000, 2003, Vista, 7, 2008, 2008 R2). So you are trying to get your Windows Update and you get error 80072F8F. You try again, same thing. You now probably think that you computer/server need a reboot … after reboot … still 80072F8F. Now what, you google “Windows Update error 80072F8F“. You probably found this knowledge base article (KB929458)

In this article, Microsoft propose 4 method to fix this issue. In most case one of those method should fix the issue but in my case none of them worked. I got this error on a Windows Server 2008 Standard R2. The date and time was correct and the server was set to the proper time zone. According to the KB929458, method 2 (Install the most current Microsoft root certificate update) and method 3 (Click to clear the “Check for server certificate revocation” check box) does not apply to Windows Server 2008. After a little bit more research, I found out that my Event viewer (Application) was full of CAPI2 Event id 4110 error

Failed to add certificate to Third-Party Root Certification Authorities store with error: A certificate chain could not be built to a trusted root authority.

Since this error was related to root certificate I went to Http://download.microsoft.com and got the latest update for the root certificate. I download this update, double click on the EXE … nothing happen. Double click again… still nothing. Wierd… I try Windows Update again, everything is fine.

I guess the solution for me was to update the root certificate. I still don’t know what was the cause of that issue or if it was the proper way to fix it but now it works.

Please leave a comment if you had that same issue, this could help us find the cause of this problem.

Nov 06

KMS for Win 7 and Server 2008 R2: “Run ‘slui.exe 0x2a 0xC004F050′”

So, you have Microsoft Key Management Services running fine for all your Vista workstation and Windows 2008 servers but now you want to add your KMS key for Windows 7 or Windows 2008 R2 and you get this error message:

Run 'slui.exe 0x2a 0xC004F050' to display the error text.  Error: 0xC004F050

You now have 2 choices to fix this issue:
1. Move you KMS host to a Windows Server 2008 R2 server
2. Install Microsoft patch KB968912

Of course this patch is not available from windows update so here is the complete step to install the patch and setup your new KMS key on you KMS host.

Read the rest of this entry »

Jul 30

How To: Get serial number from a list of servers or computers

Description:
This How To will help you get the serial number from a list of servers or computers. The list of servers or computers would be provide in a txt file.

 
How To:

$colItems = get-wmiobject -class "Win32_BIOS" -computername (Get-Content c:\computers.txt)
foreach ($objItem in $colItems) {
   $computername = $objItem.__SERVER
   Write-Host $computername "," $objItem.SerialNumber
}

Read the rest of this entry »

Older posts «

» Newer posts