nk23x
9/7/2015 - 2:35 PM

windows deployment

windows deployment

@ECHO OFF

start /WAIT msiexec.exe /i "7z-x64.msi" /qn /norestart
REM start /WAIT AcroRdr_de_DE.exe /sPB /rs
start /WAIT firefox-setup.exe -ms ini=firefoxinstall.ini
REM start /WAIT truecrypt-setup.exe /verysilent
REM start /WAIT TeamViewer_Setup.exe /MSI /S

xcopy /V /T /E /R /Y ccleaner %ProgramFiles%\ccleaner"

exit
@echo off

powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e
powercfg -h off
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e fea3413e-7e05-4911-9a71-700331f1c294 0e796bdb-100d-47d6-a2d5-f7d2daa51f51 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e fea3413e-7e05-4911-9a71-700331f1c294 0e796bdb-100d-47d6-a2d5-f7d2daa51f51 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 02f815b5-a5cf-4c84-bf20-649d1f75d3d8 4c793e7d-a264-42e1-87d3-7a0d2f523ccd 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 02f815b5-a5cf-4c84-bf20-649d1f75d3d8 4c793e7d-a264-42e1-87d3-7a0d2f523ccd 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 309dce9b-bef4-4119-9921-a851fb12f0f4 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 309dce9b-bef4-4119-9921-a851fb12f0f4 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 238c9fa8-0aad-41ed-83f4-97be242c8f20 29f6c1db-86da-48c5-9fdb-f2b67b1f44da 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 238c9fa8-0aad-41ed-83f4-97be242c8f20 29f6c1db-86da-48c5-9fdb-f2b67b1f44da 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 94ac6d29-73ce-41a6-809f-6363ba21b47e 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 94ac6d29-73ce-41a6-809f-6363ba21b47e 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 9d7815a6-7ee4-497e-8888-515a05f02364 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd 9d7815a6-7ee4-497e-8888-515a05f02364 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 0d7dbae2-4294-402a-ba8e-26777e8488cd bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 2
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 501a4d13-42af-4429-9fd1-a8218c268e20 ee12f906-d277-404b-b6da-e5fa1a576df5 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 501a4d13-42af-4429-9fd1-a8218c268e20 ee12f906-d277-404b-b6da-e5fa1a576df5 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 893dee8e-2bef-41e0-89c6-b55d0929964c 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 893dee8e-2bef-41e0-89c6-b55d0929964c 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 bc5038f7-23e0-4960-96da-33abaf5935ec 100
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 bc5038f7-23e0-4960-96da-33abaf5935ec 100
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 94d3a615-a899-4ac5-ae2b-e4d8f634367f 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 94d3a615-a899-4ac5-ae2b-e4d8f634367f 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 17aaa29b-8b43-4b94-aafe-35f64daaf1ee 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 17aaa29b-8b43-4b94-aafe-35f64daaf1ee 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 aded5e82-b909-4619-9949-f5d71dac0bcb 100
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 aded5e82-b909-4619-9949-f5d71dac0bcb 75
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 f1fbfde2-a960-4165-9f88-50667911ce96 75
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 f1fbfde2-a960-4165-9f88-50667911ce96 50
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 9596fb26-9850-41fd-ac3e-f7c3c00afd4b 03680956-93bc-4294-bba6-4e0f09bb717f 2
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 9596fb26-9850-41fd-ac3e-f7c3c00afd4b 03680956-93bc-4294-bba6-4e0f09bb717f 2
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 9596fb26-9850-41fd-ac3e-f7c3c00afd4b 34c7b99f-9a6d-4b3c-8dc7-b6693b78cef4 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 9596fb26-9850-41fd-ac3e-f7c3c00afd4b 34c7b99f-9a6d-4b3c-8dc7-b6693b78cef4 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 637ea02f-bbcb-4015-8e2c-a1c7b9c0b546 3
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 637ea02f-bbcb-4015-8e2c-a1c7b9c0b546 3
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 7
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 7
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 8183ba9a-e910-48da-8769-14ae6dc1170a 10
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 8183ba9a-e910-48da-8769-14ae6dc1170a 10
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f bcded951-187b-4d05-bccc-f7e51960c258 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f bcded951-187b-4d05-bccc-f7e51960c258 1
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f d8742dcb-3e6a-4b3c-b3fe-374623cdcf06 3
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f d8742dcb-3e6a-4b3c-b3fe-374623cdcf06 3
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f f3c5027d-cd16-4930-aa6b-90db844a8f00 3
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f f3c5027d-cd16-4930-aa6b-90db844a8f00 3

start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"NetFx3" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V-All" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V-Management-Clients" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V-Tools-All" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V-Management-PowerShell" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"Internet-Explorer-Optional-x64" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"Printing-Foundation-InternetPrinting-Client" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Printing-Foundation-LPDPrintService" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Printing-Foundation-LPRPortMonitor" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"MediaPlayback" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Windows-MobilePC-Client-Premium-Package-net" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"Printing-Foundation-Features" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"RasCMAK" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"RasRip" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"ScanManagementConsole" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"SNMP" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"SimpleTCP" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"TelnetClient" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"TelnetServer" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"TFTP" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"WindowsGadgetPlatform" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"FaxServicesClientPackage" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Windows-Identity-Foundation" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"Microsoft-Windows-MobilePC-LocationProvider-INF" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"WindowsMediaPlayer" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"SearchEngine-Client-Package" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"TIFFIFilter" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Disable-Feature /FeatureName:"WMISnmpProvider" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"Printing-XPSServices-Features" /NoRestart
start /WAIT %CD%sources\dism.exe /Online /Enable-Feature /FeatureName:"Xps-Foundation-Xps-Viewer" /NoRestart


start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:DirectoryServices-ADAM-Client
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-Webserver
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WebServerRole
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-CommonHttpFeatures
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HttpErrors
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HttpRedirect
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ApplicationDevelopment
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-NetFxExtensibility
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-NetFxExtensibility45
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HealthAndDiagnostics
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HttpLogging
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-LoggingLibraries
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-RequestMonitor
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HttpTracing
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-Security
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-URLAuthorization
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-RequestFiltering
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-IPSecurity
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HttpCompressionDynamic
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WebServerManagementTools
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ManagementScriptingTools
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-IIS6ManagementCompatibility
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-Metabase
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-All
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Tools-All
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-Clients
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-PowerShell
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-HostableWebCore
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-CertProvider
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WindowsAuthentication
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-DigestAuthentication
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ClientCertificateMappingAuthentication
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-IISCertificateMappingAuthentication
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ODBCLogging
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-StaticContent
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-DefaultDocument
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-DirectoryBrowsing
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WebDAV
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WebSockets
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ApplicationInit
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ASPNET
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ASPNET45
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ASP
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-CGI
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ISAPIExtensions
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ISAPIFilter
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ServerSideIncludes
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-CustomLogging
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-BasicAuthentication
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ManagementConsole
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-ManagementService
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-WMICompatibility
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-LegacyScripts
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-LegacySnapIn
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-FTPServer
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-FTPSvc
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:IIS-FTPExtensibility
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Disable-Feature /FeatureName:Microsoft-Windows-MobilePC-Client-Premium-Package-net
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.6.12711.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_2015.815.255.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_2015.825.14.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2015.821.1835.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2015.827.17150.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_2015.724.2056.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingSports_10004.3.193.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_10004.4.200.0_neutral_~_8wekyb3d8bbwe
start /WAIT %CD%sources\dism.exe /NoRestart /Online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingFinance_10004.4.200.0_neutral_~_8wekyb3d8bbwe

sc config "AxInstSV" start= demand
sc config "AppReadiness" start= demand
sc config "AeLookupSvc" start= demand
sc config "AppIDSvc" start= demand
sc config "Appinfo" start= demand
sc config "ALG" start= demand
sc config "AppMgmt" start= demand
sc config "AppXSvc" start= demand
sc config "BITS" start= delayed-auto
sc config "BrokerInfrastructure" start= auto
sc config "BFE" start= auto
sc config "BDESVC" start= demand
sc config "wbengine" start= demand
sc config "bthserv" start= demand
sc config "PeerDistSvc" start= demand
sc config "CertPropSvc" start= demand
sc config "KeyIso" start= demand
sc config "EventSystem" start= auto
sc config "COMSysApp" start= demand
sc config "Browser" start= demand
sc config "VaultSvc" start= demand
sc config "CryptSvc" start= auto
sc config "DcomLaunch" start= auto
sc config "DeviceAssociationService" start= demand
sc config "DeviceInstall" start= demand
sc config "DsmSvc" start= demand
sc config "Dhcp" start= auto
sc config "DPS" start= auto
sc config "WdiServiceHost" start= demand
sc config "WdiSystemHost" start= demand
sc config "TrkWks" start= auto
sc config "MSDTC" start= demand
sc config "Dnscache" start= auto
sc config "EFS" start= demand
sc config "EapHost" start= demand
sc config "WPCSvc" start= disabled
sc config "Fax" start= demand
sc config "fhsvc" start= demand
sc config "fdPHost" start= demand
sc config "FDResPub" start= demand
sc config "gpsvc" start= auto
sc config "hkmsvc" start= demand
sc config "HomeGroupListener" start= demand
sc config "HomeGroupProvider" start= demand
sc config "hidserv" start= demand
sc config "vmickvpexchange" start= disabled
sc config "vmicguestinterface" start= disabled
sc config "vmicshutdown" start= disabled
sc config "vmicheartbeat" start= disabled
sc config "vmicrdv" start= disabled
sc config "vmictimesync" start= disabled
sc config "vmicvss" start= disabled
sc config "IKEEXT" start= demand
sc config "UI0Detect" start= demand
sc config "SharedAccess" start= disabled
sc config "IEEtwCollectorService" start= demand
sc config "iphlpsvc" start= auto
sc config "PolicyAgent" start= demand
sc config "KtmRm" start= demand
sc config "lltdsvc" start= demand
sc config "LSM" start= auto
sc config "wlidsvc" start= demand
sc config "MSiSCSI" start= disabled
sc config "MsKeyboardFilter" start= disabled
sc config "swprv" start= demand
sc config "smphost" start= demand
sc config "MMCSS" start= auto
sc config "NetTcpPortSharing" start= disabled
sc config "Netlogon" start= demand
sc config "napagent" start= demand
sc config "NcdAutoSetup" start= demand
sc config "NcbService" start= demand
sc config "Netman" start= demand
sc config "NcaSvc" start= demand
sc config "netprofm" start= demand
sc config "NlaSvc" start= auto
sc config "nsi" start= auto
sc config "CscService" start= demand
sc config "defragsvc" start= demand
sc config "PNRPsvc" start= demand
sc config "p2psvc" start= demand
sc config "p2pimsvc" start= demand
sc config "pla" start= demand
sc config "PlugPlay" start= demand
sc config "PNRPAutoReg" start= demand
sc config "WPDBusEnum" start= demand
sc config "Power" start= auto
sc config "Spooler" start= auto
sc config "PrintNotify" start= demand
sc config "wercplsupport" start= demand
sc config "PcaSvc" start= demand
sc config "QWAVE" start= demand
sc config "RasAuto" start= demand
sc config "RasMan" start= demand
sc config "SessionEnv" start= demand
sc config "TermService" start= auto
sc config "UmRdpService" start= demand
sc config "RpcSs" start= auto
sc config "RpcLocator" start= demand
sc config "RemoteRegistry" start= disabled
sc config "RemoteAccess" start= disabled
sc config "RpcEptMapper" start= auto
sc config "seclogon" start= demand
sc config "SstpSvc" start= demand
sc config "SamSs" start= auto
sc config "wscsvc" start= delayed-auto
sc config "SensrSvc" start= demand
sc config "LanmanServer" start= auto
sc config "ShellHWDetection" start= auto
sc config "SCardSvr" start= disabled
sc config "ScDeviceEnum" start= demand
sc config "SCPolicySvc" start= demand
sc config "SNMPTRAP" start= demand
sc config "sppsvc" start= delayed-auto
sc config "svsvc" start= demand
sc config "SSDPSRV" start= demand
sc config "WiaRpc" start= demand
sc config "StorSvc" start= demand
sc config "SysMain" start= auto
sc config "SENS" start= auto
sc config "SystemEventsBroker" start= auto
sc config "Schedule" start= auto
sc config "lmhosts" start= auto
sc config "TapiSrv" start= demand
sc config "Themes" start= auto
sc config "THREADORDER" start= demand
sc config "TimeBroker" start= demand
sc config "TabletInputService" start= auto
sc config "upnphost" start= demand
sc config "ProfSvc" start= auto
sc config "vds" start= demand
sc config "VSS" start= demand
sc config "WebClient" start= demand
sc config "AudioSrv" start= auto
sc config "AudioEndpointBuilder" start= auto
sc config "WbioSrvc" start= demand
sc config "WcsPlugInService" start= demand
sc config "wcncsvc" start= demand
sc config "Wcmsvc" start= auto
sc config "WdNisSvc" start= demand
sc config "WinDefend" start= auto
sc config "wudfsvc" start= demand
sc config "WEPHOSTSVC" start= demand
sc config "WerSvc" start= demand
sc config "Wecsvc" start= demand
sc config "EventLog" start= auto
sc config "MpsSvc" start= auto
sc config "FontCache" start= auto
sc config "StiSvc" start= demand
sc config "msiserver" start= demand
sc config "lfsvc" start= demand
sc config "Winmgmt" start= auto
sc config "TrustedInstaller" start= demand
sc config "WinRM" start= demand
sc config "WSService" start= demand
sc config "W32Time" start= demand
sc config "wuauserv" start= demand
sc config "WinHttpAutoProxySvc" start= demand
sc config "dot3svc" start= demand
sc config "Wlansvc" start= demand
sc config "wmiApSrv" start= demand
sc config "LanmanWorkstation" start= auto
sc config "WwanSvc" start= demand

echo Installing Software

net use  N: \\SHARE\windows N:\ /PERSISTENT:NO

cd /D N:\files\SOFTWARE

call software-install.bat

echo Going to reboot now
shutdown -r -t 5
[Install] 
InstallDirectoryName=Mozilla Firefox 
InstallDirectoryPath=C:\Program Files\ 
QuickLaunchShortcut=true 
DesktopShortcut=false 
StartMenuShortcuts=true 
StartMenuDirectoryName=Firefox
[Options]
UpdateKey=08/28/2015 09:56:19 AM
WipeFreeSpaceDrives=
CookiesToSave=
RunICS=0
Monitoring=0
CheckTrialOffer=0
(App)Old Prefetch data=True
(App)User Assist History=False
AnalyzerTypes=1|1|1|1|1|1|1
SystemAnalyzerDrives=C:\
FinderInclude1=PATH|C:\|*.*|RECURSE|0|0|24
FinderIncludeStates=1|1
MatchBySize=1
MatchByContent=1
HideWarnings=1
DelayRB=1
AutoClose=1
BackupPrompt=0
MinimizeSystemTray=1
SkipUAC=1
WipeMFTFreeSpace=0
ShowAnalyzerDeleteWarning=False
WINDOW_LEFT=112
WINDOW_TOP=64
WINDOW_WIDTH=800
WINDOW_HEIGHT=600
WINDOW_MAX=0
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SetupUILanguage>
        <UILanguage>de-DE</UILanguage>
      </SetupUILanguage>
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SetupUILanguage>
        <UILanguage>de-DE</UILanguage>
      </SetupUILanguage>
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <DiskConfiguration>
        <Disk wcm:action="add">
          <CreatePartitions>
            <CreatePartition wcm:action="add">
              <Order>1</Order>
              <Type>Primary</Type>
              <Size>100</Size>
            </CreatePartition>
            <CreatePartition wcm:action="add">
              <Extend>true</Extend>
              <Order>2</Order>
              <Type>Primary</Type>
            </CreatePartition>
          </CreatePartitions>
          <ModifyPartitions>
            <ModifyPartition wcm:action="add">
              <Active>true</Active>
              <Format>NTFS</Format>
              <Label>System Reserved</Label>
              <Order>1</Order>
              <PartitionID>1</PartitionID>
              <TypeID>0x27</TypeID>
            </ModifyPartition>
            <ModifyPartition wcm:action="add">
              <Active>true</Active>
              <Format>NTFS</Format>
              <Label>OS</Label>
              <Letter>C</Letter>
              <Order>2</Order>
              <PartitionID>2</PartitionID>
            </ModifyPartition>
          </ModifyPartitions>
          <DiskID>0</DiskID>
          <WillWipeDisk>true</WillWipeDisk>
        </Disk>
      </DiskConfiguration>
      <ImageInstall>
        <OSImage>
          <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
          </InstallTo>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
        </OSImage>
      </ImageInstall>
      <UserData>
        <AcceptEula>true</AcceptEula>
        <FullName>MYPC</FullName>
        <Organization>Notebooksbilliger.de AG</Organization>
      </UserData>
      <EnableFirewall>true</EnableFirewall>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <DiskConfiguration>
        <Disk wcm:action="add">
          <CreatePartitions>
            <CreatePartition wcm:action="add">
              <Order>1</Order>
              <Type>Primary</Type>
              <Size>100</Size>
            </CreatePartition>
            <CreatePartition wcm:action="add">
              <Extend>true</Extend>
              <Order>2</Order>
              <Type>Primary</Type>
            </CreatePartition>
          </CreatePartitions>
          <ModifyPartitions>
            <ModifyPartition wcm:action="add">
              <Active>true</Active>
              <Format>NTFS</Format>
              <Label>System Reserved</Label>
              <Order>1</Order>
              <PartitionID>1</PartitionID>
              <TypeID>0x27</TypeID>
            </ModifyPartition>
            <ModifyPartition wcm:action="add">
              <Active>true</Active>
              <Format>NTFS</Format>
              <Label>OS</Label>
              <Letter>C</Letter>
              <Order>2</Order>
              <PartitionID>2</PartitionID>
            </ModifyPartition>
          </ModifyPartitions>
          <DiskID>0</DiskID>
          <WillWipeDisk>true</WillWipeDisk>
        </Disk>
      </DiskConfiguration>
      <ImageInstall>
        <OSImage>
          <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
          </InstallTo>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
        </OSImage>
      </ImageInstall>
      <UserData>
        <AcceptEula>true</AcceptEula>
        <FullName>MYPC</FullName>
        <Organization>Notebooksbilliger.de AG</Organization>
      </UserData>
      <EnableFirewall>true</EnableFirewall>
    </component>
  </settings>
  <settings pass="offlineServicing">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <EnableLUA>false</EnableLUA>
    </component>
  </settings>
  <settings pass="offlineServicing">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <EnableLUA>false</EnableLUA>
    </component>
  </settings>
  <settings pass="generalize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SkipRearm>1</SkipRearm>
    </component>
  </settings>
  <settings pass="generalize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SkipRearm>1</SkipRearm>
    </component>
  </settings>
  <settings pass="specialize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <CEIPEnabled>0</CEIPEnabled>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <CEIPEnabled>0</CEIPEnabled>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <ComputerName>DE-B-PC-</ComputerName>
      <ProductKey>NG4HW-VH26C-733KW-K6F98-J8CK4</ProductKey>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <ComputerName>DE-B-PC-</ComputerName>
      <ProductKey>NG4HW-VH26C-733KW-K6F98-J8CK4</ProductKey>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <fDenyTSConnections>false</fDenyTSConnections>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <FirewallGroups>
        <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
          <Active>true</Active>
          <Group>Remote Desktop</Group>
          <Profile>all</Profile>
        </FirewallGroup>
      </FirewallGroups>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UserAuthentication>0</UserAuthentication>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <RequiresUserInput>false</RequiresUserInput>
          <Order>1</Order>
          <Description>Disable Auto Updates</Description>
          <CommandLine>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <Description>Control Panel View</Description>
          <Order>2</Order>
          <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
          <RequiresUserInput>true</RequiresUserInput>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <Order>3</Order>
          <Description>Control Panel Icon Size</Description>
          <RequiresUserInput>false</RequiresUserInput>
          <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
        </SynchronousCommand>
        <SynchronousCommand>
          <Order>4</Order>
          <Description>try to determine the path of nbb-windows-setup.bat file and set environment variable</Description>          
          <CommandLine>IF EXIST D:\nbb-windows-setup.bat. (set MYPCCMDPATH=D:\) ELSE IF EXIST E:\nbb-windows-setup.bat. (SET MYPCCMDPATH=E:\) ELSE (SET MYPCCMDPATH=F:\)</CommandLine>
        </SynchronousCommand>
        <SynchronousCommand>
          <Order>5</Order>
          <Description>execute nbb-windows-setup.bat using the path discovered in step 1</Description>
          <CommandLine>%MYPCCMDPATH%nbb-windows-setup.bat</CommandLine>
        </SynchronousCommand>
      </FirstLogonCommands>
      <AutoLogon>
        <Password>
          <Value/>
          <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <Username>MYPC</Username>
      </AutoLogon>
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <NetworkLocation>Work</NetworkLocation>
        <ProtectYourPC>1</ProtectYourPC>
        <SkipUserOOBE>true</SkipUserOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
      </OOBE>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Password>
              <Value/>
              <PlainText>true</PlainText>
            </Password>
            <Description/>
            <DisplayName>MYPC</DisplayName>
            <Group>Administrators</Group>
            <Name>MYPC</Name>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization>Notebooksbilliger.de AG</RegisteredOrganization>
      <RegisteredOwner>MYPC</RegisteredOwner>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>W. Europe Standard Time</TimeZone>
      <VisualEffects>
        <SystemDefaultBackgroundColor>9</SystemDefaultBackgroundColor>
      </VisualEffects>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <RequiresUserInput>false</RequiresUserInput>
          <Order>1</Order>
          <Description>Disable Auto Updates</Description>
          <CommandLine>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <Description>Control Panel View</Description>
          <Order>2</Order>
          <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
          <RequiresUserInput>true</RequiresUserInput>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <Order>3</Order>
          <Description>Control Panel Icon Size</Description>
          <RequiresUserInput>false</RequiresUserInput>
          <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
        </SynchronousCommand>
      </FirstLogonCommands>
      <AutoLogon>
        <Password>
          <Value/>
          <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <Username>MYPC</Username>
      </AutoLogon>
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <NetworkLocation>Work</NetworkLocation>
        <ProtectYourPC>1</ProtectYourPC>
        <SkipUserOOBE>true</SkipUserOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
      </OOBE>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Password>
              <Value/>
              <PlainText>true</PlainText>
            </Password>
            <Description/>
            <DisplayName>MYPC</DisplayName>
            <Group>Administrators</Group>
            <Name>MYPC</Name>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization>Notebooksbilliger.de AG</RegisteredOrganization>
      <RegisteredOwner>MYPC</RegisteredOwner>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>W. Europe Standard Time</TimeZone>
      <VisualEffects>
        <SystemDefaultBackgroundColor>9</SystemDefaultBackgroundColor>
      </VisualEffects>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-ehome-reg-inf" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
      <RestartEnabled>true</RestartEnabled>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-ehome-reg-inf" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
      <RestartEnabled>true</RestartEnabled>
    </component>
  </settings>
      <settings pass="auditSystem">
        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
            <DriverPaths>
                <PathAndCredentials wcm:keyValue="ae5f5957" wcm:action="add">
                    <Path>\drivers\OKI</Path>
                    <Credentials />
                </PathAndCredentials>
            </DriverPaths>
        </component>
  </settings>
  <settings pass="auditUser">
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Themes>
            <DefaultThemesOff>true</DefaultThemesOff>
        </Themes>
     </component>
 </settings>

</unattend>