How to change managed path of a site collection (without backup/restore)?

Hi
Other than backup/restore a site collection to another site collection with different managed path, is there is any other way to change the managed path of a site collection directly using Powershell or Central Admin?

Yes you can use powershell script to change the managed path.
Reference
http://jshidell.com/2012/06/26/moving-sharepoint-2010-site-collections-between-managed-paths-using-powershell/
http://technet.microsoft.com/en-us/library/cc261845.aspx
http://technet.microsoft.com/en-us/library/ff607693.aspx
http://technet.microsoft.com/en-us/library/cc288905%28v=office.14%29.aspx
Regards,
Sairam Avacorp Technologies

Similar Messages

  • How-To: Migrate Classic Path-based SP2010 Site Collection with OOTB/SPD Workflows = To: Claims Different Path-based SP2013 Site Collection ?

    Hello,
    I want to move an entire site collection from an old SharePoint 2010 farm to a new SharePoint 2013 farm. But there are a few requirements:
    - The old SP2010 site collection contains multiple SPD Workflows and OOTB Workflows.
    - URLs must be changes as the example: 
    Source Site Collection URL: http://OldWebApp.SP2010.com/sites/OldSiteCollection 
    Destination Site Collection URL shall be: http://NewWebApp.SP2013.com/projects/NewSiteCollection
    - There are no custom solutions nor web parts.
    How to accomplis this successfully ?
    My steps would be:
    1) Copying the content database from SP2010 SQL to the SP2013 SQL via: Copy-only backup feature, or the traditional Backup & Restore.
    2) I have already the Web Application on the new SP2013 ready, So, I will just need to create the destination site collection in the SP2013 environment with the new desired URL: (http:\\NewWebApp.SP2013.com\projects\NewSiteCollection).
    3) Remove the newly created Content Database of the new site collection in the destination environment.
    4) Test-SPContentDatabase -name Old_Content_DB -webapplication http://NewWebApp.SP2013.com > C:\Issues.txt
    My worry is that the SP2010 Web Application is Classic-based and I cannot change the entire Web Application to Claims-based as it hosts other running site collections !
    Equally, My other worry is that the SP2013 Web Application is Claims-based and I cannot change the entire Web Application to Classic-based as it hosts other running site collections !
    First-Question=> I cannot run Convert-SPWebApplication as I don't want to impact the entire source nor destination web applications - How to resolve this?
    5) Mount-SPContentDatabase "Old_Content_DB" -DatabaseServer "DBServer" -WebApplication http://NewWebApp.SP2013.com
    Second-Question=> As I mentioned above that my requirement is to migrate this old SP2010 site collaction to a totally new URL in SP 2013. My concern is that after completing step-5, the site
    collection will overwrite the root new web application and it gets placed on: (http://NewWebApp.SP2013.com) !  I want it to be: (http://NewWebApp.SP2013.com/projects/NewSiteCollection) ? How to do this trick?
    Third-Question=> Will all the SPD Workflows & the OOTB Workflows work correctly after the entire site collection has been moved from SP2010 to SP2013? I am asking this because I seen this:
    (http://blogs.msdn.com/b/chandru/archive/2013/04/14/upgrading-spd-2010-workflows-to-spd-2013-workflows.aspx), and I got scared. What do you think ?
    Could you please help me out in my three questions ?

    Following are the steps:
    Take the backup of the content database in SP 2010.
    Create a classic based web application in SP 2013 using PowerShell.
    New-SPWebApplication -Name "TestApplication" -ApplicationPool "TestApplicationAppPool" -AuthenticationMethod "NTLM" -ApplicationPoolAc
    Create a content database in the web application created above.
    Mount the database 
    Mount-SPContentDatabase WSS_Content_100 -DatabaseServer SQL2012Demo -WebApplication http://sp2013demo:100
    Now convert the web application to use claims authentication:
    Convert-SPWebApplication -Identity "http://sp2013demo:100" -To Claims –RetainPermissions -Force
    Finally, migrate the users to use claims identity:
    $w = Get-SPWebApplication "http://sp2013demo:100"
    $w.MigrateUsers($True)
    See these links for more information:
    http://www.sharepointnadeem.com/2013/12/sharepoint-2013-upgrade-from-sharepoint.html
    http://www.sharepointnadeem.com/2014/01/upgrade-from-sharepoint-2010-classic.html
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • How to change PowerPoint Template across multiple site collections

    I am failry new to SharePoint, and my organization has asked me to research how to change a PowerPoint template that is stored on multiple site collections. There are current PowerPoints based on the template and they wanted to be sure those wouldn't be
    affected, as well. They want a "quick and easy" way to update the template that the divisions in the company use without manually going into each site collection. A co-worker said she hopes to "replace the current...template at the site
    collection and it will modify the available content type when selecting new document."
    Any help on how to handle this would be appreciated.

    This will really depend how the template has been packaged.  If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
    the template. If it's within the New --> XXX Document, than you're in luck
    If they're just deployed as normal files within a library, you'll have a much harder time.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • How to change the path of the Transport

    HI all!
    I had the system of portal dev,qas,prd,I want to made the export folder of the dev point to the import folder of the qas.But how to change the path of the transport ?I change the file of the D:\usr\sap\dev\SYS\global\pcd\pcdStartup.properties,But it not useful.I think my type is not correct.Plz tell me the key.thanks very much!!!
    D:\usr\sap\dev\SYS\global\pcd\pcdStartup.properties,I changed:
    Transport Application
    Root directory for exporting transport packages
    #Pcd.TransportApplication.ExportRootDir=
    qas\Import
    Root directory for importing transport packages
    #Pcd.TransportApplication.ImportRootDir=${Pcd.Share}/Import
    Directory for temporary transport files
    #Pcd.TransportApplication.TempDir      =${Pcd.Temp}/transport
    Edited by: joecui on Nov 12, 2008 8:15 AM
    Edited by: joecui on Nov 12, 2008 8:16 AM

    Did you try to remove the "#" character before every line you changed?
    Save the file...
    Reload/Refresh it in the Portal...
    Try if that helps you.
    Cheers,
    Benjamin

  • How to change the path of MPLS

    How to change the path of MPLS core from one PE to the other PE with redundancy link? The IGP is OSPF and running MBGP among PE routers.

    Hi there,
    Load-balancing is applicable in MPLS as follows:
    If multiple equal-cost paths exist for an IPv4 prefix, the Cisco IOS can load-balance labeled packets. If labeled packets are load-balanced, they can have the same outgoing labels, but they can also be different. The outgoing labels are the same if the two links are between a pair of routers and both links belong to the platform label space. If multiple next-hop LSRs exist, the outgoing label for each path is usually different, because the next-hop LSRs assign labels independently.
    If a prefix is reachable via a mix of labeled and unlabeled (IP) paths, Cisco IOS does not consider the unlabeled paths for load-balancing labeled packets. (The load balancing is done only between labeled paths. This means that if an IP (unlabeled) and a labeled path have the same cost, only the labeled path is used to forward the packets.)
    HTH,
    Mohammed Mahmoud.

  • How to retrive latest items from different site collection using content search web part

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewik
    Now I need to display the latest 10 wiki pages that are inside the enterprise wiki site collection (according to the modified date) inside the team site. So I read that using Content search web part allows for cross-site content query.
    So I added a new content search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's library and to specify that I need to get the latest 10 wiki pages using the
    content search web part's query dialog box? Can anyone advice please ?
    Thanks

    Edit the webpart and click change query in search criteria.  click on switch to advanced mode and enter your path:
    (path:"http://applicationname/teamsite" OR path:"http://applicationname/enterprisewik")
    you can specify sorting by created date and click ok.  in number of items to show, type 10.  this should fulfill your requirement.
    For further reading, here are some links:
    http://office.microsoft.com/en-001/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/04/30/stage-9-configure-the-
    query-in-a-content-search-web-part-on-a-category-page.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/23/stage-10-configure-the-query-in-a-content-search-web-part-on-a-catalog-item-page.aspx
    kashif

  • How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    Hi,
    According to your description, my understanding is that you want to set security group as admin of primary and secondary site collection using PowerShell command in office 365.
    I suggest you can use the command below to set the group to site owner, then it will have the site collection admin permission.
    Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -Owner [email protected] -NoWait
    Here are some detailed articles for your reference:
    https://technet.microsoft.com/en-us/library/fp161394(v=office.15)
    http://blogs.realdolmen.com/experts/2013/08/16/managing-sharepoint-online-with-powershell/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How to set version limit for entire site collection

    Hi,
    We have more than 500 document libraries in one site collection. I see some of them have more than 50 versions & taking lot of storage space. So planning to limit the version's to 3 Major and 3 Minor for entire site collection. How can we do that? I
    know we can set to individual library by how can we do that for entire site collection?
    Thanks
    Rithu.
    Rithu

    The version limit is a library specific setting, so you'll need to use PowerShell to set the property value on each library in every site in the site collection.  Here's a sample script that sets if for one library.  You'll need to expand the script
    to walk the sites recursively and run this for every library.  
    https://consultantpoint.wordpress.com/2012/06/15/powershell-setconfigure-document-library-with-majorversionlimit-majorwithminorversionslimit-require-to-checkout-before-editing/
    Please Note: Changing these settings won't delete old versions.  That only happens after each item in the list or library is edited.  
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Error when trying to change the look of a site collection

    Hello everyone!
    I have a single-server on-premise installation of SharePoint 2013 and I noticed that you can change the way fonts, colors etc. are used on a site collection by selecting "Change the look" from the site settings. However when I browse the page I
    get an empty page with the spinner on the right just going in circles.
    The browser log displays an error from _layouts/15/designgallery.js with this message:
    SyntaxError: JSON.parse: unexpected character
    The file is minified so unfortunately it does not tell me much more. However I also noticed a call to the webservice at /_layouts/15/designdata.ashx?hashcode=-1638098219&lcid=1033. Although this call returned a http 200 response the page turned out to
    be the "Sorry, something went wrong"-page with a correlation id as well. Looking up the correlation id in the trace log I found this unexpected error
    Application error when access /_layouts/15/designdata.ashx, Error=Object reference not set to an instance of an object.
    at Microsoft.SharePoint.Utilities.ThemeFontFace.Create(XPathNavigator xpnFontNode, XmlNamespaceManager nsm)
    at Microsoft.SharePoint.Utilities.ThemeFont.Populate()
    at Microsoft.SharePoint.Utilities.SPFont.Initialize(Stream stream)
    at Microsoft.SharePoint.Utilities.SPFont.Open(SPFile file, Boolean readPublishedVersion)
    at Microsoft.SharePoint.Utilities.SPFont.GetFontSchemesFromFolder(SPWeb themesWeb, String folderUrl)
    at Microsoft.SharePoint.Utilities.SPFont.GetFontSchemesFromFolder(SPSite site, String strThemeFolder)
    at Microsoft.SharePoint.ApplicationPages.DesignDataDownloadHandler.GenerateFontSchemeData()
    at Microsoft.SharePoint.ApplicationPages.DesignDataDownloadHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Has anyone encountered this error before or knows what the issue might be? I suspect that this error prevents me from changing the look of the site collection.

    Hi,
    According to your post, my understanding is that the “Change the look” page displayed blank, and it still shown working on it.
    This issue is always related to system requirenment. Did your environment fit for the hardware and software requirements for SharePoint ?
    You can check with the following article:
    http://technet.microsoft.com/en-us/library/cc262485.aspx
    Did the issue occur in other site collection or web application?
    You can refresh the page or reopen the page to check whether it loading.
    Did you find any error or unexpected occurred in the ULS log or event log?
    For SharePoint 2013, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • How to change the angle of a gradient layer without changing anything else?

    How to change the angle of a gradient layer without changing anything else?
    When I try it myself my whole gradient turns black.

    To add to the above, you can not just set the angle. If you want to use other existing settings you need to get them from the layer. The code in that other thread shows one way to get them.
    But if you do not need the existing values for any other reason you can get the descriptor for the layer, make a duplicate of it with all the settings and just overwrite the ones you want to change.
    This is one way to just change the angle while keeping the other existing settings.
    // helper function for working with descriptors
    function getProperty( psClass, psKey, index ){// integer:Class, integer:key
        var ref = new ActionReference();
        if( psKey != undefined ) ref.putProperty( charIDToTypeID( "Prpr" ), psKey );
        if(index != undefined ){
            ref.putIndex( psClass, index );
        }else{
            ref.putEnumerated( psClass , charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
        try{
            var desc = executeActionGet(ref);
        }catch(e){ return; }// return on error
        if(desc.count == 0) return;// return undefined if property doesn't exists
        var dataType = desc.getType(psKey);
        switch(dataType){// not all types supported - returns undefined if not supported
            case DescValueType.INTEGERTYPE:
                return desc.getInteger(psKey);
                break;
            case DescValueType.ALIASTYPE:
                return desc.getPath(psKey);
                break;
            case DescValueType.BOOLEANTYPE:
                return desc.getBoolean(psKey);
                break;
            case DescValueType.BOOLEANTYPE:
                return desc.getBoolean(psKey);
                break;
            case DescValueType.UNITDOUBLE:
                return desc.getUnitDoubleValue(psKey);
                break;
            case DescValueType.STRINGTYPE:
                return desc.getString(psKey);
                break;
            case  DescValueType.OBJECTTYPE:
                return desc.getObjectValue(psKey);
                break;
            case  DescValueType.LISTTYPE:
                return desc.getList(psKey);
                break;
            case  DescValueType.ENUMERATEDTYPE:
                return desc.getEnumerationValue(psKey);
                break;
    function duplicateDescriptor( descriptor ) {
        var newDescriptor = new ActionDescriptor;
        newDescriptor.fromStream( descriptor.toStream() );
        return newDescriptor;
    function localizeDescriptor( desc ) {
        var stream, pointer, zStringLength, zstring, localized_string, newZStringLength, previousStream, followingStream, newDesc;
        stream = desc.toStream();
        while( true ) {
            pointer = stream.search(/TEXT....\x00\$\x00\$\x00\$/);
            if( pointer === -1 ) {
                break;
            zStringLength = getLongFromStream( stream, pointer + 4 );
            zstring = readUnicode( stream.substr( pointer + 8, ( zStringLength - 1 ) * 2) );
            localized_string = ( localize( zstring ) ) + '\u0000';
            newZStringLength = localized_string.length;
            previousStream = stream.slice( 0, pointer);
            followingStream = stream.slice( pointer + 8 + zStringLength * 2);
            stream = previousStream.concat( 'TEXT', longToString( newZStringLength ), bytesToUnicode( localized_string ), followingStream );
        newDesc = new ActionDescriptor();
        newDesc.fromStream( stream );
        return newDesc;
    function getShortFromStream( stream, pointer ) {
        var hi, low;
        hi = stream.charCodeAt( pointer ) << 8 ;
        low = stream.charCodeAt( pointer + 1 );
        return hi + low;
    function getLongFromStream( stream, pointer ) {
        var hi, low;
        hi = getShortFromStream( stream, pointer) << 16;
        low = getShortFromStream( stream, pointer + 2);
        return hi + low;
    function readUnicode( unicode ) {
        var string = "";
        for( i = pointer = 0; pointer < unicode.length; i = pointer += 2) {
            string +=String.fromCharCode( getShortFromStream( unicode, pointer ) );
        return string;
    function longToString( longInteger ) {
        var string;
        string = String.fromCharCode( longInteger >>> 24 );
        string += String.fromCharCode( longInteger << 8 >>> 24 );
        string += String.fromCharCode( longInteger << 16 >>> 24 );
        string += String.fromCharCode( longInteger << 24 >>> 24 );
        return string;
    function bytesToUnicode( bytes ) {
        var unicode = "", char_code, charIndex;
        for( charIndex  = 0; charIndex < bytes.length; charIndex ++ ) {
            char_code = bytes.charCodeAt( charIndex );
            unicode += String.fromCharCode(char_code >> 8 ) +  String.fromCharCode( char_code & 0xff );
        return unicode;
    function setGradientAdjustmentAngle( angle ) {
        var adjustmentDesc = getProperty( charIDToTypeID("Lyr "), charIDToTypeID( 'Adjs' ) ).getObjectValue(0);
        var newAdjustmentDesc = duplicateDescriptor( adjustmentDesc );
        newAdjustmentDesc.putUnitDouble( charIDToTypeID('Angl'), charIDToTypeID('#Ang'), angle );
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( stringIDToTypeID('contentLayer'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
        desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('gradientLayer'), newAdjustmentDesc);
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    var newAngle = 45;
    setGradientAdjustmentAngle( newAngle );

  • How to show property bag values of site collection in web part on landing page in sharepoint online?

    How to show property bag values of site collection in web part on landing page in sharepoint online - office 365?

    You can use JavaScript Client object model to read the property bag values. Example:
    function getWebProperty() {
    var ctx = new SP.ClientContext.get_current();
    var web = ctx.get_site().get_rootWeb();
    this.props =  web.get_allProperties();
    ctx.load(web);
    ctx.load(this.props); //need to load the properties explicitly
    ctx.executeQueryAsync(Function.createDelegate(this, gotProperty), Function.createDelegate(this, failedGettingProperty));
    function gotProperty() {
        var myPropBag = this.props;
        alert(myPropBag.get_fieldValues()["allowdesigner"]); //returns the value of the key allowdesigner
    function failedGettingProperty(args, sender)
         //handle errors here
    Source:
    http://sharepoint.stackexchange.com/questions/37198/grab-a-specific-property-bag-using-ecma-script
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • How do I manage open files in Server 2012 without resorting to 3rd party application?

    How do I manage open files in Server 2012 without resorting to 3rd party application?
    I cannot find the Mange open files in FSRM.
    Thanks

    Wouldn't it make sense to place it in the server manager / shares section?
    I mean, second to creating or finding a share, isn't this what most users would be after?
    For like 20 years we've been trained to right click to find stuff Microsoft is hiding, and right click don't do nothin' here.  You gotta go hunting under tools.   Or, forget the new half-baked interface with half of what you need and go old school,
    direct to Start - Computer..Right Click.. whoops... that doesn't exist anymore.....
    Drool.........drool.............Find that hiding, blinking start button in a RDP session, click start after three trys,  and TYPE IN "Computer Management" .  Right Click, Pin it to your desktop, pin it to the start screen, pin it to the taskbar, send
    it to OneNote, and upload it to skydrive  so you can find it again, then get back to what you were doing....to find the cottin' pickin open files and kick your users off so you can have your way with the server.

  • How to change a number to a barcode image without other softwares ?

    hi all ,
    latest version of apex (on the cloud) ,
    How to change a number to a barcode image without other softwares ?
    for example
    a number item and a button
    click the button to change the number to a barcode image ??

    Check out this application sample: https://apex.oracle.com/pls/otn/f?p=31517:101:374672662665:::::
    Thank you,
    Tony Miller
    LuvMuffin Software

  • How to delete the last element of a collection without iterating it?

    how to delete the last element of a collection without iterating it?

    To add to jverd's reply, even if you could determine the last element, in some collections it is not guaranteed to always be the same.
    From HashSet:
    It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time.

Maybe you are looking for

  • Export to text - formatting

    Post Author: Ralphred CA Forum: .NET Im trying to export a report to a .txt from within a vs2005 program, using CRXIr2. I have been able to export to the text file through code since the option to export to text isn't available for some reason when i

  • Writing data to spreadsheet with time stamp

    Hi I am in the process of making a data logger using FPGA DMA FIFOs to read analog inputs into a real time host vi. This vi then queues the data to a second, lower priority loop. It is my goal that at this stage the data will be written to a spreahse

  • Syncing on 2 different computors and 2 different itunes?

    OK, I have 2 different Laptops and 2 different i tunes libraries. How can I sync both libraries on my nano. Every time I hook up to my other laptop it gives me a warning that all previous songs will be erased.I have made purchases on one of my laptop

  • Tv protection plan

    Hi, I have the tv protection plan and i am currently having problems with my television.  What do I need to do to get it repaired? Regards, Mara

  • Good cell service, horrible data service - Orlando, FL

    I live in southwest Orlando and have become very frustrated at the lack of data availability in the area.  I almost always have good cell service.  Never a dropped call and usually plenty of bars on my iPhone 5.  However, there are several areas wher