IIS7 GUI Backup and restore menu


In Windows 7 or 2008R2 by default the IIS backup and restore GUI is not available after successful installation of IIS.

To enable GUI for this please do the procedure given below.

To add this module in your IIS 7 manager follow the below steps:

  1. Download the zip file containing the IIS7BackupRestoreUI.dll from http://dl.dropbox.com/u/88281238/IIS7BackupRestoreUI.dll  and save the file in c:\windows\system32\inetsrv.

2. From inetsrv folder Drag and Drop the IIS7BackupRestore.dll into the Global Assembly Cache (C:\Windows\assembly) or use GacUtil -i IIS7BackupRestore.dll to install it to the GAC.

You can download gacutil.exe in http://dl.dropbox.com/u/88281238/gacutil.exe

  1. Under File Menu, browse for the file %WinDir%\System32\InetSrv\config\Administration.config.
  2. Search for the <moduleProviders> section and add the following

<add name=”IIS7BackupRestoreUI” type=”IIS7BackupRestoreUI.MyModuleProvider, IIS7BackupRestoreUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=db9daa3d2ea5f6fd” />

  1. Search for the <modules> section and add the following

<add name=”IIS7BackupRestoreUI” />

  1. Open Inetmgr and You will see the module listed in your IIS 7 Manager if you would’ve followed the above steps properly.

 

 

 

 

 

Windows 7 Tips and tricks


In Windows 7 there are more features available few of them are listed below.

  1. To open a command prompt from a folder available in GUI. This can be achieved by, press the shift button and rightclick the folder. You will get a menu open command window from here.

 

 

 

2. In Win7 if an application hangs for some reasons or to know the application status for hanging. Performance monitor has some features to analyse the application status. In the overview menu please select the application which hangs and right click, select analyse wait chain. It will show the process tree of the application and the information of hanging.

 

 

 

3. God view control panel in Win-7: To view control panel in hierarchy please do the following.

a. Create a new folder and name the folder as Everything.{ED7BA470-8E54-465E-825C-99712043E01C}, the folder icon will be changed as control panel. Please find the screenshot below

 

 

 

4. In Win7 calculator some interesting features are

 

 

 

Error message: The file is too large for the destination file system


Today I come across a problem which is unusual to me.  I have a pendrive which is 8GB usable capacity and when I try to copy a 4.5GB data it fails. It gives an error “The file is too large for the destination file system”. I have Windows 7 OS installed.

Solution:

To overcome this problem, my pendrive has the filesystem of FAT32. When I convert the filesystem to NTFS the problem solves.

Eg:   Enter into command prompt with admin privilege, convert <drive> /fs:ntfs /nosecurity (<drive should be the drive letter of your external hard drive, for example convert F: /fs:ntfs /nosecurity )

Ref : http://answers.yahoo.com/question/index?qid=20090715154046AAZFPBc

http://www.windowsitpro.com/article/file-systems/understanding-file-size-limits-on-ntfs-and-fat

 

E: Syntax error /etc/apt/apt.conf:4: Extra junk at end of file


Error Scenario: When you do apt-get update in ubuntu you got the following error ” E: Syntax error /etc/apt/apt.conf:4: Extra junk at end of file” after configuring proxy in /etc/apt/apt.conf

Solution:

The solution for the above problem is you may forget to make a “;” at the end of the line.

Eg:

Wrong syntax: Acquire::http::proxy “http://192.168.96.0:808/”

Correct syntax: Acquire::http::proxy “http://192.168.96.0:808/”;

Proxy configuration settings in Ubuntu


Scenario: To configure proxy setting in cli (apt-get)

Solution:

The following are the files to be created and edited in the appropriate folder path.

Step1: Create a file apt.conf in the directory /etc/apt/

*Type the required file

Acquire::http::proxy “http://192.168.96.0:8080/”;

Acquire::https::proxy “https://192.168.96.0:8080/”;

Acquire::ftp::proxy “ftp://192.168.96.0:8080/”;

Please enter your own environment proxy configuration in the apt.conf file

Step2: Edit the file /etc/environment and make a similar entry mentioned above.

Step 3: Edit the file /etc/wgetrc and uncomment the proxy settings; configure your environment proxy settings in wgetrc file.

Step4: Copy the file apt.conf  to /etc/apt.conf.d and move the file to 02proxy ($sudo mv apt.conf 02proxy)

Step5 : In GUI network proxy make the configuration manual and give the appropriate proxy ipaddress and the port.

Then try apt-get update; it works.

Subnet calculator in linux


There are different tools available in linux for calculating subnet.  Among these 3 are populars.

  1. IPcalc
  2. Sipcalc
  3. Whatmask

 IPCalc: Ipcalc provides a simple way to calculate IP information for a host. To install ipcalc

$ sudo apt-get install ipcalc

Please find the example below

 

 

Sipcalc: Sipcalc is an advanced console-based IP subnet calculator. It can support both IPv4 and IPv6.

To install Sipcalc  $ sudo apt-get install sipcalc

Please find the example below.

 

 

 

Whatmask: Whatmask will echo back the following:

  • The netmask in the following formats: CIDR, Netmask, Netmask (Hex) Wildcard Bits
  • The Network Address
  • The Broadcast Address
  • The number of Usable IP Addresses
  • The First Usable IP Address
  • The Last Usable IP Address

To install whatmask  download the application from the url : http://downloads.laffeycomputer.com/current_builds/whatmask/whatmask-1.2.tar.gz and configure it.

Please find the example below.

 

 

 

 

DNS and AD Integration


Scenario:

When you install DNS service and then planned to implement AD (active directory) in the same server, the DNS and the active directory domain will not be integrated.

Solution:

To integrate DNS and active directory please do the following procedures.

  1. Go to DNS server and then select forward lookup zones.
  2. Right click the domain name and then select properties.
  3. In the general menu you will see the option type and select change; you will be prompted to change type zone.
  4. Tick the option store the zone in active directory as available in the screenshot.

 

 

 

 

 

 

 

 

 

 

5. The same config is applicable in the reverse lookup zone also.

 

 

 

 

6. Check in the LAN whether DNS address is properly configured.