Ajout dela structure MDT dans Infra-LAB

This commit is contained in:
2026-05-24 16:21:20 +02:00
parent fed8d42171
commit 049b03b4d4
522 changed files with 105109 additions and 0 deletions
@@ -0,0 +1,51 @@
' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
' //
' // File: DeployWiz_Validation.vbs
' //
' // Version: 6.3.8456.1000
' //
' // Purpose: Main Client Deployment Wizard Validation routines
' //
' // ***************************************************************************
Option Explicit
Dim UserID_isDirty
UserID_isDirty = FALSE
Function ValidateCredentials
UserID_isDirty = TRUE
ValidateCredentials = ParseAllWarningLabelsEx(userdomain, username )
End Function
Function ValidateCredentialsEx
Dim r
ValidateCredentialsEx = ValidateCredentials
InvalidCredentials.style.display = "none"
If ValidateCredentialsEx and oEnvironment.Item("OSVersion") <> "WinPE" then
' Check using ADSI (not possible in Windows PE)
r = CheckCredentials("", username.value, userdomain.value, userpassword.value)
If r <> TRUE then
InvalidCredentials.innerText = "* Invalid credentials: " & r
InvalidCredentials.style.display = "inline"
ValidateCredentialsEx = false
End if
End if
End function