Sarith's Blog

January 6, 2012

Mount ISO file

Filed under: Uncategorized — sarithvs @ 1:35 PM

I found a good software to mount ISO file from Explorer

http://www.pismotechnic.com/download/

Pismo File Mount Audit

January 1, 2012

Create vlans in GNS3 Switch

Filed under: Uncategorized — sarithvs @ 3:30 PM

If you are going to try the NM16-SW switch module in GNS3, the vlan commands are different from the normal switches. For this module you need to use the old vlan database command to configure vlans. Examples for how to configure vlans.   First create a VLAN by following command:

Router#vlan database

Router(vlan)#vlan 10

VLAN 10 added:     Name: VLAN0010

Router(vlan)#exit

APPLY completed. Exiting….

Now we can try the command to check your VLANS:

show vlan   Will give you the output:  % Ambiguous command:  “show vlan”

let’s try other command :

show vlans   Which will give you:  No Virtual LANs configured.

Now try the following command:  show vlan-switch   Which will give you:

Router#show vlan-switch

VLAN Name                             Status    Ports

—- ——————————– ——— ——————————-

1    default                          active    Fa1/0, Fa1/1, Fa1/2, Fa1/3

Fa1/4, Fa1/5, Fa1/6, Fa1/7

Fa1/8, Fa1/9, Fa1/10, Fa1/11

Fa1/12, Fa1/13, Fa1/14, Fa1/15

10   VLAN0010                         active

November 1, 2011

An error occurred during a call to Windows Management Instrumentation

Filed under: Exchange 2003 Articles — sarithvs @ 5:48 PM

When attempting to run a trace from withing the Message Tracking Center,

An error occurred during a call to Windows Management Instrumentation

ID no: 80041010
Exchange System Manager

 

1) Restart the WMI service and check whether we are able to perform Message tracking If the issue is still not resolved you need to follow the step

2) Follow the below steps to register the WMI dll’s

a. Click Start, click Run, type cmd in the Open box, and then click OK.

b. Change to the Exchsrvr\Bin directory.

c. At the command prompt, type the following commands. Press ENTER after each
command.

exmgmt.exe /uninstall
exmgmt.exe /install
regsvr32 /s exwmi.dll
regsvr32 /s cdowf.dll
regsvr32 /s cdowfevt.dll

d. Change to the Windows\System32\Wbem directory.

e. At the command prompt, type the following commands. Press ENTER after each  command.

rd /S /Q repository

regsvr32 /s %systemroot%\system32\scecli.dll

regsvr32 /s %systemroot%\system32\userenv.dll

 

mofcomp.exe -class:forceupdate C: \WINDOWS\system32\WBEM\exmgmt.mof

mofcomp.exe C: \WINDOWS\system32\WBEM\exwmi.mof

mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\wbemcons.mof

mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\smtpcons.mof

mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\msgtrk.mof

Note : The Msgtrk.mof file is included only in Exchange 2003 and in later versions

 

f. Click Start, click Run, type services.msc in the Open box, and then click OK.

g. In the Services snap-in, right-click Windows Management Instrumentation, and then click Restart.

or thy this

——————————————————————

sc config winmgmt start= disabled
net stop winmgmt
cd %windir%\system32\wbem
rename repository repository.old
sc config winmgmt start= auto
for /f %s in (‘dir /b *.dll’) do regsvr32 /s %s
for /f %s in (‘dir /b *.mof *.mfl’) do mofcomp %s
for /f %s in (‘dir /b *.mof *.mfl’) do mofcomp %s

cd *:\Exchsrvr\bin\
exmgmt.exe /uninstall
exmgmt.exe /install
regsvr32 /s exwmi.dll
regsvr32 /s cdowf.dll
regsvr32 /s cdowfevt.dll
cd %windir%\system32\wbem

mofcomp.exe -class:forceupdate C:\WINDOWS\system32\WBEM\exmgmt.mof
mofcomp.exe C:\WINDOWS\system32\WBEM\exwmi.mof
mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\wbemcons.mof
mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\smtpcons.mof
mofcomp.exe -n:root\cimv2\applications\exchange C:\windows\system32\wbem\msgtrk.mof

 

Configuring Additional DNS Servers in Windows Server 2008 & 2008R2 Core

Filed under: Knowledge Base — sarithvs @ 5:27 PM

netsh interface ipv4 add dnsserver name=”Local Area Connection” address=8.8.8.8 index=2
netsh interface ipv4 add dnsserver name=”Local Area Connection” address=8.8.4.4 index=2

Configuring the Primary DNS Server in Windows Server 2008 & 2008R2 Core

Filed under: Knowledge Base — sarithvs @ 5:26 PM

netsh interface ipv4 set dns name=”Local Area Connection” source=static address=192.168.1.1 primary

Configuring a Static IP Address in Windows Server 2008 & 2008R2 Core

Filed under: Uncategorized — sarithvs @ 5:25 PM

netsh interface ipv4 set address name=”Local Area Connection” source=static address=192.168.1.101 mask=255.255.255.0 gateway=192.168.1.1

October 25, 2011

Unable to remove additional delegated/associated mailbox from outlook 2010 – Exchange 2010 SP1

Filed under: Exchange 2010 Articles — sarithvs @ 4:43 PM

I tried all possible ways to remove additional mailboxes appear in outlook

When I tried to delete by right clicking the additional mailboxes I am receive this message

“This group of folders is associated with an e-mail account. To remove the account, click the File Tab, and on the Info tab, dick Account Settings. Select the e-mail account, and then dick Remove.”

 

After searching the net I found the way

We need to delete this from the ADS edit

Go into ADSIEdit.msc >>, Domain context, and drill down to the account you wish to be removed from the outlook and from the properties  and look for the  “MSExchDelegateListLink” attribute and remove  from that list. The next time you start
Outlook 2010, the ghost “additional” mailbox should disappear after a few minutes.

Note :- should take the properties of additional mailbox  appearing in the outlook   see the picture

October 22, 2011

Reserving a VTY Port for Administrative Access

Filed under: Cisco — sarithvs @ 1:17 PM

Problem
You want to prevent all of your VTY lines from being used up, effectively locking you out of the router.

Solution
we can ensure that at least one VTY port is available to you for access at all times with the following commands:

R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#access-list 2 permit 192.168.1.1
R1(config)#line vty 4
R1(config-line)#access-class 2 in
R1(config-line)#exit
R1(config)#end
R1#

we can also reserve a particular inbound telnet port for administrator access by assigning VTY(s) into a rotary group by using the rotary command:

R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#access-list 3 permit 172.25.1.1
R1(config)#line vty 5 10
R1(config-line)#rotary 25
R1(config-line)#access-class 3 in
R1(config-line)#exit
R1(config)#end
R1#

Ref:-http://fengnet.com/book/cisco.ios.cookbook.2nd/I_0596527225_CHP_3_SECT_16.html

 

October 21, 2011

Logging Synchronous while working in Cisco Router/Switch Console

Filed under: Cisco — sarithvs @ 2:16 PM

When we work on the Cisco Router, it would be frustrating to have the console or terminal (telnet/ssh) logs to pop in between your commands. This can be even more irritating when it is busy switch or a router spitting messages continuously.

We can log the messages to the console without interfering with your work  
To do this

Console

Router(config)# line con 0
Router(config-line)# logging synchronous

AUX Dial-in port

Router(config)# line aux 0
Router(config-line)# logging synchronous

Remote Terminal Sessions (Telnet/SSH)

Router(config)# line vty 0 4
Router(config-line)# logging synchronous

 

September 1, 2011

“your automatic reply settings cannot be display because the server is currently unavilable try again later”

Filed under: Exchange 2010 Articles,Uncategorized — sarithvs @ 2:14 PM

“your automatic replay settings cannot be display because the server is currently unavilable try again later”

AutodiscoverVirtualDirectory | Format-List

check the above website from internal or external, if there is an incorrect result. then the issue is related to the EWS virtual directory.

We can  recreate the EWS virtual directory with the following steps:

================

a. Open Exchange Management Shell, run command:

Remove-WebservicesVirtualDirectory -Identity “YourServerName\EWS (Default Web Site)”

b. Deleted the EWS virtual directory in IIS Manager.

c. Run command from EMC:

New-WebservicesVirtualDirectory -Path “c:\Program Files\Microsoft\Exchange Server\ClientAccess\Exchweb\EWS” -InternalURL ” https://webmail.domain-name.com/ews/exchange.asmx” -ExternalURL “https://webmail.domain-name.com/ews/exchange.asmx” -WindowsAuthentication $True

New-WebServicesVirtualDirectory

http://technet.microsoft.com/en-us/library/bb125176.aspx

d. Run command IISreset to restart IIS.

Next Page »

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.