Google Ads

Accessing Companyweb from the Server Itself after 963027 or Windows 2008 SP 2

I came across an issue on SBS 2003 and SBS 2008 accessing http://companyweb on the server, after installing the cumulative security update for Internet Explorer (963027 or 969897) or Internet Explorer 8.0 or Windows Server 2008 Service Pack 2.

To fix the problem

SBS2003

On an SBS 2003 server this issue can be fixed by applying update KB961143.

Note: You must have .NET Framework 2.0 installed before you apply this update.

SBS2008

On an SBS 2008 server this issue can be fixed by applying SBS 2008 Update Rollup 2 (960911).  This update is now available on Microsoft Update and WSUS.

Or you can use this method KB963027

Cannot resolve names in top level domains like .co.uk

I came across this the other day when trying to access a site that was in the top level domain .it, at first i just thought the site was down as other sites where working OK, but the site worked if I used my laptop which was accessing the net via 3g therefore different DNS servers, i then came across this article after a bit of searching KB968372

Essentially what happens is when the DNS server saves the NS record the TTL (Time To Live) for the A record is changed to be 1 day, But  TTL for the NS Record stays at 2 days. When the A record expires the DNS server starts returning SERVFAIL therefore it wont display the website.

Workarounds include restarting DNS, clearing the DNS cache, using DNS forwarders instead of root hints and setting maxcachettl to 2 days or greater, i wanted root hints to work correctly to stop ant problems with the isp DNS servers affecting our internet so i altered the maxcachettl settings.

1.    Start Registry Editor (regedit.exe).

2.    Locate the following registry key:

3.    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters

4.    On the Edit menu, click New, click DWORD (32-bit) Value, and then add the following value:

  • Value: MaxCacheTTL
  • Data Type: DWORD
  • Data value: 0x2A300 (172800 seconds in decimal, or 2 days)

5.    Click OK.

6.    Quit Registry Editor.

7.    Restart the DNS Server service.

In IE6 open a new window every instance

One i can never remember how to do is open a new instance of IE6 whenever a you double click a link, instead of it opening in the same window and losing the site you where on at the time. Because this was before tabs where invented.

In Internet Explorer click tools, options go to the browsing section and untick Reuse windows for launching short cuts click apply OK etc.

CA eTrust ITM detecting stdwin32

What a nightmare i have had with this program today! it has been detecting the stdwin32 virus in seeming ramdon files exe’s and dll files, in varying programs iris practice software and autocad to name a few.

Thankfully the av isn’t setup to delete files it detects with a virus if it can’t clean them i learnt that lesson the hard way.

It seemed to begin when the av definitions where updated to 33.3.7051 version 34.0.6674 seems to correct the problem.

System restore from the recovery console (sort of)

I needed to run a system restore on a windows xp pc the other day but the system wouldn’t boot into to normal or safe mode so i needed to run a system restore from dos i found an article to recover from a corrupted registry that prevents xp from booting. KB307545

To restore the registry boot from the windows xp cd at start the recovery console when prompted then type the following commands.

md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

then reboot and hope it starts this obviously doesn’t replace any system files like a true system restore does but hopefully it will let the system start.

Home Server 2008

We have had Windows Home Server 2008 in our action pack for quite a while now but haven’t really paid much attention to it, so I decided to see if it links in with Media Centre and what exactly it can do, with the release of Power Pack 2 for Home Server, Microsoft have added the ability for it to link with Media Centre i would have thought this would have been a good idea from the outset but never mind the facility is there now.

I installed Home Sever into a vm on my Hyper-V machine all went very smoothly as expected because Home Server seems to be a modified version of SBS 2003 without Exchange 2003 but with some added extras such as a backup facility that will automatically backup any machine that you connect to the server.

It also unique way of pooling hard drives to make it  look like they are part of one big drive a bit like raid but not redundant by default, although you can add extra drives to act as secondary drives so the server can create automatic backups of your files.

Now depending on how many files you have and how many pc’s you have being backed up as you can imagine this can start to use a lot of storage but adding extra storage is easy enough you just put the new drive into the system or plug in an external drive and add it to the pool, the server sorts the rest out.

I have decided to use Home Server as my main media server for my home mainly because of the storage pool and the client computer backup facility now that it integrates with media centre

Vista Media Centre Library Problem

I had a bit of a strange problem with the library in VMC it started to display folders that I had not added for example the root of c: and my music was being displayed in the videos section, I tried to remove all folders from within media centre and also from within media player but random folders still started to appear.

So I thought their might be a problem with the database but their is no obvious way with media player to repair or delete it, this needs to be done manually.

Clear all watched folders from WMP 11
Clear all libraries in VMC
Delete all files from c:\Users\[username]\AppData\Local\Microsoft\Media Player (where the database is located)
Re-Set up libraries in VMC

Hyper-V R2 RC Upgrade

I decided i was going to upgrade my copy of Hyper-V server R2 Beta over the weekend to the RC version, after checking the Microsoft website for any possible repercussions it seemed to suggest it was a simple upgrade, so after some full backup of the guest operating systems (always a wise move before making any changes) i shut down the os’s and put the disk in and ran setup.

It went throught the usual install routine copy files, expanding files etc and then rebooted, all seemed ok accept after a few minutes when i would normally be able to access my server, nothing, oh for god’s sake was the first thing that ran through my mind, and out of my mouth for that matter.

But a quick look in Hyper-V manager revealed it couldn’t find 2 passthrough drives, although they were still in the list so i simply selected them again and hit start and it began to boot, i didn’t look into the problem at any depths i was just glad it started working, but the only thing i noticed was the drives were both 500gb Samsung hard drives.

Could not start the BlackBerry MDS on Local Computer. Error 203: The system could not find the environment option that was entered.

Today on one of our servers one of our users reported that there Blackberry had stopped receiving emails, when i looked at the service i noticed the blackberry router and MDS service had stopped, the router restarted ok but the MDS service kept saying

‘Could not start the BlackBerry MDS on Local Computer. Error 203: The system could not find the environment option that was entered.’

After a little searching i found out it was down to the Blackberry Enterprise Server was not pointing to jvm.dll possibly due to a resent Java JRE upgrade.

The solution was to point it to the correct location in the registry. Taken from the Blackberry Knowledge Base KB04329

To resolve this issue, complete the following steps:

  1. Open the Registry Editor.
  2. Go to the registry key listed above to check for the ImagePath string value.
  3. If the ImagePath string value does not exist, repair the BlackBerry Enterprise Server installation through Add/Remove Programs. This updates the BlackBerry Mobile Data Service registry keys. For more information, see the BlackBerry Enterprise Server Installation Guide.Note: For BlackBerry Enterprise Server software version 4.1.3 to 4.1.6, the option to repair is not available. Re-apply the service pack to replace the registry key.

    If the ImagePath string value exists, double-click it and type the correct path to the jvm.dll file in the Value data field, as shown in the following example for BlackBerry Enterprise Server software version 4.1:

    “C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe” -s jvmpath=”C:\Program Files\Java\<JRE folder>\bin\client\jvm.dll” -XX:+DisableExplicitGC-Xss64K -Xmx256M -Xms96M -XX:NewSize=32M -XX:MaxNewSize=96M-XX:NewRatio=2 classpathdir=”C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\” wrkdir=”C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\Servers\<server_name>\\” webserverdir=”C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\” -log.console -rbes “<server_name>”

    where <server_name> is the name of the BlackBerry Enterprise Server MDS Connection Service and <JRE folder> is the name of the JRE folder located in C:\Program Files\Java\.

  4. Press ENTER and close the Registry Editor.
  5. Restart BlackBerry MDS from the Windows administrative tools.

Unable to access ftp site from a client machine on an SBS 2003 network

I have just come across a strange problem accessing ftp site via ie7 on a client machine on an SBS 2003 nework specifically the companies house website, when the client right tried to right click and save as they would get ‘The connection the the server has been reset’ error message and the good old this page cannot be displayed when trying to browse the ftp site.

On their particular setup they have a adsl modem connected to the 2nd nic on the sbs server so all the internet traffic is routed via the server.

The solution was to disable Receive Side Scaling on the Server (Broadcom) nic not the internet nic i right clicked the Local Area Connection and clicked properties,click configure next the to the networ adaptor, click the advanced tab, choose Receive Side Scaling and set to disable, (Warning this temporarily disconnects the server from the network).

After a little bit more research on this problem i came across a KB article on the subject appearently it effects serveral versions of Windows server 2003 SP1 & SP2 and SBS 2003 & R2, in this article Microsoft suggest disabling RSS via a registry key although i have not tried this solution. KB927695