12 Oct 2010

Copy A WSS 3.0 Site to Another



This is a method I use for small business customers to provide them with a 'sandbox' environment they can play in. But this applies to you as well.  

Your 'Production' environment would be the old site/server, the 'sandbox' site would be your new server/site -- http://blog.brainlitter.com/archive/2009/03/09/how-to-refresh-a-sharepoint-sandbox-collection-with-production.aspx

However, if you aren't moving a whole site collection, here's your solution for moving just a subsite with all the various bits and bobs (there are other methods like save site as template, etc. but they have severe limitations, like 10MB, etc.)  http://blog.brainlitter.com/archive/2009/05/10/save-sharepoint-list-as-template-with-content-maxes-out-at-10mb-%e2%80%93-but-i-want-more%e2%80%a6.aspx




~~~~~~~~~~~~~~~~~~~~~~~~

How to Refresh a SharePoint Sandbox Collection with Production 


This guide has been created to provide the necessary steps to 'refresh' a Sandbox Collection (Different Web Application) with Production Data, so that it can be 'played with' without breaking the Production Implementation.
   
Note on Authentication/Permissions: Ensure you perform these tasks with an account that has full SharePoint Administrative privileges such as an 'SPSAdmin' account.
   
  • First, determine the Web Applications for the Source (Production) Web Application/Site Collection and the Destination (Sandbox) Web Application/Site Collection.
    • Open Central Administration and choose the "Application Management" tab
       
         
    • Open the Web Application List
       
    • Make note of the URL's
       
    • Document the URL's in the table below
       
   Application URL Collection Description
Source http://harvey:56000 Production Portal
Destination http://harvey:56001 Sandbox
   
  • Perform a current Backup of the Production Site Collection
    • Go to a DOS Prompt and if the path to the STSADM.EXE application is not already in your System Path (a good idea for convenience), then change to the appropriate directory in order to run the utility.
      • cd %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin
    • Perform the following command, using the URL of the SourceD:\TOP\ProductionToSandBoxTransfer\March-3-2009-Backup.bak Collection and modify your Output destination of the backup file, to suit (in this example, the path is going to be
      • stsadm -o backup -url http://harvey:56000 -filename D:\TOP\ProductionToSandBoxTransfer\March-3-2009-Backup.bak
    • Ensure the backup completed successfully. Your result should look something like this:
       

         
  • Restore your latest backup over your existing Sandbox Web Application (the assumption is you have one in place already), being sure to use the -overwrite option. Note that the restore typically takes much longer than the backup, to complete.
    • Go to a DOS Prompt (if you aren't there already) and if the path to the STSADM.EXE application is not already in your System Path (a good idea for convenience), then change to the appropriate directory in order to run the utility.
      • cd %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin
    • Perform the following command, using the URL of the DestinationD:\TOP\ProductionToSandBoxTransfer\March-3-2009-Backup.bak Collection and utilizing the file you created in step 2 -
      • stsadm -o restore -url http://harvey:56001 -filename D:\TOP\ProductionToSandBoxTransfer\March-3-2009-Backup.bak -overwrite
    • Ensure the restore completed successfully. Your result should look something like this:
       

         
  • Login and test that the application is healthy
  • Finally, if you have any customizations to perform, such as modification of the Quick Launch or Top Link Bar (hard coded URL references to the Production Site), be sure to make those now. As well, we always recommend setting the 'Theme' for the Sandbox site to a different colour scheme. This is a simple solution for ensuring that you know when you are working in the Sandbox and when you are working in production (I often go for the 'lime green' look, as it is especially eye catching and ugly).
    • To change the theme to Lime Green
      • Login to the Sandbox Site
      • Choose Site Actions, Site Settings
         

           
      • Choose Site Theme, under Galleries
         
      • Select the Verdant Theme and click Apply
         

           
  • Repeat Step 5 for any remaining sub sites (For example our test site has Manufacturing and Quality Assurance Sites)
~~~~~~~~~~~~~~~~~~~~~~




Save SharePoint List as Template (with Content) maxes out at 10MB – But I want more… 


I'm often shuttling around content that a client wanted in a new location and sometimes, Saving a SharePoint list as a template (with content) fits the bill nicely. But with a (default) 10MB limit, this can be quite obtrusive. Thankfully, this can be modified (up to a maximum of 500MB) with the following syntax (note that this applies to List AND Site Template saves.

Note: when you try to save a list as a template with content that exceeds the default of 10MB, you'll get this…
The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes

How to increase the List (and Site) save as Template limit


To increase the maximum size, simply run the following stsadm command (from the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN directory) replacing the propertyvalue to the new maximum size (in bytes). Note, in this example, we are changing it from 10MB to roughly 100MB:

stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 100000000

~~~~~~~~~~~~~~~~~~~~~~







29 Sept 2010

How to Change Windows XP Version Between Retail, OEM and Volume License Channel


Each piece of Windows XP CD disc media or ISO image has been created for specific channel of distributions, namely retail, OEM or volume licensing. Each channel has specific installation CD and product key or CD key that required to register and activate the installed system. Activation with product serial keys from other channel version are simply not accepted, causing end-user to encounter problem when installation as a CD-key is not accepted even though it’s genuine, valid and correct.

The main problem is that not many people may be aware there is difference between various Windows XP media and the Windows XP product key that they’re having, especially users who download Windows XP images (popularly in ISO, IMG or BIN format) from Internet through file sharing sites or BT (BitTorrent) torrents. These images may not be labeled properly by indicating it’s Windows XP retail, OEM or volume licensing version. Besides, the downloaded image is mostly for Windows XP VL edition, and is not suitable for OEM product key, which pasted on COA sticker on PC. Even for IT professionals who legitmatelly download Windows XP and obtain serial numbers from MSDN or TechNet subscriptions, the ISO images and product keys may get mixed up between OEM, retail or volume license (VL) version if not been labeled or managed properly.
For users who have an incorrect edition of Windows XP CD or have installed an incorrect version of Windows XP, here are two tricks or hacks to change a live version of Windows XP installation, and change the version of Windows XP installation files. Why? Well, because end-user cannot change their product key easily, that’s why the only possible way to properly activate is to change the channel version of Windows XP.

How to Change the Distribution Channel Version of Existing Windows XP Installation
  1. Boot up the computer
    using the CD of the Windows XP edition (retail, OEM or volume licensing) that user wants to upgrade or convert the existing installation
    to. Note: User may have to change the boot device priority or sequence in BIOS.
  2. Windows XP setup wizard will launch and ask user to setup Windows XP, press Enter. Note: Do not press R or select the option “To repair a Windows XP installation using the Recovery Console, press R” option.
  3. Accept the License Agreement.
  4. Then, select the Windows XP installation you want to repair (change the channel) from the list and press R to start the repair process.
  5. Setup will copy some files.
  6. Reboot the computer.
  7. Windows XP installation is now properly changed for retail, OEM or volume license according to the version of CD been used.
How to Change the Distribution Channel Version of A Windows XP CD
Tip: A more easier way is probably to download a new Windows XP with SP3 ISO image.
Note: This step can be used to check or verify the channel version of a Windows XP CD or image too. And it does not convert CD or image to royalty OEM Windows XP, which requires some OEM files to be existed.
  1. Copy all content of Windows XP CD to hard disk drive, or extract Windows XP disc image to a folder.
  2. Open the file \i386\setupp.ini in any text editor such as Notepad.
  3. Inside the setupp.ini, there is a “Pid” parameter with [Pid] header. The Pid variable consists of 2 parts. The first 5 digits is Microsoft product code (MPC) which determines the version of Windows XP that will be installed, the last 3 digits is channel ID that determines which CD-keys or product keys that the installation wizard will accept. Some example of standard combination for Pid for various editions of Windows XP: Windows XP RTM
    Retail: 51882335 (Retail edition accepting Retail CD keys)
    Volume License: 51883270 (Volume License edition accepting Volume License keys or VLK)
    OEM: 82503OEM (OEM edition accepting OEM keys or COA keys)

    Windows XP SP2
    Retail: 55274335
    Volume License: 55274270
    OEM: 55277OEM

    Windows XP SP3
    Retail: 76487335
    Volume License: 76487270
    OEM: 76487OEM

  4. The first 5 digits of Pid is normally stayed the same for same version of Windows XP (i.e. RTM, SP1, SP2 or SP3). Thus, only the last 3 digits of Pid needs to be modified according to example above. Generally, channel ID for retail is 335, OEM is OEM, and volume licensing is 270.
  5. Use nLite or other disc imaging program to re-create or re-burn the modified Windows XP installation disc media or image.
Note: Newer Windows XP discs may check whether the CD’s volume label matches the type of CD too. In this case, the wrong volume label may still render the disc unworkable. Here’s a brief list of known English version of Windows XP CD volume labels.
XP Home and Professional Combo = WXPHFPP_EN
XP Home Retail = WXHFPP_EN
XP Home Retail with SP1 = XRMHFPP_EN
XP Home Retail with SP1a = X1AHFPP_EN
XP Home Retail with SP2 = VRMHFPP_EN
XP Home Upgrade = WXHCCP_EN
XP Home Upgrade with SP1 = XRMHCCP_EN
XP Home Upgrade with SP1a = X1AHCCP_EN
XP Home Upgrade with SP2 = VRMHCCP_EN
XP Home OEM = WXHOEM_EN
XP Home OEM with SP1 = XRMHOEM_EN
XP Home OEM with SP1a = X1AHOEM_EN
XP Home OEM with SP2 = VRMHOEM_EN
XP Home Volume = WXHVOL_EN
XP Home Volume with SP1 = XRMHVOL_EN
XP Home Volume with SP1a = X1AHVOL_EN
XP Home Volume with SP2 = VRMHVOL_EN
XP Professional Retail = WXPFPP_EN
XP Professional Retail with SP1 = XRMPFPP_EN
XP Professional Retail with SP1a = X1APFPP_EN
XP Professional Retail with SP2 = VRMPFPP_EN
XP Professional Upgrade = WXPCCP_EN
XP Professional Upgrade with SP1 = XRMPCCP_EN
XP Professional Upgrade with SP1a = X1APCCP_EN
XP Professional Upgrade with SP2 = VRMPCCP_EN
XP Professional OEM = WXPOEM_EN
XP Professional OEM with SP1 = XRMPOEM_EN
XP Professional OEM with SP1a = X1APOEM_EN
XP Professional OEM with SP2 = VRMPOEM_EN
XP Professional Volume = WXPVOL_EN
XP Professional Volume with SP1 = XRMPVOL_EN
XP Professional Volume with SP1a = X1APVOL_EN
XP Professional Volume with SP2 = VRMPVOL_EN
XP Professional Tablet PC with SP1 Disc1 = XRMPFPP_EN
XP Professional Tablet PC with SP1a Disc1 = X1APFPP_EN
XP Professional Tablet PC with SP2 Disc1 = VRMPFPP_EN
XP Professional MSDN = WXPFPP_EN
XP Professional MSDN with SP1 = XRMPFPP_EN
XP Professional MSDN with SP1a = X1APFPP_EN
XP Professional MSDN with SP2 = VRMPFPP_EN
XP Professional Evaluation = WXPEVL_EN



http://www.mydigitallife.info/2009/08/16/how-to-change-windows-xp-version-between-retail-oem-and-volume-license-channel/

Total Pageviews