윈도우10 sysprep으로 봉인하기

---------- 시스템 봉인 과정 ----------

1. 윈도우 설치시 계정등록 화면에서 Ctrl+Shift+F3 을 눌러 감사모드로 진입한 후 감사모드에서 어플리케이션을 설치한다.

※ Windows 설정→개인 설정→테마→바탕 화면 아이콘 설정

2. D:\ 드라이브에 customize.xml, run_sysprep.bat을 넣고, run_sysprep.bat를 실행하여 봉인한다.

※ x86 버전일 경우 customize.xml 에서 processorArchitecture="amd64"를 processorArchitecture="x86"으로 수정 후 실행한다.


---------- 시스템 봉인 후 ----------

1. 윈도우 계정 화면에서 Shift+F10 을 누른 후 커맨드 프롬프트가 뜨면
   net user administrator /active:yes
   를 입력하여 Administrator 계정을 활성화 한다.

2. 윈도우 계정을 아무거나 만들어 설치를 마무리 한다.

3. 로그아웃 후 Administrator로 로그인하고 만든 계정은 삭제한다.



■ 첨부 파일 및 내용

run_sysprep.bat

net stop wmpnetworksvc
C:\Windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:D:\customize.xml

customize.xml

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:X:/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

위로 스크롤