-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunattend.local.xml
More file actions
61 lines (54 loc) · 2.47 KB
/
unattend.local.xml
File metadata and controls
61 lines (54 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<!--
Unattended Windows 11 installation configuration.
Version: 1.0.0
Author: Armoghan-ul-Mohmin
Purpose:
-Install Windows 11 With Local Account.
Contents:
- Local user account creation and initial account settings.
Notes:
- Validate all changes in a test environment before production use.
-->
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>DummyUser</Name>
<DisplayName>DummyComputer</DisplayName>
<Group>UserSelection</Group>
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Enabled>true</Enabled>
<Username>DummyUser</Username>
<LogonCount>1</LogonCount>
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
</OOBE>
<FirstLogonCommands>
<!-- Setup Get-Winfig Wallpaper and Hide Desktop Icons -->
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>powershell.exe -WindowStyle Hidden -Command "Invoke-WebRequest -useb 'https://raw.githubusercontent.com/Get-Winfig/winfig-wallpaper/refs/heads/main/images/001-1920x1080.png' -OutFile 'C:\Windows\Web\Wallpaper\Get-Winfig.png'; reg add 'HKCU\Control Panel\Desktop' /v Wallpaper /t REG_SZ /d 'C:\Windows\Web\Wallpaper\Get-Winfig.png' /f; RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters; reg add 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' /v HideIcons /t REG_DWORD /d 1 /f"</CommandLine>
<Description>Download and Setup Get-Winfig Wallpaper</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>