Windows 10 Best Practices using ZCM

0 Likes
over 4 years ago
Are you planning a Windows 10 rollout in the next few weeks? Are you looking for an easy-to-manage, fully automated solution that also supports different hardware types? Are you using ZENWorks Configuration Management and are you struggling with Microsoft Deployment Tools (MDT)? If you answered "Yes" to at least 2 questions, you should read more.

Based on the experience we gained from numerous successful desktop management projects with ZENWorks Configuration Management (ZCM), Micro Focus Consulting now provides a best practice document that describes all the steps required to build a fully automated installation process for Windows 10 without using MDT.

The following topics are covered:

  • General Overview

  • Automated Deployment of Windows 10

  • Typical problems and solutions

  • Using NCSTools (a small set of tools to extend Windows 10 deployment process)

  • Setting up required imaging and software bundles in ZCM


In addition to the best practice documentation, we provide all necessary configuration files, scripts and our NCSTools. NCSTools?

Do you know them already? With our NCSTools you can extend the entire windows setup without touching the windows automation files again and again.

Here are some examples:

Installation of additional drivers using DPInst:

Put the following config file into a specific folder using an addon-image and additional driver and tools are installed:

DRIVER.CFG

------snip------

[Control]
CustomerName="Micro Focus"
ProgressTitle="Deployment Solution for $CustomerName$"
ProgressMainText=Installing Plug and Play Drivers
ProgressSubText=Please wait ...
ProgressHide=0
CommandWindow=MAX
[Commands]
Key=C:\INSTALL\DRV\INF\DPINST.EXE /S /SH /SA /SW /EL /SE /PATH "C:\INSTALL\DRV\INF"

------snip------

Installing driver & tools Installing driver & tools


Installation of Language Packs

Language Packs can be installed by creating an addon-image with the language pack files and the following configuration file:

LANGUAGEPACKS.CFG

------snip------

[Control]
CustomerName="Micro Focus"
ProgressTitle="Deployment Solution for $CustomerName$"
ProgressMainText="Installing Language Packs"
ProgressSubText="$v_NCSFile$"
ProgressDelay="1"
ProgressPos_X="75"
ProgressPos_Y="150"
ProgressHide="0"

ExitOnError="0"
DisplayMessageOnError="0"
DisplayMessageOnErrorTimeout="60"

CommandSection="LANGUAGE.%GLOBAL_REGIONAL_ID%"

EvalEnvVariables="1"
EvalEnvVariablesFromRegistry="1"
EvalEnvVariablesFromRegistryHive=""

[INFOS.MF]
Variable %GLOBAL_LANGUAGE_ID% will be exported during imaging phase
In addition make sure that an AddOnImage which contains the language pack is transferred to the client

[LANGUAGE.DE_DE]
key1=lpksetup.exe /i de-DE /s /r /p "C:\INSTALL\SETUPS\LanguagePack\WIN10x64\DE_DE\lp.cab"

------snip------

Installing language packs Installing language packs


Installing the ZCM Agent

Installing the ZCM agent not easy when using an automated process.

NCSMonitorProcess can control the entire process. Adding a config file to specific folder using an addon-image:

ZCMAGENT.CFG

------snip------

[Control]
MenuItem=Installing ZCM Agent...
ProgressMainText=Monitoring ZCM Agent

[Commands]
Key1=NCSMonitorProcess --MonitorProcess=ZENPreAgent.exe --ExecuteCommand="PreAgentPkg_AgentComplete.exe" --CommandPath="C:\INSTALL\SETUPS\ZCM-AGENT" --CommandParameter="-q -x" --CommandWindow=HIDE --ProgressMainText="Installing ZCM Agent" --POS_X=-1 --POS_Y=150

------snip------

Now the ZCM agent is installed during first logon

Running first logon commands Running first logon commands


To add or remove commands you do not need to touch Windows 10 "unattend.xml" anymore.  Just use our NCSTools and ZCM addon-images to customize your Windows 10 setup.

The documentation provides a step-by-step to prepare the Windows 10 base-image and all required addon-images containing all files to get a fully-automated Windows 10 deployment. After installing the ZCM Agent on your new devices, ZCM will do the job to install all required software using bundles.

Please download  and read the documentation to get the detailed description and all tools and configuration files.

Here is the step-by-step documentation:

windows-10-best-practices-using-zcm-v1-1-2-en-20170113.pdf

Here are the required tools and some basic configuration files:

NCS Configuration

NCS Tools 2017

Thank you for reading and downloading!

 

Labels:

How To-Best Practice
Comment List
Anonymous
  • Is there a solution for roaming profile now? If I need a windows server all 600 users need new passwords, thats not possible. I dont need "start" in w10 and can have the same startmenu for all users. But we have 600 users for 50 PC in education. Files they create on desktop must keep alive on the next PC.
  • Hi,

    is it possible to get the source code of the AuthHookNCS.EXE ?
    I'd like to modify it so that it sends the actual state of deployment to the MDT Server

    Best Refards
    Marco
  • Hi Jason,

    "snaphot" is used in a virtual machine environment to save the actual status of a virtual machine. You can go back to a "snapshot" after making changes i.e. testing specific settings.

    Regards
    Oliver
  • Thanks for this document, it has saved me many headaches. A question though, several times in the document the author recommends taking a Snapshot of the current settings. What is meant by snapshot? Does he mean take an image? or create a windows 10 restore point? Please advise on how I can make a snapshot.
    Thanks
    Jason
  • Hi,

    I never got this issue in the past. I used the following settings in
    ....

    ....

    true
    3
    true


    During Sysprep I create a user AdminWin10 ( Administrator) and then use this user to auto-login

    That´s it.
    The only thing you need to take care off is the language setting in your base image. If you have selected EN before taking an image (without installing a language pack) you need to use EN in your unattend.xml (Specialize and oobesystem) Otherwise you have to select the language during first boot

    Regards
    Oliver
  • Hi, Thanks for your guide, have been using it sinze windows 7 and modified it to suite my needs.
    Now when doing a image for win10 1709 I got problems with hiding the the screens that wants you to choose language, keyboard, privicy settings for Cortana etc.
    It use to be SkipUserOOBE=True in sysprep that did that, but that is depricated now and its replaced with protect YourPc=[1-3], I dont get that to work. Have you bumped in to that and got any solution?

    Thanks

    Lennart
  • Hi,

    I´m not aware of any modifications regarding wifi-settings. All changes I do with these bundles are documented in the PDF.

    WIN10-Config only disables 2 services, configures telemetry and sets the startmenu.

    HTH
    Regards
    Oliver
  • Thanks Oliver, I downloaded the zip files again and the files are there.

    Now I have a different issue, I imported the bundles you included, and one of the settings in the WIN10-CONFIG has completely disabled wifi on my machines. Is it possible to get complete documentation of all the settings that are being changed in the bundles?
  • Hi,

    I checked the NCSTools.zip and all tools are available for both x86 and x64.
    Regards
    Olivevr

    Regards
    Oliver
  • Hi,

    I checked the NCSTools.zip and all tools are available for both x86 and x64.
    Regards
    Olivevr

    Regards
    Oliver
Related Discussions
Recommended