Pages

Friday, September 4, 2009

Listing all installed updates Security patched On windows 2003 Server or Windows 2000 Server or on Windows XP

Listing all installed updates Security patched On windows 2003 Server

Also applicable for Windows 2000 Server or on Windows XP

Run the command given below from command prompt. It will generate a bright HTML page full of every security patch installed on Server:

wmic qfe list full /format:htable

You can also save the output to a html page format like:


wmic qfe list full /format:htable >> C:\Output.html

And you are done!

If you found the post useful Please reply me.

Tuesday, September 1, 2009

What are the application protection modes available in IIS 5.0?

What are the application protection modes available in IIS 5.0?

Low application-protection: (In process) – All websites runs with inetinfo.exe process, you can’t track performance or identify the cause of app crash. Fastest execution, Lowest safety.

Medium application protection: (Out of process Pooled) – All website runs with Single DLLHost.exe (shared by all websites) and one inetinfo.exe. Issue causing Website identification is not possible as PID will point to a group ie. Out of process Pooled Applications. Faster execution than High isolation, Medium Safety.

High application protection: (Out of process) – All websites run with dedicated DLLHost.exe (Not shared and one for each website) and one inetinfo.exe process. We can identify the issue causing website using PID and match it with COM+ applications. Slower execution, Highest Safety.

Inetinfo.exe – It pass user request from http.sys to DLLHost.exe (Incase) and also manage and monitor the DLLHost.exe.

Configure ASP.NET 1.1 and 2.0 both on IIS 5.0 Windows 2000

Configure ASP.NET 1.1 and 2.0 both on IIS 5.0 Windows 2000

Total 3 Steps are there to perform:

1. Manually change the App Mappings to the appropriate version of aspnet_isapi.dll for every instance of it.
For example, change the following C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_ isapi.dll
to C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet _isapi.dll

2. Then : Create or Check following registry w/ regedt32
[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\0\win32]
"C:\\WINNT\\Microsoft.NET\\Framework\\v2.0.50727\\AspNetMmcExt.tlb"
[HKEY_CLASSES_ROOT\Typelib\{A4CA8810-6E46-36FF-A048-B7FD564742F8}\2.0\HELPDIR]
"C:\\WINNT\\Microsoft.NET\\Framework\\v2.0.50727"

3. "aspnet_regiis -I -enable" (without quotes) from the appropriate .NET Framework folder. For example the folder for .NET framework 2.0 would be C:\Windows\Microsoft.net\Framework\v2.0.50727 and hence the command will be C:\Windows\Microsoft.net\Framework\v2.0.50727\aspnet_regiis -i -enable

You are done!

If you like the Post please leave your comment. :-)

Monday, August 24, 2009

Configuring Rapid-Fail Protection in IIS 6.0 (IIS 6.0)

Configuring Rapid-Fail Protection in IIS 6.0 (IIS 6.0)

To escape from the Denial of Service Attack, YOU configure Rapid Fail protection. Like say it will disable your application pool incase your worker process crash 5 times with in 5 minutes.

To configure rapid-fail protection by using IIS Manager

1. In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and then click Properties.

2. Click the Health tab, and select the Enable rapid-fail protection check box.

3. In the Failures box, type the number of worker process failures to be detected before disabling the worker process.

4. In the Time period box, type the number of minutes during which failure totals are accumulated.

5. Click OK.

You are done.

How to Add Mime type

You can also configure IIS to serve undefined file types by adding a wildcard character (*) MIME type. Do not use wildcard MIME-types on production servers.

To add a MIME type to a Web site or directory
1. In IIS Manager, right-click the Web site or Web site directory for which you want to add a MIME type, and click Properties.

2. Click the HTTP Headers tab.

3. Click MIME Types and Click New.

5. In the Extension box, type the file name extension.

6. In the MIME type box, type a valid MIME type. If you define a MIME type that has already been defined at a higher level, you are prompted to select the level where the MIME type should reside.

To create a MIME type for an undefined MIME type, type an asterisk (*) in the Extension box, and type application/octet-stream in the MIME type box.

To create a MIME type for a file without an extension, type a period (.) in the Extension box, and type your MIME type in the MIME type box.

7. Click OK.