Drop the `user' password reset rule
[snf-image] / snf-image-helper / unattend.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <unattend xmlns="urn:schemas-microsoft-com:unattend">\r
3     <settings pass="specialize">\r
4         <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">\r
5             <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>\r
6             <TimeZone>GTB Standard Time</TimeZone>\r
7             <ComputerName>*</ComputerName>\r
8             <CopyProfile>true</CopyProfile>\r
9             <DoNotCleanTaskBar>true</DoNotCleanTaskBar>\r
10         </component>\r
11         <component name="Microsoft-Windows-OutOfBoxExperience" 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">\r
12             <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>\r
13         </component>\r
14         <component name="Microsoft-Windows-ServerManager-SvrMgrNc" 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">\r
15             <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>\r
16         </component>\r
17         <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">\r
18             <RunSynchronous>\r
19                 <RunSynchronousCommand wcm:action="add">\r
20                     <Description>Enable Build-in Account</Description>\r
21                     <Order>1</Order>\r
22                     <Path>net user administrator /ACTIVE:YES /LOGONPASSWORDCHG:NO /EXPIRES:NEVER /PASSWORDREQ:YES</Path>\r
23                 </RunSynchronousCommand>\r
24                 <RunSynchronousCommand wcm:action="add">\r
25                     <Description>Change Administrator Password</Description>\r
26                     <Order>2</Order>\r
27                     <Path>C:\Windows\SnfScripts\ChangeAdminPassword.cmd</Path>\r
28                 </RunSynchronousCommand>\r
29                 <RunSynchronousCommand wcm:action="add">\r
30                     <Description>Extend the filesystem</Description>\r
31                     <Order>3</Order>\r
32                     <Path>diskpart.exe /s C:\Windows\SnfScripts\ExtendFilesystem</Path>\r
33                 </RunSynchronousCommand>\r
34                 <RunSynchronousCommand wcm:action="add">\r
35                     <Description>Enable RDP</Description>\r
36                     <Order>4</Order>\r
37                     <Path>cmd /C reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>\r
38                 </RunSynchronousCommand>\r
39                 <RunSynchronousCommand wcm:action="add">\r
40                     <Description>Enable Automatic Updates</Description>\r
41                     <Order>5</Order>\r
42                     <Path>cmd /C reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 4 /f</Path>\r
43                 </RunSynchronousCommand>\r
44             </RunSynchronous>\r
45         </component>\r
46     </settings>\r
47     <settings pass="oobeSystem">\r
48         <component name="Microsoft-Windows-International-Core" 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">\r
49             <InputLocale>en-US</InputLocale>\r
50             <SystemLocale>en-US</SystemLocale>\r
51             <UILanguage>en-US</UILanguage>\r
52             <UILanguageFallback>en-US</UILanguageFallback>\r
53             <UserLocale>el-GR</UserLocale>\r
54         </component>\r
55         <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">\r
56             <Display>\r
57                 <ColorDepth>24</ColorDepth>\r
58                 <HorizontalResolution>1024</HorizontalResolution>\r
59                 <VerticalResolution>768</VerticalResolution>\r
60             </Display>\r
61             <OOBE>\r
62                 <HideEULAPage>true</HideEULAPage>\r
63             </OOBE>\r
64         </component>\r
65     </settings>\r
66     <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows server 2008 r2 serverstandard.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />\r
67 </unattend>\r