Your Ad 
Here

Monday, April 09, 2012

What is Web garden in IIS?

Every application pool in the IIS will be having a worker process (w3wp.exe).

A application pool with multiple worker process is known as Web garden.
Most of the cases default single worker process application pool is good enough.
If you are having applications that make long running database requests for example high computational database transaction or applications that have threads occupied by long-running synchronous and network intensive transactions would take the advantage of having multiple worker processes.

Tuesday, December 06, 2011

How to copy a printer driver from one computer to another?

Use backup and restore option in Print Migrator 3.1 to take one printer from one server to another windows machine.

Download from here
http://www.microsoft.com/download/en/details.aspx?id=25311

How to delete duplicate lines along with its original in a text file?

Here is a way to delete repeated duplicate lines along with its original in a text file. If there are two lines with same string in it,it will remove both.
Finding double entries and delete both of them in a text file.
Do it in unix.
sort filename | uniq –u
Out put to a text file.

Friday, September 02, 2011

Setting up Arabic Input locale in Windows Vista

All of the files needed for you to view the Arabic Characters should
already installed in Windows Vista. However, you will need to install the
Arabic Keyboard Input so that you can type with the Arabic characters.
1) Click on Start button and then select Control Panel.
2) Under Clock,Language, and Region area, select Change keyboards or other input
methods link. Note: If you are in the Control Panel Classic View, then double click
on Regional and Language Options icon and click on the tab keyboard
and languages.
3) Click on the Change keyboards…button then click on Add…
button.
4) Select the input language and keyboard.
Expand "Arabic (Egypt)" tree then Expand "Keyboard" tree from the list. Check
Keyboard Arabic (101)
5) Click OK to add the selected keyboards to the Installed Services.
6) Click OK to confirm and apply your new language settings.
7) Open any Windows application then make sure the Language Bar menu on top is set to the input language you want.

Wednesday, August 03, 2011

How to use handle -c to a kill process in Windows?

You are getting this error "Cannot delete _vxfiVspCacheFile_1.VSP: There has been a sharing violation. The source or destination file may be in use."This _vxfiVspCacheFile_2.VSP file is in the folder NBU_VSP_Cache.This is happend because of netbackup client is caching opened files.You would soon run out of space in the local drives if there is no cap on it.

To resolve this issue or to delete this file do the following. You might have to download handle.exe or processexplorer.exe will help.

Run handle.exe > output.txt
Find out the process id and the handle number used.

For example in the following output file process id is 8 and the handle to be closed is 218
So run handle -c 218 -p 8

How to run handle -c example:

C:\handle>handle -c 218 -p 8

Handle v3.46
Copyright (C) 1997-2011 Mark Russinovich
Sysinternals - www.sysinternals.com

218: File (---) C:\NBU_VSP_Cache\_vxfiVspCacheFile_1.VSP
Close handle 218 in System (PID 8)? (y/n) Y

Handle closed.

Now you can delete the file.

Handle output file:

Handle v3.46
Copyright (C) 1997-2011 Mark Russinovich
Sysinternals - www.sysinternals.com

------------------------------------------------------------------------------
System pid: 8 NT AUTHORITY\SYSTEM
EC: File (RW-) \Device\Mup
15C: File (-W-) C:\pagefile.sys
218: File (---) C:\NBU_VSP_Cache\_vxfiVspCacheFile_1.VSP
250: File (RW-) C:\FTP