A joke I got in my email:
In an alcohol factory the regular taster died and the director started looking for a new one to hire.
A drunkard with ragged, dirty look came to apply for the position.
The director of the factory wondered how to send him away.
They tested him.
They gave him a glass with a drink. He tried it and said,
"It’s red wine, a muscat, three years old, grown on a north slope, matured in steel containers."
"That’s correct", said the boss.
Another glass.
"It’s red wine , Cabernet, eight years old, a southwestern slope, oak barrels."
"Correct."
The director was astonished.
He winked at his secretary to suggest something.
She brought in a glass of urine. The alcoholic tried it.
"It’s a blond, 26 years old, pregnant in the third month.
And if you don’t give me the job, I’ll also tell who’s the father!"
The Bedroom. The Bathroom. The Car. The Office. The Living Room. The Study Room. The Routine.
Thursday, December 16, 2010
Wednesday, December 15, 2010
“勇”字
汉字字源
这是“智勇双全”中的“勇”字,本为会意兼形声的字。①是金文的写法。上部为“戈”,下部为“用”。“用”亦表音,意谓 “用戈者,勇也”。②是《说文》中古文的写法,上部讹变为“甬”,下部为“心”,可见“勇”与“心”有关。③是小篆的形体,“心”又变为“力”,说明 “力”是“勇”的基础。④是楷书的写法。
Source: zdic.net
Thursday, May 27, 2010
Reclaiming disk space on an external USB drive
This article is for users running Microsoft Windows OS.
* Disclaimer: before executing these actions described below, make sure that you understand these delete data that you may otherwise need. I hold no responsibility for any loss of your data.
At times, you may store and delete files on an external USB drive formatted with NTFS partition. Then over time, you realize that the available disk space on your USB drive keeps getting less and less even though you know that you should have more than what's occupied on the disk. The reason is that your deleted files may have been moved to a folder call $Recycle.Bin on the root of your USB drive.
To reclaim is, open the command prompt, and change the drive letter to your USB drive. For example, if you USB drive letter is F:, type:
Then run this command to remove the directory completely:
rd /s F:\$Recycle.Bin
Confirm the action when prompted.
If you do not know how to find the drive letter, open your My Computers from your Windows desktop and note down the drive letter of your external drive.
* Disclaimer: before executing these actions described below, make sure that you understand these delete data that you may otherwise need. I hold no responsibility for any loss of your data.
At times, you may store and delete files on an external USB drive formatted with NTFS partition. Then over time, you realize that the available disk space on your USB drive keeps getting less and less even though you know that you should have more than what's occupied on the disk. The reason is that your deleted files may have been moved to a folder call $Recycle.Bin on the root of your USB drive.
To reclaim is, open the command prompt, and change the drive letter to your USB drive. For example, if you USB drive letter is F:, type:
Then run this command to remove the directory completely:
rd /s F:\$Recycle.Bin
Confirm the action when prompted.
If you do not know how to find the drive letter, open your My Computers from your Windows desktop and note down the drive letter of your external drive.
Sunday, May 03, 2009
128-bit SecureICA Problem in Windows Server 2008 x64 with XenApp 5.0
Recently I have been having problem with SecureICA 128-bit encryption on Windows Server 2008 x64 with XenApp 5.0. The symptom (and how to replicate the issue) is like this:
1. Install XenApp 5.0 on a Windows Server 2008 x64 server
2. Publish a Desktop from the server
3. Publish an application (let's say notepad.exe) and force 128-bit encryption as the "Minimum Requriement" from this same server
4. Launch the published Desktop from any other Windows client you wish and forced 128-bit encryption from the ICA client
5. From the published Desktop remote session (which is a Windows Server 2008 x64 desktop), laucn Citrix Program Neighborhood from the Start Menu
6. Find an application set and points it to the same server
7. Try to launch the published Notepad.exe created in step 3 earlier, and..
You will NEVER be able to launch this application from the Citrix Program Neighborhood client. The message given will be something like "Higher encryption is required which this client does not support". No amount of tweaking on the client settings will get you pass this problem.
OK, even if you have the published application with high-encryption as the minimum requirement published elsewhere, such as from a CPS4.0 or CPS4.5 servers running Windows 2000 or Server 2003, you will still get the same error message and will not be able to launch it from the published Desktop.
I have reported this case to Citrix Support for more than 2 weeks...and they have yet come back to me.
Update 22-May-2009: Citrix has been able to simulate the problem and provided me a private fix to the PN client on May 14th. They have also mentioned that they will include this fix in the future service pack.
1. Install XenApp 5.0 on a Windows Server 2008 x64 server
2. Publish a Desktop from the server
3. Publish an application (let's say notepad.exe) and force 128-bit encryption as the "Minimum Requriement" from this same server
4. Launch the published Desktop from any other Windows client you wish and forced 128-bit encryption from the ICA client
5. From the published Desktop remote session (which is a Windows Server 2008 x64 desktop), laucn Citrix Program Neighborhood from the Start Menu
6. Find an application set and points it to the same server
7. Try to launch the published Notepad.exe created in step 3 earlier, and..
You will NEVER be able to launch this application from the Citrix Program Neighborhood client. The message given will be something like "Higher encryption is required which this client does not support". No amount of tweaking on the client settings will get you pass this problem.
OK, even if you have the published application with high-encryption as the minimum requirement published elsewhere, such as from a CPS4.0 or CPS4.5 servers running Windows 2000 or Server 2003, you will still get the same error message and will not be able to launch it from the published Desktop.
I have reported this case to Citrix Support for more than 2 weeks...and they have yet come back to me.
Update 22-May-2009: Citrix has been able to simulate the problem and provided me a private fix to the PN client on May 14th. They have also mentioned that they will include this fix in the future service pack.
Thursday, April 30, 2009
Windows Installer Services Error 1719
This error gives a message: "The Windows Installer service could not be accessed"
Let's say you've got an error 1719 when trying to install an MSI package and you follow the solution inhttp://support.microsoft.com/?kbid=315346, and this error still persists. And if you're running Windows Server 2008, you can try this method:
At the command prompt, run this at the C:> prompt:
regsvr32.exe %SystemRoot%\System32\msi.dll
And on an x64 OS, you should also run this:
%systemroot%\sysWOW64\regsvr32.exe %systemroot%\syswow64\msi.dll
This solves the problem I was facing.
Let's say you've got an error 1719 when trying to install an MSI package and you follow the solution in
At the command prompt, run this at the C:> prompt:
regsvr32.exe %SystemRoot%\System32\msi.dll
And on an x64 OS, you should also run this:
%systemroot%\sysWOW64\regsvr32.exe %systemroot%\syswow64\msi.dll
This solves the problem I was facing.
Monday, April 13, 2009
Citrix User Profile Manager - some initial discovery
As I learn how to use this on Windows Server 2008 x64, here are things that I will want to share about Citrix User Profile Manager (CUPM):
1. It is run before the Windows standard Loading user profile, Applying user settings. This means it will be able to save user's Desktop settings such as Desktop Language
2. It does not compress user data in the User Store (the location where the saved profile will be stored). This is not configurable. Compressing user profile and saving a single compressed instance across a network has the benefits of reduced network bandwidth usage and reduce the chances of profile corruption.
3. Only 1 configuration per server. Let's say you have SAP Client and Microsoft Word loaded on a Citrix XenApp server and they are both published. The 1 configuration limit means if you want to just load SAP Client and load only SAP Client-related settings for a session, you must load the whole profile including profile settings for Microsoft Word
4. It is able to read Active Directory User Account Object attributes - e.g. Profile path - to use as the location for the user store. Or you can save the user store in user's HOMEDRIVE environment variable. The default settings in CUPM is to save the User Store in user's Windows folder on the HOMEDRIVE. User Environment Variables are not possible because CUPM runs before Windows' Loading User Profile action is processed
5. Configurations can be done through the AD Group Policy Object, or the local INI file, or the combination of both. GPO settings have the priority
6. To use this effectively, the server should be configured to use Local Profile only. This can be set in the Policy Editor or the Group Policy Object in AD
7. CUPM has the option to delete the cached local profiles when users log off. This will be useful in a Terminal Services environment
8. This can be used anywhere, not only for servers running Citrix XenApp
These are just some of my initial thoughts.
1. It is run before the Windows standard Loading user profile, Applying user settings. This means it will be able to save user's Desktop settings such as Desktop Language
2. It does not compress user data in the User Store (the location where the saved profile will be stored). This is not configurable. Compressing user profile and saving a single compressed instance across a network has the benefits of reduced network bandwidth usage and reduce the chances of profile corruption.
3. Only 1 configuration per server. Let's say you have SAP Client and Microsoft Word loaded on a Citrix XenApp server and they are both published. The 1 configuration limit means if you want to just load SAP Client and load only SAP Client-related settings for a session, you must load the whole profile including profile settings for Microsoft Word
4. It is able to read Active Directory User Account Object attributes - e.g. Profile path - to use as the location for the user store. Or you can save the user store in user's HOMEDRIVE environment variable. The default settings in CUPM is to save the User Store in user's Windows folder on the HOMEDRIVE. User Environment Variables are not possible because CUPM runs before Windows' Loading User Profile action is processed
5. Configurations can be done through the AD Group Policy Object, or the local INI file, or the combination of both. GPO settings have the priority
6. To use this effectively, the server should be configured to use Local Profile only. This can be set in the Policy Editor or the Group Policy Object in AD
7. CUPM has the option to delete the cached local profiles when users log off. This will be useful in a Terminal Services environment
8. This can be used anywhere, not only for servers running Citrix XenApp
These are just some of my initial thoughts.
Subscribe to:
Posts (Atom)
