SharePoint 2010, SharePoint 2013

Removing a SharePoint Server that no longer exists.

I was recently tasked with removing a server from a farm where the virtual server no longer existed, I knew that the best practice was to Disconnect the Server and uninstall SharePoint on the server itself. But what happens if  there’s a catastrophic failure on the server and you can’t follow that process? Simple.

The following applies to SP 2010/SP 2013

Browse to Central Administration > System Settings > Manage Servers in this farm  On this page you will see a list of the servers in the farm ServersInFarmClick Remove Server You will receive a prompt but as the server is no longer available the only choice to remove the server is to click OK. What’s really important here is that Best Practice is not to do it via this method but because your server has been removed you have no choice but to remove the server in such a way. RemovalMessagePrompt

It is recommended that you uninstall SharePoint Products from the server, rather than removing the server from this page. Because the Remove Server operation does not delete information from the server, such as any registry keys that were set, use this operation only when the server is no longer available.

Click OK Refresh the page and the server will be removed. Voila done! Easy as.

Advertisements
PowerShell, SharePoint, SharePoint 2007, SharePoint 2010, SharePoint 2013

Find your Application Pool username and password

In IIS when you select Application Pools, IIS will display all the application pools with their names and the Account associated to the Application Pool for those Engineers out there wanting to retrieve the application pool service accounts password follow these easy instructions… easy as 123

1. Open up Powershell as Administrator

2. type cd C:\Windows\System32\inetsrv

3. Type the following:

.\appcmd.exe list apppool “Application Pool Name” /text:*

be sure to change “Application Pool Name” to your Application pool you are after

This will give you a long list of output, scroll down a little and you will see the Password field.

Enjoy 🙂

Office 365, SharePoint, SharePoint 2010, SharePoint Online

SharePoint Online: Recycle Bins

So many of you would of heard of the useful functionality that is Recycle Bins, the place where a deleted file, folder, list, library or subsite is sent.. but for how long and how does this work? And how can I restore content

When any of those above types of content is deleted is immediately send to the End User Recycle Bin, these items in the End User Recycle bin are stored for 93day(s) and will automatically be emptied once that time lapses.

The Item in question is then sent to the ‘Deleted from end user recycle bin’ or what most call Stage 2 Recycle bin once again these items will be stored for 93 days before being removed completely from your SharePoint Online environment.

It is important to note once an item is removed from this recycle bin (stage 2) there is no coming back, so manage with care.

So you need to restore a file, First of all how can you get to these Recycle Bins?

  1. On your site collection in question, Click Settings > Site
    Settings

  1. Under the Site Collection Administration Category you will see the Recycle
    bin option click it

    Alternatively you can browse straight to https://yoursite.sharepoint.com/_layouts/15/AdminRecycleBin.aspx

On the left hand side you will see the ability to select between the two available recycle bins

Restoring an item

  1. Select the file you would like to restore and click ‘Restore Selection‘ , you will be promoted to confirm the restoration click OK

    And that’s it we have taken you through the retention schedule of the Recycle bins, what items are stored in the Recycle bin, how to access the Recycle bin and how to restore from it.

If you would like to learn how to restore a deleted site collection please read an article I wrote on the topic

http://wp.me/p3MEaF-V