Creating new GUID's after backup/restore of a site. RRS feed

  • Question

  • I backed up a site and restore the site to another server. The lists and libraries from the site were brought over after the backup/restore process and the GUID's for those list and libraries are the same on the new site after the restore. I am trying to find out if there is any way to refresh or create new GUID's for those lists. Is there an stsadm command or something that can be done to do this.
    • Moved by Mike Walsh FIN Monday, May 23, 2011 5:13 PM asks for stsadm command = Admin q (From:SharePoint - Design and Customization (pre-SharePoint 2010))
    Monday, May 23, 2011 3:04 PM


All replies

  • Hi bootzilla,


    You can create GUID through the following two ways:

    1.       Create GUID in Visual Studio. You can refer to this blog to get detailed information about this method:


    2.       Create GUID through PowerShell. You can refer to this article to get detailed information about this method:



    Thanks & Regards,

    Peng Lei

    • Marked as answer by David HM Tuesday, May 31, 2011 9:16 AM
    Tuesday, May 24, 2011 8:17 AM
  • I've never seen a way to change the GUID of an existing list.

    As a workaround I do know that if you transfer a site by saving it as a template, transferring the template and creating a new site based on the template that all the lists etc get new GUIDs. So if using templates will work as a migration path for you that'll resolve the GUID issue.

    Tuesday, May 24, 2011 8:46 AM
  • HI,

    I suggest you to go for STSADM export import instead of import.

    This will create new GUIDs.

    You can follow the following steps for this:

    1. Take STSADM export of the source site.

    2. Using STSADM create the destination blank site.

    3. Import the content using STSADM import method.

    I hope this will help you out.


    Rahul Rashu

    Tuesday, May 24, 2011 2:35 PM