02-准备实验环境-004-安装-Windows Server 2019 Core-标准版制作模板机

《系统工程师实战培训》-02-准备实验环境(批量克隆)-004-安装-Windows Server 2019 Core-标准版-制作模板机



作者:学 无 止 境

QQ交流群:454544014



How to SysPrep Windows Server Core 2019

In this article, I’ll show you how to SysPrep Windows Server Core 2016 using the sysprep.exe utility.

This article will also work with Windows Server 2016 version 1709 which only comes with a Server Core.

About SYSPREP

Sysprep (System Preparation Tool) Is a built-in tool that comes with Windows Server since the release of Windows Server 2003.

The purpose of Sysprep Is to prepare a Server to be cloned and remove the Built-in Security ID, Computer Name and any Information that was on the machine before running the tool.

Why use SysPrep

We use Sysprep after creating a Gold Image or a Server Image that we would like to be used In production with specific tools, features, roles, and settings that needs to be consistent.

The process we follow in a gold image scenario is that we Install all features, tools, etc and then run Sysprep, once the machine is done we could start it and use it with as a base image.

Sysprep Server Core

Because Server Core comes with any GUI, we need to use the command line to SysPrep the Server as I’ll show you below.

Win7系统如何查看SID安全标识符?

前言:SID = Security Identifiers,中文名称:安全标识符。如果两台电脑的SID相同,在一个局域网里就会发生冲突,比如你自己GHOST了系统,然后还原到其它电脑上,这时候的SID是相同的,就会产生冲突。

SID的查询方法:

1、 输入:whoami /user

clip_image001

2、 The first step, Is to use the command line or PowerShell from Server Core

clip_image002

3、 I’ll use the line below to get to the sysprep.exe tool location.

cd C:\Windows\System32\Sysprep\

clip_image003

4、 From here I’ll type the line below to start the tool

.\sysprep.exe

clip_image004

5、 Tick the box Generalize and reboot or shutdown

clip_image005

clip_image006

clip_image008

关机

快照

004-OS-Sysprep-OK

clip_image010开机

clip_image011

clip_image012

clip_image013

clip_image014

whoami /user 用户ID已变更

clip_image015

sconfig.cmd 计算机名已变更。

clip_image016

选择:8 IP地址已变化

clip_image017

磁盘已变化!

LIST Disk

LIST Volume

clip_image018

6、 The process will take two or three minutes.

证明使用Sysprep很成功。

恢复快照:

001-OS-ON

clip_image020

恢复快照:

004-OS-Sysprep-OK

clip_image022

模板机已准备完成。

本文已完成!


*****************************************************************************************************************************

如果你学虚拟化工程师,请继续向下看。

相反:请止步!!!

*****************************************************************************************************************************

《虚拟化工程师实战培训》-视频一共12个系列,一步一步教学让想学者学得更容易。

第1部-规划服务器虚拟化实验效果

https://ke.qq.com/course/356355?tuin=c57e67b1

第2部-配置服务器虚拟化网络

https://ke.qq.com/course/356359?tuin=c57e67b1

第3部-部署虚拟化 IT 基础架构

https://ke.qq.com/course/356383?tuin=c57e67b1

第4部-光纤存储及光纤存储交换机配置

https://ke.qq.com/course/356724?tuin=c57e67b1

第5部-部署VMware服务器虚拟化

https://ke.qq.com/course/356730?tuin=c57e67b1

第6部-部署微软服务器虚拟化

https://ke.qq.com/course/356744?tuin=c57e67b1

第07部-部署Huawei服务器虚拟化

https://ke.qq.com/course/356746?tuin=c57e67b1

第8部-部署Citrix服务器虚拟化

https://ke.qq.com/course/356754?tuin=c57e67b1

第09部-部署Redhat oVirt服务器虚拟化

https://ke.qq.com/course/356756?tuin=c57e67b1

第10部-部署Proxmox VE 5.2服务器虚拟化

https://ke.qq.com/course/356759?tuin=c57e67b1

第11部-部署深信服超融合Sangfor aCloud 5.8.5

https://ke.qq.com/course/356769?tuin=c57e67b1

第12部-真实案例-小企业虚拟化项目实战串讲

https://ke.qq.com/course/356773?tuin=c57e67b1

***************************************************************************************************

猜你喜欢

转载自blog.51cto.com/dynamic/2337499