Saturday, September 28, 2013

How to install and run the SharePoint (MOSS 2007 and WSS 3.0) Best Practices Analyzer (BPA)

How to Install and Run Best Practice Analyzer (BPA)

1. Run the executable and extract to a folder e.g. C:\SPBPA
2. Open command prompt:
3. cd SPBPA 
4. sharepointbpa.exe -cmd analyze -substitutions SERVER_NAME name_of_your_server
Note: the ‘SERVER_NAME’ is not *your* server name, that is the syntax telling it you about to specify a server – note that text needs to be in upper case too.

Otherwise, you will got the following errors:

Error (The network path was not found) opening registry key reg:/%SERVER_NAME%/HKEY_LOCAL_MACHINE/SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB\, skipping object.

Reference:
http://www.brainlitter.com/2008/03/06/how-to-install-and-run-the-sharepoint-moss-2007-and-wss-30-best-practices-analyzer-bpa/ Print Friendly and PDF
Share/Bookmark

Windows Server 2003 DC health check command

The following command will useful for 2003 DC health check:

1. dcdiag.exe /v /f:dcdiag_servname.txt
2. dcdiag.exe /test:dns /v /f:dcdiagdns_servername.txt
3. repadmin /showrepl > replication_servername.txt
4. repadmin /replsum /errorsonly > replicationerr_servername.txt
 
dcdiag.exe
Health check for DCs and/or services assoicated with it.
 
dcdiag.exe /test:dns
Let me know DNS health status
 
repadmin /showrepl
This shows all my replication and if it was successful or not. Just be aware that Global Catalogs will have more infor here than a normal domain controller.
 
repadmin /replsum /errorsonly
This is one takes a long time but will let you know who you are having issues replication with.
 
PS: Please verify on test system before running on production.
 
Print Friendly and PDF
Share/Bookmark

SCOM 2007 SP1 maintenance mode history

To get maintenance mode history, you will need to use SSMS to run the following query to check those maintenance mode history which is available in the OperationsManager database or DW:

select * from dbo.vMaintenanceModeHistory

 

Reference:

http://blogs.technet.com/b/kevinholman/archive/2009/06/05/maintenance-mode-tying-the-text-of-the-category-to-the-database.aspx

http://www.greypixel.nl/?p=209

Print Friendly and PDF
Share/Bookmark

Thursday, September 12, 2013

Where can I find the product key on a preinstalled version of Windows 8?

1. Go to http://rweverything.com/download/ and download RW-EVERYTHING.

2. Run it.

3. Click on the ACPI Table button at the top. After that click on the MSDM tab. Your BIOS's product key is at the bottom like the following:

image

Reference: http://forums.lenovo.com/t5/Windows-8/Where-can-I-find-the-product-key-on-a-preinstalled-version-of/td-p/931681/page/2

Print Friendly and PDF
Share/Bookmark

(Windows 8.1) Show my desktop background on Start grey out (cannot select)

Problem: "Show my desktop background on Start" will be grey out (cannot select to enable this feature)

Reason: The Windows did not activated.

Solution: Activate the Windows.

Reference:
http://www.nextofwindows.com/how-to-change-windows-8-product-key-to-complete-activation/

Print Friendly and PDF
Share/Bookmark

Google drive desktop shortcut icon become blank after upgrade to Windows 8.1

Problem: Google drive desktop shortcut icon become blank after upgrade to Windows 8.1

image

Solution: Delete the blank icon on desktop and go to “Favorites”, select “Google Drive”, right click and select “Send to” –> Desktop (create shortcut)

image

You will got a new icon:

image

Print Friendly and PDF
Share/Bookmark

Windows 8.1 command prompt fonts size small and cannot change (Upgrade from 8.0 by using Technet ISO)

If you find command prompt fonts size very small, cannot change fonts size of Raster Fonts and cannot select fonts and size of fonts is missing.

The solution is go to the C:\Windows.old\Windows\Fonts to copy all the fonts to C:\Windows\Fonts, then reboot the computer.

You will got those option back:

image

Print Friendly and PDF
Share/Bookmark