Condividi tramite


Customize Client Backup - Windows Server Essentials

Applies To: Windows Server 2012 R2 Essentials

You can customize Client Backup in the following ways:

  • Change the default Client Backup state, so that when a new client computer connects to the Windows Server Essentials server, it doesn’t automatically back up the system to the server.

  • Hide the Setup client restore service task.

  • Preload WinPE to the system so that the customer doesn’t need to download it from the Windows ADK.

Customize the default state of Client Backup

By default, all the client computers connected to Windows Server Essentials have Client Backup turned on. To change this default behavior, set the user registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Server\Deployment\ClientBackupOff to 1. All the new client computers connected to Windows Server Essentials will not automatically be backed up to Windows Server Essentials, unless the administrator configures it on the Dashboard.

Hide the Client Restore Service setup task on the home page

To hide the task of setting up Client Restore Service, use registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Server\Deployment\ClientRestoreServiceDisabled. If this registry key is set to 1, the Setup client restore service task on the home page will be hidden, and the Restore Service tab in the Client computer backup settings and tools dialog will be removed.

Preload WinPE for client full system restore

If a client computer has a successful backup on Windows Server Essentials, when a disaster happens to the client computer, the user can restore the client computer from the backup. If it is software broken, the user can restore the system and data to the same hardware; if it is hardware broken, the user can restore the system and data to a similar new hardware.

To do that, the user needs to boot the client computer with a client restore media. Client restore media is a customized version of the Windows Preinstall Environment (WinPE). Windows Server Essentials will locate the WinPE on the server, customize the WinPE, and configure the client restore service or USB bootable flash drive with the client restore media.

The end user can download the Windows ADK and install WinPE. We recommended that you preload WinPE on the server, so that the user doesn’t need to download WinPE manually.

To preload the WinPE on the server, you need to customize the WinPE image with the right language. For more info, see Customize Windows PE.

Preload Windows PE on the server

To build a multi-language version of Windows PE

  1. Install the Windows ADK.

  2. Create a set of working folders for Windows PE.

    md C:\CustomizedImage
    md C:\CustomizedImage\sources
    md C:\CustomizedImage\mount
    
  3. Create a local copy of winpe.wim. For the X64 version: use the filename boot.wim. When you repeat these steps for the x86 version, use the filename boot_x86.wim.

    copy "%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim" "C:\CustomizedImage\sources\boot.wim"
    
  4. Mount the Windows PE image (boot.wim).

    dism /mount-wim /wimfile:c:\CustomizedImage\sources\boot.wim /index:1 /mountdir:C:\CustomizedImage\mount
    
  5. Add the following components to Windows PE: WinPE-Setup, WinPE-HTA, WinPE-WMI, and WinPE-FontSupport packages for JA-JP, KO-KR, ZH-CN, ZH-HK, and ZH-TW.

    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Setup.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-HTA.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-JA-JP.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-KO-KR.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-ZH-CN.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-ZH-HK.cab"
    
    dism /image:C:\CustomizedImage\mount /add-package /packagepath:"%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-ZH-TW.cab"
    
  6. For each language, add the following language packs to the restore media:

    • lp.cab

    • WinPE-Setup_[language code].cab

    • WinPE-HTA_[language code].cab

    • WinPE-WMI_[language code].cab

    Example:

    Dism /Add-Package /Image:"C:\CustomizedImage\mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\fr-fr\lp.cab"
    
    Dism /Add-Package /Image:"C:\CustomizedImage\mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\fr-fr\WinPE-Setup_fr-fr.cab
    
    Dism /Add-Package /Image:"C:\CustomizedImage\mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\fr-fr\WinPE-HTA_fr-fr.cab
    
    Dism /Add-Package /Image:"C:\CustomizedImage\mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\fr-fr\WinPE-WMI_fr-fr.cab
    
  7. Commit and unmount the image.

    dism /unmount-wim /mountdir:"C:\CustomizedImage\mount" /commit
    
  8. Repeat steps 3 through 7 for the 32-bit client restore file: "C:\%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\en-us\winpe.wim".

  9. Delete the working folder for the mounted image

    rd C:\CustomizedImage\mount
    

To copy the restore media to the server

  1. Copy the Windows PE boot files to the working folders.

    robocopy "%ProgramFiles(x86)%\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media" "C:\CustomizedImage" /E
    
  2. Specify the client restore service or client restore bootable USB key to use the customized WinPE. This can be done by adding the registry key:

    reg add "HKLM\Software\Microsoft\Windows Server\backup\OEM" /v OemBmrMedia /t REG_SZ /d C:\CustomizedImage /f
    

    You must use absolute path for the location of the customized WinPE. The path cannot contain system environment variable. If you cannot determine the system drive before install, the workaround is to write the registry key in PostIC.cmd when the installation path is determined.

See Also

Concepts

Preparing the Image for Deployment - Windows Server Essentials
Testing the Customer Experience - Windows Server Essentials

Other Resources

Windows Deployment Tools Technical Reference