How To Configure Search To Show All Checked Out Documents/Sites etc to Anyone

Please follow below steps to configure your search, here we are creating a new Managed Property in search and mapping it to a crawl property to gather the information and display the search result.

1- From the central administration application management page click on manage service applications
Adding custom search metadata in your advanced search SharePoint 2010
2- Click on Search Service Application or select it then click manage from the ribbon bar
Adding custom search metadata in your advanced search SharePoint 2010
3- In the left hand bar click Metadata Properties.
Adding custom search metadata in your advanced search SharePoint 2010
4- Then click new managed property.

5- Enter the property name and the description. In the use in scope section check the Allow this property to be used in scopes option. On the same page click Add Mapping. click ok.
Note: you must fill this site column with any value and did a full crawling search that we can find our custom column here if we didn’t make these steps you can’t able to find your custom column here.
You will be back the previous page. Click ok then.
Adding custom search metadata in your advanced search SharePoint 2010

7- Go to your advanced search web part then click edit page.
8- Select “Edit Web part” from the Edit menu on the advanced search web part.
Adding custom search metadata in your advanced search SharePoint 2010
9- Expand the Properties section and then click on the XML in the Properties box. You should be able to expand the view of the XML by clicking on the ellipse button.
Adding custom search metadata in your advanced search SharePoint 2010
10- Add the tag of your property in the property definitions section modify the DataType attrbuite with your property data type “your site column data type” and add another element in the result types section “this will appear in the advanced search properties dropdown list” of the XML as it’s shown below. Add the property for “CheckedOut” just we shown in below screenshot. Click On Finish

Note: add your property element in as the first element inside result types section in your XML.
11- Now go to the search page. You will find the “Checked Out To” is added to the properties as below.
Note: you must start full crawling again after these two properties added that you can test after crawling is finished the advanced search with these two properties .
Now you can use your search to find out Checked Out To documents, just use advance search and select the property.

Error: The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

1. Security context of your session may be expired.
2. You/somebody may have changed the date/time in the server.

1. Just change/update the Date/Time in the SharePoint server.
2. Increase the Security context in SharePoint central admin. This can be done by following the below steps:

Go to central admin
Go to  “Application management section”
Go to “Web Application General Settings”
Go to “Web page Security validation” section & increase the timeout field. Or, you can simply disable this option.

Outlook 2007 sync “SharePoint List cannot be found.” “Task “SharePoint reported error (0x8004010F)"

There is a .pst file that stores all your SharePoint List information for Outlook.
  • Delete the SharePoint List folders in Outlook.
  • Close and logoff of Outlook
  • Navigate to C:/Users/<username>/AppData/Local/Microsoft/Outlook
  • Delete the “SharePoint List.pst”
  • Reconnect with all your SharePoint Lists!
Sol 2:  NET STOP SENS , for some people this worked

Sol 3:

  • Start Internet Explorer, click Tools, and then click Internet Options.
  • On the Connections tab, click LAN settings.
  • elect the Bypass proxy server for local addresses check box, and then click Advanced.
  • Type the FQDN of the SharePoint server, and then click OK.
  • Restart Outlook.
  • Sharepoint 2010 user AD Permissions not updating

    Needed to add a new user “immediately” to have access to a site. No it was needed immediately, but lack of planning on someone’s part made it appear to be immediate. So I added to the AD group .

    …. 15 minutes later I get a call that they still can’t access the site, so double checked that I put the user in the correct AD group. Well I did but when I went to permissions for the site and tested the user permission it didn’t show up.

    So a quick search revealed that when using Claims based Authentication there is a default property setting called token-timeout and it is set for 1440 minutes (24 hours)

    To View and change this do the following:

    stsadm -o getproperty -propertyname token-timeout

    This will get your default setting

    stsadm -o setproperty -propertyname token-timeout -propertyvalue 15

    I ran this on my app server

    "Your client does not support opening this list with Windows Explorer" in SharePoint

    When you log on to the SharePoint site, navigate to a document library and click “Open with Explorer” button on the ribbon, you receive the following error message:

    Your client does not support opening this list with Windows Explorer

    To successfully make “Open with Explorer” work, we need ensure the following:
    WebClient service is started 

    WebClient service which the WebDav protocol enables Windows-based programs such as Windows Explorer to create, access and modify Internet-based files.

    Important Note: 
    If you are running a server type Windows OS, for example, you use Window Server 2008, install Desktop Experiencefeature first to get  WebClient service installed.

      1. From the Start menu, point to Administrative Tools, and click Services.
      2. Scroll down, right-click WebClient, and click Properties.
      3. In the Startup type list box, click Automatic.
      4. Click Apply.
      5. In the Service status section, click Start.
      6. Click OK.
    Note: Make Sure You Are Using IE 32bit.

    Do you want to view only the webpage content that was delivered securely? Mixed Content in Internet Explorer

    Viewing data in SharePoint that is pulled from external non HTTP(S) sources may prompt a security warning on the page containing the data.

    What is Mixed Content in Internet Explorer?

    If you open a secure web page inside Internet Explorer 8 (one that begins with https  like the Gmail web site or even, you might see a security warning dialog that says – “This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage.”
    This is annoying because IE won’t remember your choice and the warning message will appear every time you visit that page or web site. It basically means that the secure (https) web page that you are trying to open contains images and other elements that are hosted on a non-https location. They call it mixed content.

    Disable “Mixed Content” Warnings in IE

    In order to suppress this prompt you can can make the following Internet Explorer browser Security changes.

    Click the Internet Explorer Tools menu > Internet Options Internet Custom Level… > Miscellaneous > Display mixed content.  Set this to Enabled…

    If you are still receiving the prompt, ensure you have made the same changes to the other Internet Zones (i.e. Trusted sites and Local intranet).

    How to tell if Windows Server has been rebooted?

    The command systeminfo in cmd also gives the system uptime…

    systeminfo | find “System Boot Time”

    Host Name:                 HOME
    OS Name: Microsoft Windows
    OS Version: 5.1.2600 Service Pack 2 Build 2600
    OS Manufacturer: Microsoft Corporation
    OS Configuration: Standalone Workstation
    OS Build Type: Multiprocessor Free
    Registered Owner: S00
    Registered Organization: Home
    Product ID: *****-640-*******-*****
    Original Install Date: 28/12/2012, 02:20:03
    System Up Time: 0 Days, 8 Hours, 59 Minutes, 4 Seconds
    System Manufacturer: Dell Inc.
    System Model: Dimension 5000
    System type: X86-based PC
    Processor(s): 2 Processor(s) Installed.

    How To Change SharePoint 2010 Central Admin URL

    When you run Central Admin in a load balanced environment, you should update the references to the Central Admin URL on your farm servers. The easiest way to do it is to update the Alternate Access Mappings and updating the URL on the servers using Powershell:
    Getting the current Central Admin URL from the registry:
    $oldValue = Get-ItemProperty -Path "HKLM:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\" -Name CentralAdministrationURL | select CentralAdministrationURL
    Setting the Central Admin new URL:
    $CentralAdminURL = "http://[Central Admin URL]:[Port]/default.aspx"
    Set-ItemProperty -Path "HKLM:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\" -Name CentralAdministrationURL -Value $CentralAdminURL

    Checking in all files in a document library which is checked out to someone using PowerShell

    Background and Problem

    Recently we had to check in a large number of files in that were checked out to me due to another process that we had run. SharePoint does provide a simple way to do this for many files, but since we also had to run this over several document libraries.

    The Solution
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > $null

    function global:Get-SPSite($url){
    return new-Object Microsoft.SharePoint.SPSite($url)

    #Change these variables to your site URL and list name
    $siteColletion = Get-SPSite("");

    $folder = $siteColletion.RootWeb.Folders["Documents"];

    $collFiles = $folder.Files;

    for ($intIndex=0; $intIndex -ne $folder.Count; $intIndex++)
    if ($folder[$intIndex].CheckedOutBy.LoginName -eq "domain\ortegroadmin")
    #Dispose of the site object

    How To Set Access Request Email on All Sub-Site of a Web Application using Powershell

    Follow a Powershell script to change the Access Request email for all sites in a web application:
    $webapp = Get-SPWebApplication "http://yourwebapplication"
    $currentEmail = "";
    $newEmail = "";
    foreach($site in $webapp.Sites)
       foreach($web in $site.AllWebs)
         $url = $web.url
         Write-host $url
         if (!$web.HasUniquePerm)
                Write-Host "Access Request Settings is inherted from parent."
                Write-Host "Access Request Settings is enabled."
                write-host $web.RequestAccessEmail
                if ($web.RequestAccessEmail -eq $currentEmail)
                    Write-Host "Email needs to be updated."
                    $web.RequestAccessEmail = $newEmail
                    Write-Host "Email changed successfully!"
                Write-Host "Access Request Settings not enabled."