Sunday, 1 January 2012

WINDOWS IIS INFORMATION

What is IIS server?
IIS Stand for internet information service, it is a web server from Microsoft used for administering, managing, controlling websites.
IIs is the server component which provides like
www, http, ftp, nntp, smtp, frontpage, .net frame works


IIS server version ?

How to Installing IIS 7 on Windows Server 2008?

First log on  in administrator user account.
1. Click Start -> All Programs -> Administrative Tools -> Server Manager

Select the “Add Roles” under Roles
Select “Web Server (IIS)” on the Server Roles page:
2: Server Roles selection page
Application Development -> ASP.NET
Click Next->install

(Choose the IIS Services to be installed. In this case ASP.NET is to be installed. Select the services required by your applications:)

3.After completed installation (press windows key+r)
4.open run
type this command "inetmgr"  (After that open iis server).


How to Tack IIS Server Backup in command mode.
Go to command line:
c:\windows\system32\inetsrv> appcmd add backup "backup name"

How to Restore IIS Server Backup in command mode.

Go to command line:
c:\windows\system32\inetsrv> appcmd restore backup "backup name"

How to show the IIS backup list.
c:\windows\system32\inetsrv>appcmd list backup "backup name"

Default location for IIS log File.
Log file directory: C:\Windows\System32\LogFiles
Log file name: W3SVC1\exyymmdd.log

Then your full log path to put into SmarterStats would be:
C:\Windows\System32\LogFiles\W3SVC1






How to Disconnect other remotely loggedin sessions.
 
First of all you must be logged into your client computer as a domain Admin user. Now open the commandprompt and type in the following command.
qwinsta /server:SERVERIP
The Ip address or domain name of theRemote server should be entered in place of SERVERIP
Example:
qwinsta /server:AVMGR102 OR IP ADDRESS
You will get a list of the RemoteSessions in the command window.



Inthe above sceenshot we can clearly see an Active RDP session with the ID 3which belongs to the user Nagesh. In order to disconnect that user weare going to use the session ID. Use the following command line
to disconnectthe remote session.

rwinsta /server:SERVERIP SESSIONID
For example in order to terminatethe session of the Administrator user the following command should be given.
rwinsta /server:AVMGR102 3




Now let’s confirm if the user isreally disconnected. Just type in the qwinsta command inproper format.

As you can see our session with ID 3 is no longer there. Now for the user we just disconnected will see thefollowing message.


The remote session was disconnectedbecause you session was logged off at the remote computer. Your administratoror another user might have ended your connection.

No comments:

Post a Comment