Wednesday, 16 September 2009

Procurve Switch 2610 - Log downloads using TFTP



Download TFTPD32

run the executable

Telnet to a server (using Putty

Switch# en
Switch# copy command-output 'show tech all' tftp YourIPAddress logfilename.txt

Once this is completed you will find the logfilename.txt where you've downloaded the TFTPD32

Thursday, 10 September 2009

BES sending email to only a few blackberrys


See how some devices have messages pending and others not?
See also the last contacted time

Do a hard reset on the Blackberry

Remove the battery while the blackberry is still turned on - remove sim
Leave off for 5min
Startup

Blackberry hard reset actually restarts the blackberry properly - a shutdown from the (on/off) button won't restart it, it will only place the blackberry in a sleep mode.

This hard reset will force the blackberry to go back onto the network, as a reset don't leave the network properly.

CONTACT Service Provider and found out that 50% of their network is down.

BES Logs

c:\Program Files (x86)\Research in Motion\Blackberry Enterprise Server\Logs\

Exchange 2007 - Free/Busy not updating


Open PowerShell and use the following command:

Get-PublicFolder -Server yourservername "\non_ipm_subtree\SCHEDULE+ FREE BUSY" -recurve | Format-List

Run the following commands if you wish to add the replicas:

Set-PublicFolder -Identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=Company/ou=First Administrative Group" -Replicas "exchsrvr\Public Folder Database"

Set-PublicFolder -Identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=Company/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)" -Replicas "exchsrvr\Public Folder Database"


Once done:

OUTLOOK.EXE /cleanfreebusy (this will force Outlook to update immediately instead of waiting to be updated)

BES Problems - MSExchangeSA

BES Stopped sending emails to all blackberry devices at approx 1am this morning.

Exchange Server was restarted as well as BES (all services)

No apparent events in eventviewer - but this:

After restarting the Global Catalog Server - the blackberry server started to work.
Lesson: Don't just look at eventlog relating to the problem but look at a wider scope.

Further Information - What is NSPI and how does it work?

NSPI - Name Service Provider Interface

Monday, 7 September 2009

Reparing Corrupt Databases

Download LM2000 from http://sommestad.com/LM_2_1.htm (this is your freeware BDE (Borland) files)

Download Tutil32 from http://sommestad.com/LMP_3_8.htm

Download tutil32.dll and copy to c:\windows\system32\

Run Dtutil32 - select database - verify & rebuild

http://sommestad.com/LMP_3_8.htm

Friday, 4 September 2009

Firebox - CLI

SSH to your firebox ip address using port 4118

username admin:
password: your write password

config

interface ?

update AV

(config)# signature force-update AV

Thursday, 3 September 2009

Forcing Client to sync with WSUS

I downloaded the unixutils from Sourceforge
http://sourceforge.net/projects/unxutils/

I got this following command from a very nice blog:

net stop wuauserv

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /fnet start wuauservwuauclt /detectnow

Then use the tail.exe -f command - to monitor the log file

Tail -f c:\windows\windowsupdate.log

MSAccess 97 Out of memory Error Mesasge


Load 2 updates:
Office 97 service Release 1 (SR-1)
Office 97 Service Release 2 (SR-2)

Wednesday, 2 September 2009

Setting up Wamp Server and MediaWiki

Download Media wiki from http://www.mediawiki.org/wiki/Download

Download & Install WampServer 2 from http://www.wampserver.com/en/download.php

After the wamp installation click on the wamp icon in the tray

Please note that the Apache server needs to use port 80 and will not run if IIS is currently in use on the machine.

Install Apache, Mysql services (you will have to stop the service then do the install)

Copy the extracted media wiki into a folder called mywikipedia and copy into c:\wamp\www

Open http://localhost/mywikipedia and click on the install


My wiki configuration


Remember the mysql root pwd is by default blank.

To complete the installation, move config/LocalSettings.php to the parent directory. >> goto c:\wamp\www\mywikipedia\config\ and copy the localsettings.php to c:\wamp\www\mywikipedia\





Exchange 2007 - change DL-Group from non-universal to universal


Right click on the distribution group - select convert
I had to add a user that was on my Exchange server in Sydney to this group in LHR. So what I had to do was I added the user as a contact in Exchange "Contacts" and in the Active Directory "dsa.msc" as a contact - then added him to this distribution group.

A very good test before sending test message is to open an email - add the new distribution list to the email - open to see all members of the distribution group and check the very last added user to see whether you can see that users email address information.



Exchange 2007 Shell - Add user to distribution group

Add-DistributionGroupMember -Identity "Marketing Managers" -Member adam@contoso.com

Tuesday, 1 September 2009

WatchGuard (Firebox) Manager




Open WatchGuard System Manager


You can either right click and select the various components or you can click on the icons on the toolbar or you can click on Tools from the menu bar.




Below is a screenshot of the Watchguard System Manager:



Click on Connect to Device: (the little red icon with a down arrow)

Policy manager click on the (triangle)






Host Watch





To view a specific host - double click on the host name on the left hand side

A quick view of the policy manager




Sernum.vbs - Getting the serial number of a remote PC

Copy the following to a notepad file


ComputerName = InputBox("Machine Name To Query")
winmgmt1 = "winmgmts:{impersonationLevel=impersonate}!//"& ComputerName &""Set SerialN = GetObject( winmgmt1 ).InstancesOf ("Win32_BIOS")
For each Serial in SerialNMsgBox "Serial Number: " & Serial.SerialNumberNext


Safe as sernum.vbs - doubleclick to run - enter machine name and press ok/enter