Monday, 26 March 2012

Nagios 3.3.1 bug - Host stuck in scheduled down time
















Setup
Ubuntu: 10.04.4
Nagios: 3.3.1
Plugins 1.4.14

Host scheduled for downtime but downtime have exceeded and host is still stuck in downtime.
Unable to get host out of the downtime

RESOLUTION

Remove Host from Nagios complete, do a reboot, recreate host - this was the only way I could get my host from being stuck in a downtime situation.


Friday, 23 March 2012

Windows 7 Remote Administration Tools

(Taken from the Technet site - for my reference only)


Instructions

Installing Remote Server Administration Tools for Windows 7 with SP1


You must be either a member of the Administrators group on the computer on which you want to install the Administration Tools pack, or you must be logged on to the computer by using the built-in Administrator account.

Important: Remove all versions of Administration Tools Pack or Remote Server Administration Tools from the computer before installing Remote Server Administration Tools for Windows 7 with SP1.

Important: Only one copy of Remote Server Administration Tools for Windows 7 with SP1 can be installed on a computer at one time. Before you install a new package, remove any existing copies of Remote Server Administration Tools for Windows 7 with SP1. This includes any copies that are in different languages. To remove existing copies of Remote Server Administration Tools for Windows 7 with SP1, see Removing the complete Remote Server Administration Tools for Windows 7 with SP1 pack on this page.

1. On a computer that is running Windows 7 or Windows 7 with SP1, download the Remote Server Administration Tools for Windows 7 with SP1 package from the Microsoft Download Center.

2. Open the folder into which the package downloaded, double-click the package to unpack it, and then start the Remote Server Administration Tools for Windows 7 with SP1 Setup Wizard.

Important: You must accept the License Terms and Limited Warranty to start to install the Administration Tools pack.

3. Complete all installation steps in the wizard, and then click Finish to exit the wizard when installation is finished.

4. Click Start, click Control Panel, and then click Programs.

5. In the Programs and Features area, click Turn Windows features on or off.

6. If you are prompted by User Account Control to enable the Windows Features dialog box to open, click Continue.

7. In the Windows Features dialog box, expand Remote Server Administration Tools.

8. Select the remote management tools that you want to install.

9. Click OK.

10. Configure the Start menu to display the Administration Tools shortcut, if it is not already there.

• Right-click Start, and then click Properties.

• On the Start Menu tab, click Customize.

• In the Customize Start Menu dialog box, scroll down to System Administrative Tools, and then select Display on the All Programs menu and the Start menu. Click OK. Shortcuts for snap-ins installed by Remote Server Administration Tools for Windows 7 with SP1 are added to the Administrative Tools list on the Start menu.

Windows 2008 R2 DHCP MAC Filtering

MAC Filtering using DHCP in Windows 2008 R2

Setting up White-listing in DHCP for MAC Filtering

1. Click on all the current leases - and select "ALLOW"



2. Then click on the Filters and enable the "ALLOW" list - this will setup and enable white-listing





Command Line Support of DHCP MAC Address filtering

netsh dhcp server v4 set filter [enforceallowlist=1|0] [enforcedenylist=1|0]

example:

netsh dhcp server v4 set filter enforceallowlist=1



Tuesday, 20 March 2012

Windows 2008 R2, Printer OFFLINE

When a print queue is deleted Windows fail to clear a registry setting and even though the printer is online its listed as OFFLINE.

Things to try:

1. Restart print spooler
2. Restart printer (for a few minutes)
3. Reboot Workstation
4. Re-add printer to workstation

Tuesday, 6 March 2012

That wicked word "WSUS" - Installation/Uninstallation tragedies

My Guide to WSUS.... after wasted hours getting it up or removing it....

Installation Issues

WSUS install on Server 2008 R2 - Installation failed the update could not be found there may be a network connection issue.

  1. Remove WSUS from the GP
Checking if WSUS being pushed out via the GP

regedit - Local Machine/Software/Policies/Microsoft/Windows/WindowsUpdate
Check WSUServer entry

2. run gpupdate /force

3. Make sure there isn't a WSUS server running anywhere else.

REMOVAL issues

Fatal Error 0x80070643 when trying to run uninstall
  1. Use windows uninstaller to remove.
  2. From Command prompt: net stop wsusservice, net stop wsuscertserver
  3. From Command Prompt: sc delete wsusservice, sc delete wsuscertserver
  4. Uninstall IIS & WSUS 
  5. Reboot

Friday, 2 March 2012

WSUS - Client Side Troubleshooting

gpresult.exe from command prompt to find out computer and user config

 Run WUAUCLT /DETECTNOW and GPUPDATE /FORCE

Reboot client. Log back again.

Now go to HKEY_Local_Machine\Software\Policies\Microsoft\Windows\Windows Update