반응형

Microsoft Edge 첫 실행 마법사 비활성화 

https://gist.github.com/likamrat/f5f8fc13e64b2e3dbe737ef04dadb80d

 

Disable Microsoft Edge first-run Welcome screen

Disable Microsoft Edge first-run Welcome screen. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

Microsoft Edge 첫 실행 질문 시작 및 시작을 차단

PowerShell: Disable Microsoft Edge first run wizard

Disable_EdgeWelcome.ps1
0.00MB

$settings = 
[PSCustomObject]@{
    Path  = "SOFTWARE\Policies\Microsoft\Edge"
    Value = 1
    Name  = "HideFirstRunExperience"
} | group Path

foreach($setting in $settings){
    $registry = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey($setting.Name, $true)
    if ($null -eq $registry) {
        $registry = [Microsoft.Win32.Registry]::LocalMachine.CreateSubKey($setting.Name, $true)
    }
    $setting.Group | %{
        $registry.SetValue($_.name, $_.value)
    }
    $registry.Dispose()
}

 

HideFirstRunExperience.reg
0.00MB

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"HideFirstRunExperience"=dword:00000001

 

윈도우 설치시 자동으로 HideFirstRunExperience 차단

unattend.xml
0.01MB

 

기본 샘플

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    </settings>
    <settings pass="specialize">
    </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>
	<!-- Microsoft Edge 첫 실행 질문 시작 및 시작을 차단 -->
		<SynchronousCommand wcm:action="add">
			<Order>2</Order>
			<CommandLine>reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v HideFirstRunExperience /t REG_DWORD /d 1 /f</CommandLine>
			<Description>Disable Microsoft Edge first run wizard</Description>
		</SynchronousCommand>
	</FirstLogonCommands>
	</component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

HideFirstRunExperience 적용(WIN10)

HideFirstRunExperience 적용(WIN11)

반응형
반응형

윈도우10/11 설치 중 OneDrive 설치를 방지하는 구문입니다.

 

SetupComplete.cmd에 추가하거나 아래 첨부한 $OEM$.7z 소스를 본인의 스타일에 맞게 수정하여 사용하세요.

 

---------------------------------------------------------------------------------------------------------------------------------

$OEM$.7z
4.66MB

---------------------------------------------------------------------------------------------------------------------------------

◆ 무인설치 옵션 $OEM$

(예약 저장소 OFF, 바탕화면 우클릭 레지 등록, DefenderControl 2.1, VisualCppRedist 2005~2022 설치, DefenderExclusion 제외목록 추가)

 

◆ 응답파일 사용 unattend.xml

(관리자 계정 활성화, EasyDrv7 런처, 사용자 계정 컨트롤 OFF, 암호 사용 기간 제한 없음, OOBE 구간 Skip, User 계정 생성)

---------------------------------------------------------------------------------------------------------------------------------

:OneDrive 설치 방지 구문

---------------------------------------------------------------------------------------------------------------------------------

Reg Load "HKU\LoadedDefaultUser" "%SystemDrive%\Users\Default\NTUSER.DAT" 1>NUL

Reg Delete "HKU\LoadedDefaultUser\Software\Microsoft\Windows\CurrentVersion\Run" /v "OneDriveSetup" /f 1>NUL

DEL /f "%SystemDrive%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" 2>NUL

Reg UnLoad "HKU\LoadedDefaultUser" 1>NUL

---------------------------------------------------------------------------------------------------------------------------------

반응형

+ Recent posts