반응형

TaskbarLinks 작업 표시줄에 표시할 바로가기를 지정합니다. 프로그램, Microsoft Store 앱 링크에 대한 바로가기를 최대 6개까지 지정할 수 있습니다.

 

https://learn.microsoft.com/ko-kr/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-taskbarlinks

 

TaskbarLinks

TaskbarLinks 아티클05/10/2023 기여자 3명 피드백 이 문서의 내용 --> TaskbarLinks는 작업 표시줄에 표시할 바로 가기를 지정합니다. 프로그램, Microsoft Store 앱 또는 웹 사이트 링크에 대한 최대 6개의 바로

learn.microsoft.com

 

<?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>
	</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>
	<!-- RunOnce 바탕화면 진입 시 1회 실행 할 항목 등록, ex) 아래 경로에 AutoInstall.cmd 파일이 있으면 등록 없으면 패스 -->
		<SynchronousCommand wcm:action="add">
			<Order>1</Order>			
			<CommandLine>cmd.exe /c if exist "C:\AutoInstall\AutoInstall.cmd" reg add HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v FirstLogin /t REG_SZ /d "C:\AutoInstall\AutoInstall.cmd" /f</CommandLine>
			<Description>Run AutoInstall.cmd Script if Exists</Description>
		</SynchronousCommand>
	<!-- C:\Install_Drv 경로가 있으면 드라이버를 설치 하고 없으면 패스 -->
		<SynchronousCommand wcm:action="add">
			<Order>2</Order>
			<CommandLine>cmd.exe /c if exist "C:\Install_Drv" pnputil /add-driver C:\Install_Drv\*.inf /subdirs /install</CommandLine>
			<Description>Install Drivers</Description>
		</SynchronousCommand>
	<!-- RunOnce 바탕화면 진입 시 1회 실행 할 항목 등록, C:\Install_Drv 폴더가 있으면 바탕화면 진입 시 삭제 등록 없으면 패스 -->
		<SynchronousCommand wcm:action="add">
			<Order>3</Order>
			<CommandLine>cmd.exe /c if exist "C:\Install_Drv" reg add HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v DeleteInstallDrv /t REG_SZ /d "cmd.exe /c rd /s /q C:\Install_Drv" /f</CommandLine>
			<Description>Delete Install_Drv Folder</Description>
		</SynchronousCommand>
	</FirstLogonCommands>
	<!-- TaskbarLinks 작업 표시줄에 표시할 바로가기를 지정합니다. 프로그램, Microsoft Store 앱 링크에 대한 바로가기를 최대 6개까지 지정할 수 있습니다. -->
	<TaskbarLinks>
		<Link0>%ProgramData%\Microsoft\Windows\Start Menu\Programs\Defender 실시간 보호 열기.lnk</Link0>
		<Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Remote Desktop Connection.lnk</Link1>
		<Link2>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Steps Recorder.lnk</Link2>
		<Link3></Link3>
		<Link4></Link4>
		<Link5></Link5>
	</TaskbarLinks>
	<!-- 해상도 설정 -->
	<Display>
		<HorizontalResolution>1024</HorizontalResolution>
		<VerticalResolution>768</VerticalResolution>
		<ColorDepth>32</ColorDepth>
	</Display>
	</component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

 

 

응답파일(unattend.xml) TaskbarLinks 적용  - 움짤 GIF

반응형

+ Recent posts