반응형

윈도우11, 윈도우10 설치시 작업 표시줄 작업 보기, 검색 항목 숨김으로 설치하는 무인설치 응답파일(unattend.xml) 예문입니다.

 

 

    <settings pass="oobeSystem">
        <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">
	<!-- 사용자가 컴퓨터에 처음으로 로그온할 때 실행할 명령을 지정합니다. -->
	<FirstLogonCommands>
	<!-- 작업 표시줄 작업 보기 항목을 끕니다. -->
		<SynchronousCommand wcm:action="add">
			<Order>4</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowTaskViewButton /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable ShowTaskViewButton</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김1 -->
		<SynchronousCommand wcm:action="add">
			<Order>5</Order>
			<CommandLine>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v SearchOnTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김2 -->
		<SynchronousCommand wcm:action="add">
			<Order>6</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	</FirstLogonCommands>
	</component>
    </settings>

$OEM$_Administrator.zip
0.01MB

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Deployment" 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">
	<RunSynchronous>
	<!-- x64 WanDrv7 런처(EDLauncher.bat 배치 파일이 있으면 실행하고 없으면 종료) -->
		<RunSynchronousCommand wcm:action="add">
			<Order>1</Order>
			<Path>cmd.exe /c if exist "%Windir%\Setup\Scripts\EDLauncher.bat" "%Windir%\Setup\Scripts\EDLauncher.bat"</Path>
			<Description>Auto Driver Launcher</Description>
		</RunSynchronousCommand>
	<!-- Cortana 제거 Start -->
		<RunSynchronousCommand wcm:action="add">
			<Order>2</Order>
			<Path>cmd.exe /c "&gt;&gt;"%TEMP%\remove-packages.txt" echo Microsoft.549981C3F5F10"</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>3</Order>
			<Path>powershell.exe -NoProfile -Command "Get-AppxProvisionedPackage -Online | where DisplayName -In (Get-Content $env:TEMP\remove-packages.txt ) | Remove-AppxProvisionedPackage -AllUsers -Online *&gt;&amp;1 &gt;&gt; $env:TEMP\remove-packages.log;"</Path>
		</RunSynchronousCommand>
	<!-- Cortana 제거 End -->
	<!-- OneDrive 설치 방지 Start -->
		<RunSynchronousCommand wcm:action="add">
			<Order>4</Order>
			<Path>cmd.exe /c "del "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>5</Order>
			<Path>cmd.exe /c "del "C:\Windows\System32\OneDriveSetup.exe""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>6</Order>
			<Path>cmd.exe /c "del "C:\Windows\SysWOW64\OneDriveSetup.exe""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>7</Order>
			<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>8</Order>
			<Path>reg.exe delete "HKU\mount\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>9</Order>
			<Path>reg.exe unload "HKU\mount"</Path>
		</RunSynchronousCommand>
	<!-- OneDrive 설치 방지 End -->
	<!-- 예약된 저장소 OFF -->
		<RunSynchronousCommand wcm:action="add">
			<Order>10</Order>
			<Path>cmd /c reg add HKLM\Software\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t reg_dword  /d 0 /f</Path>
			<Description>Remove Reserved Storagespace</Description>
		</RunSynchronousCommand>   
	<!-- 개인 정보 및 보안 > 활동 기록 OFF -->
		<RunSynchronousCommand wcm:action="add">
			<Order>11</Order>
			<Description>Add Registry Key to Disable Publishing User Activities</Description>
			<Path>cmd /c reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /t REG_DWORD /d 0 /f</Path>
		</RunSynchronousCommand>
	</RunSynchronous>
	</component>
    </settings>
    <settings pass="oobeSystem">
        <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">
	<!-- OOBE 무인 설정(자동화) -->
	<OOBE>
		<!-- Windows 시작의 Microsoft 소프트웨어 사용 조건 페이지를 숨길지 여부를 지정합니다. -->
		<HideEULAPage>true</HideEULAPage>
		<!-- Windows 시작 중에 나타나는 무선 네트워크 연결 화면을 숨길지 여부를 지정합니다. -->
		<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
		<!-- 사용자가 처음 로그온할 때 컴퓨터가 네트워크에 연결된 경우 네트워크의 위치를 지정합니다. -->
		<NetworkLocation>Work</NetworkLocation>
		<!-- 중요하고 권장되는 업데이트가 자동으로 설치되도록 지정합니다. -->
		<ProtectYourPC>3</ProtectYourPC>
		<SkipMachineOOBE>true</SkipMachineOOBE>
		<SkipUserOOBE>true</SkipUserOOBE>
	</OOBE>
	<!-- 관리자(Administrator) 계정으로 자동 로그인 -->
	<AutoLogon>
		<Enabled>true</Enabled>
		<LogonCount>1</LogonCount>
		<Username>Administrator</Username>
	</AutoLogon>
	<!-- 사용자가 컴퓨터에 처음으로 로그온할 때 실행할 명령을 지정합니다. -->
	<FirstLogonCommands>
	<!-- 모든 계정 암호 만료기간 제한 없음 -->
		<SynchronousCommand wcm:action="add">
			<RequiresUserInput>false</RequiresUserInput>
			<Order>1</Order>
			<Description>UserAccount</Description>
			<CommandLine>cmd /c wmic UserAccount set PasswordExpires=False</CommandLine>
		</SynchronousCommand>
	<!-- 작업표시줄 요일 표시 sShortDate "yyyy-MM-dd'('ddd')'" -->
		<SynchronousCommand wcm:action="add">
			<Order>2</Order>
			<CommandLine>reg add "HKEY_CURRENT_USER\Control Panel\International" /v sShortDate /t REG_SZ /d "yyyy-MM-dd'('ddd')'" /f</CommandLine>
		</SynchronousCommand>
	<!-- 피드백 빈도 옵션을 "Never"(프라이버시 설정)로 설정합니다. -->
		<SynchronousCommand wcm:action="add">
			<Order>3</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Siuf\Rules" /v NumberOfSIUFInPeriod /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable NumberOfSIUFInPeriod</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 작업 보기 항목을 끕니다. -->
		<SynchronousCommand wcm:action="add">
			<Order>4</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowTaskViewButton /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable ShowTaskViewButton</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김1 -->
		<SynchronousCommand wcm:action="add">
			<Order>5</Order>
			<CommandLine>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v SearchOnTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김2 -->
		<SynchronousCommand wcm:action="add">
			<Order>6</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	</FirstLogonCommands>
	<!-- 해상도 설정 -->
	<Display>
		<HorizontalResolution>1024</HorizontalResolution>
		<VerticalResolution>768</VerticalResolution>
		<ColorDepth>32</ColorDepth>
	</Display>
	<!-- 사용자가 바탕화면에 처음 진입할 때 실행할 명령을 하나 이상 지정합니다. -->
	<LogonCommands>
	</LogonCommands>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

 

$OEM$_User.zip
0.01MB

 

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Deployment" 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">
	<RunSynchronous>
	<!-- x64 WanDrv7 런처(EDLauncher.bat 배치 파일이 있으면 실행하고 없으면 종료) -->
		<RunSynchronousCommand wcm:action="add">
			<Order>1</Order>
			<Path>cmd.exe /c if exist "%Windir%\Setup\Scripts\EDLauncher.bat" "%Windir%\Setup\Scripts\EDLauncher.bat"</Path>
			<Description>Auto Driver Launcher</Description>
		</RunSynchronousCommand>
	<!-- Cortana 제거 Start -->
		<RunSynchronousCommand wcm:action="add">
			<Order>2</Order>
			<Path>cmd.exe /c "&gt;&gt;"%TEMP%\remove-packages.txt" echo Microsoft.549981C3F5F10"</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>3</Order>
			<Path>powershell.exe -NoProfile -Command "Get-AppxProvisionedPackage -Online | where DisplayName -In (Get-Content $env:TEMP\remove-packages.txt ) | Remove-AppxProvisionedPackage -AllUsers -Online *&gt;&amp;1 &gt;&gt; $env:TEMP\remove-packages.log;"</Path>
		</RunSynchronousCommand>
	<!-- Cortana 제거 End -->
	<!-- OneDrive 설치 방지 Start -->
		<RunSynchronousCommand wcm:action="add">
			<Order>4</Order>
			<Path>cmd.exe /c "del "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>5</Order>
			<Path>cmd.exe /c "del "C:\Windows\System32\OneDriveSetup.exe""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>6</Order>
			<Path>cmd.exe /c "del "C:\Windows\SysWOW64\OneDriveSetup.exe""</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>7</Order>
			<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>8</Order>
			<Path>reg.exe delete "HKU\mount\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f</Path>
		</RunSynchronousCommand>
		<RunSynchronousCommand wcm:action="add">
			<Order>9</Order>
			<Path>reg.exe unload "HKU\mount"</Path>
		</RunSynchronousCommand>
	<!-- OneDrive 설치 방지 End -->
	<!-- 예약된 저장소 OFF -->
		<RunSynchronousCommand wcm:action="add">
			<Order>10</Order>
			<Path>cmd /c reg add HKLM\Software\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t reg_dword  /d 0 /f</Path>
			<Description>Remove Reserved Storagespace</Description>
		</RunSynchronousCommand>   
	<!-- 개인 정보 및 보안 > 활동 기록 OFF -->
		<RunSynchronousCommand wcm:action="add">
			<Order>11</Order>
			<Description>Add Registry Key to Disable Publishing User Activities</Description>
			<Path>cmd /c reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /t REG_DWORD /d 0 /f</Path>
		</RunSynchronousCommand>
	</RunSynchronous>
	</component>
    </settings>
    <settings pass="oobeSystem">
        <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">
	<!-- OOBE 무인 설정(자동화) -->
	<OOBE>
		<!-- Windows 시작의 Microsoft 소프트웨어 사용 조건 페이지를 숨길지 여부를 지정합니다. -->
		<HideEULAPage>true</HideEULAPage>
		<!-- Windows 시작 중에 나타나는 무선 네트워크 연결 화면을 숨길지 여부를 지정합니다. -->
		<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
		<!-- 사용자가 처음 로그온할 때 컴퓨터가 네트워크에 연결된 경우 네트워크의 위치를 지정합니다. -->
		<NetworkLocation>Work</NetworkLocation>
		<!-- 중요하고 권장되는 업데이트가 자동으로 설치되도록 지정합니다. -->
		<ProtectYourPC>3</ProtectYourPC>
		<SkipMachineOOBE>true</SkipMachineOOBE>
		<SkipUserOOBE>true</SkipUserOOBE>
	</OOBE>
	<!-- 사용자(User) 계정 생성 / 비번 없음 -->
	<UserAccounts>
		<LocalAccounts>
			<LocalAccount wcm:action="add">
				<Password>
					<Value></Value>
					<PlainText>true</PlainText>
				</Password>
				<Description>Default Account</Description>
				<DisplayName>User</DisplayName>
				<Group>Administrators</Group>
				<Name>User</Name>
			</LocalAccount>
		</LocalAccounts> 
	</UserAccounts> 
	<!-- 사용자(User) 계정으로 자동 로그인 -->
	<AutoLogon>
		<Enabled>true</Enabled>
		<LogonCount>1</LogonCount>
		<Username>User</Username>
	</AutoLogon>
	<!-- 사용자가 컴퓨터에 처음으로 로그온할 때 실행할 명령을 지정합니다. -->
	<FirstLogonCommands>
	<!-- 모든 계정 암호 만료기간 제한 없음 -->
		<SynchronousCommand wcm:action="add">
			<RequiresUserInput>false</RequiresUserInput>
			<Order>1</Order>
			<Description>UserAccount</Description>
			<CommandLine>cmd /c wmic UserAccount set PasswordExpires=False</CommandLine>
		</SynchronousCommand>
	<!-- 작업표시줄 요일 표시 sShortDate "yyyy-MM-dd'('ddd')'" -->
		<SynchronousCommand wcm:action="add">
			<Order>2</Order>
			<CommandLine>reg add "HKEY_CURRENT_USER\Control Panel\International" /v sShortDate /t REG_SZ /d "yyyy-MM-dd'('ddd')'" /f</CommandLine>
		</SynchronousCommand>
	<!-- 피드백 빈도 옵션을 "Never"(프라이버시 설정)로 설정합니다. -->
		<SynchronousCommand wcm:action="add">
			<Order>3</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Siuf\Rules" /v NumberOfSIUFInPeriod /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable NumberOfSIUFInPeriod</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 작업 보기 항목을 끕니다. -->
		<SynchronousCommand wcm:action="add">
			<Order>4</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowTaskViewButton /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable ShowTaskViewButton</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김1 -->
		<SynchronousCommand wcm:action="add">
			<Order>5</Order>
			<CommandLine>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v SearchOnTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	<!-- 작업 표시줄 검색 항목 숨김2 -->
		<SynchronousCommand wcm:action="add">
			<Order>6</Order>
			<CommandLine>reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 0 /f</CommandLine>
			<Description>Disable SearchboxTaskbar</Description>
		</SynchronousCommand>
	</FirstLogonCommands>
	<!-- 해상도 설정 -->
	<Display>
		<HorizontalResolution>1024</HorizontalResolution>
		<VerticalResolution>768</VerticalResolution>
		<ColorDepth>32</ColorDepth>
	</Display>
	<!-- 사용자가 바탕화면에 처음 진입할 때 실행할 명령을 하나 이상 지정합니다. -->
	<LogonCommands>
	</LogonCommands>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
반응형

+ Recent posts