locatorvilla.blogg.se

Securityspy dahua unable to deterimine image size
Securityspy dahua unable to deterimine image size











securityspy dahua unable to deterimine image size

OLogging.ReportFailure "USMT 3 cannot be used with destination OS " & oEnvironment.Item("ImageBuild"), 9703 If oEnv("SystemDrive") = "X:" and Right(sUSMTVersion,1) "5.2" then SUSMTPath = oEnvironment.Item("DeployRoot") & "\Tools\" & sUSMTArchitecture & "\" & sUSMTVersion OLogging.CreateEntry "Found scan state files at " & oEnvironment.Item("DeployRoot") & "\Tools\" & sUSMTArchitecture & "\" & sUSMTVersion & "\ScanState.exe", LogTypeInfo If oFSO.FileExists(oEnvironment.Item("DeployRoot") & "\Tools\" & sUSMTArchitecture & "\" & sUSMTVersion & "\ScanState.exe") and sUSMTPath = "" then OLogging.ReportFailure "Unable to find any version of USMT, unable to perform user state migration.", 9701 OLogging.CreateEntry "The USMT files in " & sScanStateFolder & "\USMT3 are the wrong version - " & oFSO.GetFileVersion(sScanStateFolder & "\USMT3\scanstate.exe"), LogTypeWarning OLogging.CreateEntry "Found USMT 3 executables. If Left(oFSO.GetFileVersion(sScanStateFolder & "\USMT3\scanstate.exe"),3) = "6.0" then OLogging.CreateEntry "The USMT files in " & sScanStateFolder & "\USMT4 are the wrong version - " & oFSO.GetFileVersion(sScanStateFolder & "\USMT4\scanstate.exe"), LogTypeWarningĮlseIf oFSO.FileExists (sScanStateFolder & "\USMT3\scanstate.exe") then If Left(oFSO.GetFileVersion(sScanStateFolder & "\USMT4\scanstate.exe"),3) = "6.1" then OLogging.CreateEntry "The USMT files in " & sScanStateFolder & "\USMT5 are the wrong version - " & oFSO.GetFileVersion(sScanStateFolder & "\USMT5\scanstate.exe"), LogTypeWarningĮlseIf oFSO.FileExists (sScanStateFolder & "\USMT4\scanstate.exe") then If Left(oFSO.GetFileVersion(sScanStateFolder & "\USMT5\scanstate.exe"),3) >= "6.2" then If oFSO.FileExists (sScanStateFolder & "\USMT5\scanstate.exe") then SScanStateFolder = oEnvironment.Item("DeployRoot") & "\Tools\" & sUSMTArchitecture OLogging.CreateEntry "The USMT files in " & sScanStateFolder & " are not USMT4 or USMT5", LogTypeInfo OLogging.CreateEntry "Found USMT 4 executables. Using USMT 5", LogTypeInfoĮlseif Left(oFSO.GetFileVersion(sScanStateFolder & "\scanstate.exe"),3) = "6.1" then

securityspy dahua unable to deterimine image size

OLogging.CreateEntry "Found USMT 5 executables. If Left(oFSO.GetFileVersion(sScanStateFolder & "\scanstate.exe"),3) >= "6.2" then If oFSO.FileExists (sScanStateFolder & "\scanstate.exe") then OLogging.CreateEntry "Checking for USMT Files in " & sScanStateFolder, LogTypeInfo SScanStateFolder = oShell.CurrentDirectory & "\" & sUSMTArchitecture SScanStateFolder = oShell.CurrentDirectory & "\.\.\USMT\AMD64" SScanStateFolder = oShell.CurrentDirectory & "\.\.\USMT\X86"Įlseif UCase(Right(oShell.CurrentDirectory,4)) = "\X64" then If UCase(Right(oShell.CurrentDirectory,4)) = "\X86" then If oEnvironment.Item("DeploymentMethod") = "SCCM" Then OLogging.CreateEntry "Windows XP is being deployed, assuming USMT 3", LogTypeInfo If Left(oEnvironment.Item("ImageBuild"),3) "REPLACE" and oEnvironment.Item("DeploymentMethod") "SCCM" Then OLogging.CreateEntry "Setting USMT version to USMT4", LogTypeInfo OLogging.CreateEntry "Setting USMT version to USMT3", LogTypeInfoĮlseif Ucase(oEnvironment.Item("USMT4")) = "YES" and Left(oEnvironment.Item("OSCURRENTVERSION"),3) = "6.0" and oEnvironment.Item("DeploymentMethod") "SCCM" then If Ucase(oEnvironment.Item("USMT3")) = "YES" and Left(oEnvironment.Item("OSCURRENTVERSION"),3) "SCCM" then If oEnvironment.Item("Architecture") = "X86" ThenĮlseIf oEnvironment.Item("Architecture") = "X64" and oEnvironment.Item("DeploymentMethod") = "SCCM" Then '// Determine the architecture to use (needed to find the right files later) OLogging.CreateEntry "User state migration is not supported on server operating systems, exiting.", LogTypeInfo If UCase(oEnvironment.Item("IsServerOS")) = "TRUE" then OLogging.CreateEntry "User state capture bypassed.", LogTypeInfo OLogging.CreateEntry "User state restore bypassed.", LogTypeInfo If UCase(oEnvironment.Item("UserDataLocation")) = "NONE" then '// Exit if user state capture/restore was bypassed or if on a server SDestinationLogicalDrive = oUtility.GetOSTargetDriveLetter

securityspy dahua unable to deterimine image size

If oEnvironment.Item("DeploymentMethod") "SCCM" Then '// Constructor to initialize needed global objects ' // Purpose: Capture and restore user state using USMT ' // Microsoft Deployment Toolkit Solution Accelerator ' // Copyright (c) Microsoft Corporation.













Securityspy dahua unable to deterimine image size