Wednesday, May 31, 2006

Online HTML Editors

While composing my last two postings, I realised the limitation of the default text editor of Blogger/Blogspot. Even though it offers direct HTML editing, it still lacks WYSIWYG based features. Googling for "online HTML editor" reveled two useful free online HTML editors -

Using any of the above editors, all I had to do was copy-paste the generated HTML code in the blogger post HTML-editing window. Now I need to find a similar online editor which can directly send my postings to my Blogger/Blogspot account - a feature that is available in Word 2007 (currently in beta).

Tuesday, May 30, 2006

Citrix Tips: Convert object name to SID and vice versa

Very often users' cached profile become corrupt on Citrix server(s) and needs to be deleted, but that profile's registry hive remains loaded into memory even after the user has logged off. This prevents the deletion of that user's profile until the server is restarted. There is, however, a workaround to manually unload that user's registry hive. In REGEDIT.EXE or REGEDT32.EXE, all the active logged on users have their registry hive loaded into memory under HKEY_USERS represented by their user's SIDs (not the actual user names). If there are hundred of users logged-in on a server, and one particular registry hive needs to be unloaded which belongs to that user's profile, the best way is to find that user's SID and search that SID under HKEY_USERS and unload that hive.

PsGetSid from sysinternals can be used for converting user name into SID.

Convert Name to SID: http://www.sysinternals.com/Utilities/PsGetSid.html
Example: C:\> psgetsid <user_id>

Conversly, SidToName from Joeware Tools can be used for coverting SID into User ID.

Convert SID to Name: http://www.joeware.net/win/free/tools/sidtoname.htm
Example: C:\> sidtoname <S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-xxxxxx>

UPDATED: >PsGetSid can convert SID to name as well, so you just need PsGetSID to covert name to SID and vice-versa.

Tuesday, May 16, 2006

The technology behind Microsoft's IntelliMirror and Exchange 2003 Server Cache Mode


Do you know from where Microsoft picked up technologies behind IntelliMirror and Exchange cache mode?

These are based on the research work (CODA File System) done by Mahadev Satyanarayanan from Carnegie Mellon University.

Whats more facinating to note that is, he is also the co-founder for Internet Suspend/Resume approach, which is a potentially revolutionary idea. This is already being tested in Intel Research Pittsburgh.

Tuesday, May 02, 2006

Maximize IE window permanently

With the default configuration of IE/Windows OS, any new IE window that opens up, does not open in maximized size. Even if you maximize those new windows manually, they still go back to their own size the next time you open them. To fix this, following is the solution I found while searching on the net:
  • Close all instances of Internet Explorer except one. Open a new window, and close the original. Type (case sensitive) the following into the address bar (where XXX,XXX is your screen resolution), and press ENTER -> javascript:moveTo(0,0);resizeTo(xxx,xxx)
  • When the new window re-sizes, hold the CTRL key and close the window. New windows should now open at full size, with everything visible.

This is another of those documentations that I need to keep :-)