Archive

Archive for December, 2011

SCCM 2007: Failed to retrieve site version for the site (0x80004005)

December 21, 2011 1 comment

You may receive the underneath error when clients are not able to assign itself to the SCCM 2007 server. It’s a good idea to verify the “LocationServices.log” file in the SCCM log directory on the client side.

SGetSiteVersionFrom AD: Failed to retrieve version for the site ‘ST1’ (0x80004005)

Other similar errors:

Failed to resolve ‘SMS_SLP’ to IP address from WINS
LSGetSLP : Failed resolve SLP from WINS, is it published
LSGetSiteVersionFromSLP : Unable to get the list of SLPs

These errors means that there are issues with Active Directory extension of SCCM or permissions issue on the “System management” container. The other errors are Server Locator Point errors(SLPs); Intranet clients use Active Directory Domain Services as their preferred method to complete site assignment and find management points. However, clients must use a server locator point if the Active Directory schema is not extended for Configuration Manager 2007 or the site is not published to Active Directory Domain Services, or if clients do not belong to the same Active Directory forest as the site server’s forest. Like you can see in the underneath error the client tries first AD and then the SLPs points.

There are five things to check when you use AD services to locate site resource:

  • Extend the Active Directory schema

    Re-run the “ExtADSch.exe” tool which is located in the  setupfolder “SMSSETUP\BIN\i386”
    Verify the log file which is by default located in the root of the C-Drive.

http://technet.microsoft.com/en-us/library/bb633121.aspx

  • Check System Management container

    Make sure that the “System Management” container is created in the System OU. Select View -> “Advanced Features” to view this container.

http://technet.microsoft.com/en-us/library/bb632591.aspx

  • Verify security permissions on the System Management container

    Make sure that the Computer object of the SCCM server has full rights on the “System Management” Container and on all descendant objects.

http://technet.microsoft.com/en-us/library/bb633169.aspx

  • Enable Active Directory publishing for the Configuration Manager site

    In the Configuration Manager console, navigate to System CenterConfiguration Manager / Site Database / Site Management / right click the site name / select properties / Advanced. Make sure that “Publish this site in Active Directory Domain services” is selected.

http://technet.microsoft.com/en-us/library/bb680711.aspx

  • Check firewall ports
    Always check if the correct firewall ports are open on the SCCM server / AD server / Client side

http://technet.microsoft.com/en-us/library/ff189805.aspx

 

Advertisements
Categories: SCCM 2007 / 2012

SCCM 2007: Configure Webdav settings within IIS7

December 12, 2011 1 comment

WebDAV configuration is required for the Distribution point and management point in SCCM 2007. Webdav is apparently by default not enabled when you install this IIS feature thus you may receive the underneath component error within SMS_SITE_CONTROL_MANAGER.

SMS Site Component Manager faild to install component SMS_MP_CONTROL_MANAGER on server SCCM001.

The WebDAV server extension is either not installed or not configured properly.
Solution: Make sure WebDAV is installed and enabled. Make sure there is an authoring rule that allow “All users” read access to “All content”. Make sure the WebDAV settings “Allow anonymous property queries” and “Allow property queries with infinite depth” are set to “true” and “Allow Custom Properties” is set to false

  • Start the IIS console and open the “Default Web Site”
  • Double click on WebDAV Authoring Rules
  • Enable WebDAV

  • Click on “Add Authoring Rule..”

  • Select the newly created Authoring Rule and click on WebDAV Settings.. in the actions pane
    –  “Allow Anonymous Property Queries” = TRUE
    –  “Allow Custom Properties” = FALSE
    –  “Allow Property Queries with Infinite Depth” = TRUE

  • Click on “Apply” in the Actions pane
  • Open the SCCM Console and go to Tools -> ConfigMgr Service Manager -> Start ConfigMgr Service …
  • Stop and start the “SMS_SITE_COMPONENT_MANAGER”

  • Recheck the “Component Status”: Ste Status -> Site name -> Component Status
Categories: SCCM 2007 / 2012

Quick SQL 2008 R2 Setup for SCCM 2007

December 11, 2011 Leave a comment

In this post I will give you a short overview of the required SQL 2008 R2 features and options for an SCCM 2007 R3 setup. This short tutorial is intended for a local SQL setup on the SCCM 2007 R3 server itself. Only the minimal features are selected because unnecessary features can consume resources and a minimal set of features improve the overall security.

  •   Just start the SQL 2008 R2 setup and start the installation
  •  Select the following features:
    – Database Engine Services
    – Full-Text-Search
    – Reporting Services
    – Management Tools – Basic
    – Management Tools – Complete

  • Select Default Instance

  • Server Configuration:  configure service accounts(local admin rights on the SCCM server)
    – SQL server agent – account + password
    – SQL Database engine – account + password
    – SQL Reporting services – account + password

  • Database engine configuration
    – Windows Authentication
    – Specify SQL Administrators

  •   Reporting Services Configuration
    – Install, but do not configure the report server

  • Complete

Categories: SCCM 2007 / 2012

Tools: Make your Windows startup faster with Autoruns

December 8, 2011 Leave a comment

Mostly I use “msconfig” to disable unnecessary start-up programs but there is not everything listed that start each time in the background. Autoruns for Windows from Sysinternals is the tool to use.

Simply run the Autoruns.exe file, there is no installation required and it shows you the currently configured auto-start applications as well as the full list of Registry and file system locations available for auto-start configuration. Autostart locations displayed by Autoruns include logon entries, Explorer add-ons, Internet Explorer add-ons including Browser Helper Objects (BHOs), Appinit DLLs, image hijacks, boot execute images, Winlogon notification DLLs, Windows Services and Winsock Layered Service Providers. Switch tabs to view autostarts from different categories.

Download Autoruns

Categories: Tools

Find long NTFS File Paths

December 7, 2011 2 comments

Long Path Tool is very useful if you are having problems with deleting or moving files that have file paths with more then 256 characters. This tool is free to determine file paths that are too long. You need to have a licensed version if you want to delete files or copy files with this tool. I make mostly a mapping to a folder with long file paths and delete them manually.

link: http://longpathtool.com

Backup and Restore NTFS permissions with icacls

December 7, 2011 Leave a comment

Icacls is a simple command line utility to backup and restore or apply new NTFS permissions. I use this tool mostly to back-up NTFS permissions before I make major changes on the current NTFS ACLs. This command line utility is available on Server 2003 SP2 or higher, also available on server 2008 & Windows 7.

To get help or get examples just type icacls in command prompt.

Example: Backup NTFS permissions

icacls “D:\HomeTest” /save “c:\Temp\ntfsbackup.txt” /t /c

In this example we backup all permissions of “D:\HomeTest” and save them in “c:\Temp”. The /T switch allows it to get also the permissions of sub folders, the /C switch allows it to continue even if errors occurs.

Example: Restore NTFS permissions

icacls d:/ /restore c:\Temp\ntfsbackup.txt

It is not necessary to mention the destination folder because this is already included in the backup file which very important to know. It’s sufficient to specify the destination drive.

From my experience it’s possible to back-up a complete drive like “e:/” but you can’t restore without specifying a drive letter, so my advice is always specify a folder instead of a complete drive.

More info: Technet