I have a few customers with SBS 2011 and this is now shipping with Sharepoint Foundation Server 2010. When you perform Windows Updates on SBS 2011 it will no longer upgrade the Sharepoint Databases automatically for you and as a result you can leave your Sharepoint Databases in a unsupported state. This when you see the Event ID 2137 in the application log.
So here is what you need to do.
Patching SharePoint is a two-step process. The updated binaries are first installed and then psconfig must be run to update the SharePoint databases. SBS 2008 uses Windows SharePoint Services 3.0 and updates automatically run PSconfig when installed via Automatic Updates or Windows Server Update Services. SharePoint Foundation 2010 changes the method in which patches are installed. PSconfig no longer runs automatically after an update is installed. The SharePoint binary files are updated with the patch but the databases are not automatically upgraded. SharePoint runs in a compatibility mode that still allows the sites to function with the older version databases. The SharePoint Health Analyzer will scan the databases every night at midnight to determine if an upgrade is required. If the SharePoint Health Analyzer detects an upgrade is required, it will log the following error in the application event log:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Event ID: 2137
Task Category: Health
Level: Error
User: CONTOSO\spfarm
Computer: CONTOSOSERVER.contoso.local
Description: The SharePoint Health Analyzer detected an error. Product / patch installation or server upgrade required. All required products must be installed on all servers in the farm, and all products should have the same patching and upgrade level across the farm.
Upgrade is required on server CONTOSOSERVER. Without the upgrade, the server is not in a supported state.
On server CONTOSOSERVER, once all required products and/or patches are installed, perform an upgrade by either running PSConfigUI.exe or by executing the command "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures". If a former upgrade attempt has failed, you may need to resolve upgrade specific issues before attempting upgrade again. Refer to the upgrade status page (http://contososerver:19158/_admin/UpgradeStatus.aspx) for information about current and prior upgrade attempts, and to determine issues that may be preventing upgrade from succeeding. For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142700".
In order to update the SharePoint databases, you must manually run the PSconfig utility. To run the utility:
1. Open an Administrative command prompt.
2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
3. Run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
Note: The Companyweb site will be inaccessible while the command is running. It is best to run the command after business hours. The amount of time the command takes to run will vary on the size of the database and the speed of the machine. On a reference machine with 8 logical processors, 32GB of RAM and a 2GB content database, the command took approximately 5 minutes to execute.
The SharePoint configuration wizard will launch and perform the configuration tasks. When the command is finished, you should see the following message:
Successfully completed the SharePoint Products configuration.
Total number of configuration settings run: 6
Total number of successful configuration settings: 6
Total number of unsuccessful configuration settings: 0
Successfully stopped the configuration of SharePoint Products.
Configuration of the SharePoint Products has succeeded.
For additional information on SharePoint Foundation 2010 patches see the following TechNet site: http://technet.microsoft.com/en-us/library/ff806326.aspx
Search This Blog
Sunday, 7 August 2011
Tuesday, 5 July 2011
Disable SSL 2.0 for PCI Compliance
If you need to switch off SSl 2.0 on an ISA Server for a PCI Compliance Scan this is quite simple to do. First you can switch off PCT and then SSL 2.0
Click Start, click Run, type regedt32 or type regedit, and then click OK.
In Registry Editor, locate the following registry key:
HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols\PCT 1.0\Server
On the Edit menu, click Add Value.
In the Data Type list, click DWORD.
In the Value Name box, type Enabled, and then click OK.
Note If this value is present, double-click the value to edit its current value.
Type 00000000 in Binary Editor to set the value of the new key equal to "0".
Click OK. Restart the computer.
Perform the same change for the SSL 2.0 key
Click Start, click Run, type regedt32 or type regedit, and then click OK.
In Registry Editor, locate the following registry key:
HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols\PCT 1.0\Server
On the Edit menu, click Add Value.
In the Data Type list, click DWORD.
In the Value Name box, type Enabled, and then click OK.
Note If this value is present, double-click the value to edit its current value.
Type 00000000 in Binary Editor to set the value of the new key equal to "0".
Click OK. Restart the computer.
Perform the same change for the SSL 2.0 key
Tuesday, 7 June 2011
Small Business Server Migration Limit
When you are migrating to SBS Server 2008 or 2011 and you have 21 days to complete the migration you can sometimes find that this is not enough, working in Managed Services means you can often run out of time due to other issues and it is nice to have as long as you need to make the transition.
You can stop the SBCore Service from shutting down your old SBS 2003 Server after 21 days by making some simple changes to the server in advance.
The shutdown is controlled by the SBCore Service, this is locked down so that you cannot use the MMC to stop the service and if you kill the process it will restart within a minute or so. So you have to use a few tools to make this work, the first is to get Process Explorer from SysInternals.
This is a valuable tool to have anyway and I highly recommend getting a copy here http://bit.ly/fzWyfq
Once you have Process Explorer you can find the process and suspend it, we can now edit the registry and change how the service operates.
Using regedit you can find the key
HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\SBCORE
Change the permissions on the key so that the Administrators group has Full Access and then you can see the DWORD options for the key.
Find the DWORD Start and change the value to "4". This will place the Service in a disabled state.
Once complete then browse to the SBCore EXE file which is c:\windows\system32\sbscrexe.exe and change the permissions so that Everyone is denied all permissions. This will stop the file from being ran again.
Once complete the server will not restart after 21 days and you have as long as you need to migrate that server.
You can stop the SBCore Service from shutting down your old SBS 2003 Server after 21 days by making some simple changes to the server in advance.
The shutdown is controlled by the SBCore Service, this is locked down so that you cannot use the MMC to stop the service and if you kill the process it will restart within a minute or so. So you have to use a few tools to make this work, the first is to get Process Explorer from SysInternals.
This is a valuable tool to have anyway and I highly recommend getting a copy here http://bit.ly/fzWyfq
Once you have Process Explorer you can find the process and suspend it, we can now edit the registry and change how the service operates.
Using regedit you can find the key
HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\SBCORE
Change the permissions on the key so that the Administrators group has Full Access and then you can see the DWORD options for the key.
Find the DWORD Start and change the value to "4". This will place the Service in a disabled state.
Once complete then browse to the SBCore EXE file which is c:\windows\system32\sbscrexe.exe and change the permissions so that Everyone is denied all permissions. This will stop the file from being ran again.
Once complete the server will not restart after 21 days and you have as long as you need to migrate that server.
Monday, 9 May 2011
Enable Local Drives in SBS 2008 Remote Web Workplace
By default when you connect to a remote computer using Remote Web Workplace in SBS 2008 the option to connect back to your local drives is missing. This can be easily added back as follows
Browse to C:\Program Files\Windows Small Business Server\Bin\webapp\Remote\tsweb.aspx and make a backup of this file if required.
Next opne an elevated copy of Notepad and open the tsweb.aspx file.
Search through the file for the following setting and change it to TRUE.
MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE
Browse to C:\Program Files\Windows Small Business Server\Bin\webapp\Remote\tsweb.aspx and make a backup of this file if required.
Next opne an elevated copy of Notepad and open the tsweb.aspx file.
Search through the file for the following setting and change it to TRUE.
MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE
Friday, 29 April 2011
Fake Anti Virus Applications and how to remove them
I often get customers who have had a drive by download and end up with a fake Anti Virus application on their PC, this usually pops up windows all over the screen and we get a support call to get rid of it. The usual culprits are users who have to be administrators but it is not always the case, if its Windows XP then anyone is pretty much at risk.
So the key to these is to find the rogue task in Task Manager, you can usually spot it because it has a description that is poorly written, it will repeat the exe name or will have no description. Find the exe and terminate the process and the fake Anti Virus should close, now you know you have the right file.
Search the registry for this file name and you should find the two registry keys for Open Shell are listed with the exe location and path appended to the open command on any shell or exe.
•HKEY_CLASSES_ROOT\exefile\shell\open\command
•HKEY_CLASSES_ROOT\comfile\shell\open\command
The default value for each of these should be "%1" %*
If your value contains the malware exe path, reset the path here and then delete the exe file.
You should now find the fake Anti Virus malware is removed.
So the key to these is to find the rogue task in Task Manager, you can usually spot it because it has a description that is poorly written, it will repeat the exe name or will have no description. Find the exe and terminate the process and the fake Anti Virus should close, now you know you have the right file.
Search the registry for this file name and you should find the two registry keys for Open Shell are listed with the exe location and path appended to the open command on any shell or exe.
•HKEY_CLASSES_ROOT\exefile\shell\open\command
•HKEY_CLASSES_ROOT\comfile\shell\open\command
The default value for each of these should be "%1" %*
If your value contains the malware exe path, reset the path here and then delete the exe file.
You should now find the fake Anti Virus malware is removed.
Thursday, 28 April 2011
Windows 2008 Boot.ini
A good point to note is that Windows 2008 Server does not use the boot.ini file anymore to determine which partition to boot from. This is now all completed via the command line utility bcdedit.exe
For example if you need to rename your primary boot partition to be displayed when Windows starts you can use this command
bcdedit /set {current} description "Windows 2008 Server Primary"
There is a lot more to this utility but worth knowing that it is there!
For example if you need to rename your primary boot partition to be displayed when Windows starts you can use this command
bcdedit /set {current} description "Windows 2008 Server Primary"
There is a lot more to this utility but worth knowing that it is there!
Monday, 11 April 2011
Upgrade DSL firmware on a Cisco Router
I had to upgrade the firmware on a Cisco 877 recently so thought I would outline the best way to do this.
Firstly download your ADSL firmware from Cisco, you will need a Smart Net Contract for this. The file will be something like adsl_alc_20190.3.0.017.bin
Next you need to TFTP the file to the router, I use a basic TFTP Server and save the file in the root of the flash, you may notice there is not an existing firmware file for the routers current firmware. This is normal if you have an embedded firmware with the IOS, you can check this with the show version command and then look for the output for F/W and see if it is set to embedded.
Once you have TFTP the file to the Cisco you can then rename it removing the version number part
adsl_alc_20190.3.0.017.bin is renamed to adsl_alc_20190.bin
Then you reboot the router and the firmware is loaded.
Firstly download your ADSL firmware from Cisco, you will need a Smart Net Contract for this. The file will be something like adsl_alc_20190.3.0.017.bin
Next you need to TFTP the file to the router, I use a basic TFTP Server and save the file in the root of the flash, you may notice there is not an existing firmware file for the routers current firmware. This is normal if you have an embedded firmware with the IOS, you can check this with the show version command and then look for the output for F/W and see if it is set to embedded.
Once you have TFTP the file to the Cisco you can then rename it removing the version number part
adsl_alc_20190.3.0.017.bin is renamed to adsl_alc_20190.bin
Then you reboot the router and the firmware is loaded.
Subscribe to:
Posts (Atom)