Adding unattended file locations

C root unattend.xml, unattended.xml, Autounattend.xml - but really, every root should be checked
This commit is contained in:
Sean Pierce 2017-12-14 18:43:09 -06:00 committed by GitHub
parent c7985c9bc3
commit c0c2b2a8fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -2957,6 +2957,9 @@ function Get-UnattendedInstallFile {
$SearchLocations = @( "c:\sysprep\sysprep.xml",
"c:\sysprep\sysprep.inf",
"c:\sysprep.inf",
"c:\unattend.xml",
"c:\unattended.xml",
"C:\Autounattend.xml",
(Join-Path $Env:WinDir "\Panther\Unattended.xml"),
(Join-Path $Env:WinDir "\Panther\Unattend\Unattended.xml"),
(Join-Path $Env:WinDir "\Panther\Unattend.xml"),