none
Windows 10 Pro V. 1607 fallisce il comando: c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown RRS feed

  • Domanda

  • Buongiorno,
    devo installare diversi PC ed avevo pensato di prepararne uno solo per poi adoperare sysprep per creare un'immagine di base da redistribuire su tutti gli altri PC. Ma sysprep fallisce. Quindi ho provato anche con la sola installazione pulita di Windows 10 Pro V. 1607. Questa installazione non è mai stata messa in rete, è pulita, nessun programma o driver aggiunti. Ma sysprep fallisce di nuovo.
    I passaggi:

    - Ho eseguito CMD come amministratore.
    - Il prompt dei comandi si è aperto con il path c:\windows\system32.
    - Io ho digitato prima cd sysprep e premuto invio.
    - Di seguito o digitato sysprep /oobe /generalize /shutdown.
    - E' apparsa la finestrina con i led che scorrevano da destra a sinistra.
    - Poi è apparsa una schermata blu con scritto: Il pc ha riscontrato un problema e deve essere riavviato. ecc. ecc..

    Al successivo riavvio ho rifatto la stessa procedura di prima ma questa volta è apparso un errore che non puè essere eseguito il comando sysprep e di controllare il log setupact.log.

    Purtroppo non entra tutto  il setupact.log con entrambi i due tentativi. Taglio una grossa parte del primo tentativo perché non entra, mentre lascio intero il secondo (primo tentativo ore 16:18, secondo 16:22):
    2016-11-07 16:18:01, Info                  SYSPRP ========================================================
    2016-11-07 16:18:01, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-11-07 16:18:01, Info                  SYSPRP ========================================================
    2016-11-07 16:18:01, Info       [0x0f004d] SYSPRP The time is now 2016-11-07 16:18:01
    2016-11-07 16:18:01, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2016-11-07 16:18:01, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-11-07 16:18:01, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-11-07 16:18:01, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-11-07 16:18:01, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-11-07 16:18:01, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-11-07 16:18:01, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-11-07 16:18:01, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-11-07 16:18:01, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-11-07 16:18:01, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-11-07 16:18:01, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-11-07 16:18:01, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-11-07 16:18:01, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2016-11-07 16:18:01, Info                  SYSPRP All appx packages were verified to be inbox or alluser installed.

    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll without error
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
    2016-11-07 16:18:01, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSearchForUnattend: No unattend file was specified or located; skipping unattend generalize pass.
    2016-11-07 16:18:01, Info       [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
    2016-11-07 16:18:01, Info       [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 3
    2016-11-07 16:18:01, Info       [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Cleanup
    2016-11-07 16:18:01, Warning    [0x0f008f] SYSPRP RunRegistryDlls:Registry key is either empty or malformed: SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Cleanup
    2016-11-07 16:18:01, Info       [0x0f00ad] SYSPRP WinMain:Processing 'generalize' extrenal provider request.
    2016-11-07 16:18:01, Info       [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 1
    2016-11-07 16:18:01, Info       [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Generalize
    2016-11-07 16:18:01, Warning    [0x0f008f] SYSPRP RunRegistryDlls:Registry key is either empty or malformed: SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Generalize
    2016-11-07 16:18:01, Info       [0x0f003f] SYSPRP WinMain:Processing 'cleanup' internal provider request.
    2016-11-07 16:18:01, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-11-07 16:18:01, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::Execute: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:18:01, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: After sorting, providers will be excuted in this order:
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-Sysprep-SpOpk, order: 100d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-SQMApi, order: 300d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-EventLog, order: 400d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-LpkSetup, order: 500d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-SystemMaintenanceService-Core, order: 600d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-SystemRestore-Main, order: 800d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-Shell-Setup, order: 900d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-ErrorReportingCore, order: a00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:WindowsSearchEngine, order: b00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-IE-Sysprep, order: c00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-Sysprep-SpNet, order: d00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-TaskScheduler-Service, order: e00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-Cryptography, order: f00d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-UXInit, order: 1000d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-COM-DTC-Runtime, order: 1100d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-TapiSetup, order: 1200d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-TabletPC-InputPersonalization, order: 1300d
    2016-11-07 16:18:01, Info                  SYSPRP SysprepSession::ExecuteInternal: name:Microsoft-Windows-Compat-GeneralTel, order: 1500d
    2016-11-07 16:18:01, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-Sysprep-SpOpk
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll without error
    2016-11-07 16:18:01, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-SQMApi
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SqmSysprepCleanup' in sqmapi.dll; executing it
    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SqmSysprepCleanup' from sqmapi.dll without error
    2016-11-07 16:18:01, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-EventLog
    2016-11-07 16:18:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'EvtIntSysprepCleanup' in C:\Windows\System32\wevtapi.dll; executing it
    2016-11-07 16:18:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'EvtIntSysprepCleanup' from C:\Windows\System32\wevtapi.dll without error
    2016-11-07 16:18:01, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-LpkSetup
    2016-11-07 16:18:02, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Generalize_MUILangCleanup' in C:\Windows\System32\LangCleanupSysprepAction.dll; executing it
    2016-11-07 16:18:02, Info                  SYSPRP Sysprep_Generalize_MUILangCleanup Start.
    2016-11-07 16:18:02, Info                  SYSPRP Disabling CMF cache SUCCEEDED
    2016-11-07 16:18:02, Info                  SYSPRP Removing scheduled task for running lpremove.exe and all related data
    2016-11-07 16:18:02, Info                  SYSPRP Removing scheduled task for lpremove.exe succeeed
    2016-11-07 16:18:02, Info                  SYSPRP Removing MUIUnattend-OOBE handshake value
    2016-11-07 16:18:02, Info                  SYSPRP MUIUnattend-OOBE handshake value is not present on the system
    2016-11-07 16:18:02, Info                  SYSPRP Sysprep_Generalize_MUILangCleanup End.
    2016-11-07 16:18:02, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Generalize_MUILangCleanup' from C:\Windows\System32\LangCleanupSysprepAction.dll without error
    2016-11-07 16:18:02, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-SystemMaintenanceService-Core
    2016-11-07 16:18:02, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'PfSvSysprepCleanup' in C:\Windows\System32\sysmain.dll; executing it
    2016-11-07 16:18:03, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'PfSvSysprepCleanup' from C:\Windows\System32\sysmain.dll without error
    2016-11-07 16:18:03, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-SystemRestore-Main
    2016-11-07 16:18:03, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepCleanup' in srclient.dll; executing it
    2016-11-07 16:18:03, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SysprepCleanup' from srclient.dll without error
    2016-11-07 16:18:03, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-Shell-Setup
    2016-11-07 16:18:03, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Cleanup_Shell' in C:\Windows\System32\shsetup.dll; executing it
    2016-11-07 16:18:03, Info                         [shsetup] Sysprep_Cleanup_Shell entered
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'SkipMachineOOBE' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'SkipUserOOBE' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'HideEULAPage' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'NetworkLocation' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'ProtectYourPC' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'HideWirelessSetupInOOBE' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'HideOnlineAccountScreens' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'HideLocalAccountScreen' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'HideOEMRegistrationScreen' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'OEMAppId' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'SysprepUserSid' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\OOBE' + 'UnattendEnableRetailDemo' returned 2
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\Setup\OOBE' + 'MediaBootInstall' returned 0
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\Setup\OOBE' + 'SetupDisplayedProductKey' returned 0
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\Setup\OOBE' + 'SetupDisplayedEula' returned 0
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\Setup\OOBE' + 'SetupDisplayedLanguageSelection' returned 0
    2016-11-07 16:18:03, Info                         [shsetup] SHDeleteValue on 'Software\Microsoft\Windows\CurrentVersion\Setup\OOBE' + 'SetupSQMOptIn' returned 2
    .....
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Skipping uninstall of persistent device SWD\PRINTENUM\{52C40F41-6A08-4181-85FC-1C33AA5011ED}.
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Finished uninstalling all existing devices.
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Launching task '\Microsoft\Windows\Plug and Play\Sysprep Generalize Drivers'
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Started task '\Microsoft\Windows\Plug and Play\Sysprep Generalize Drivers'...
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Task state changed to TASK_STATE_READY.
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Task state changed to TASK_STATE_RUNNING.
    2016-11-07 16:18:06, Info                  SYSPRP SPPNP: Sysprep_Generalize_Pnp_Drivers: Enter
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured audioendpoint.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_1394.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_61883.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_apo.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_avc.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_barcodescanner.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_battery.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_biometric.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_bluetooth.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_cashdrawer.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_cdrom.inf.
    2016-11-07 16:18:09, Info                  SYSPRP SPPNP: Configured c_computer.inf.
    ........
    2016-11-07 16:18:26, Info                  SYSPRP SPPNP: Configured ykinx64.inf.
    2016-11-07 16:18:26, Info                  SYSPRP SPPNP: Configured oem0.inf (prnms009.inf).
    2016-11-07 16:18:26, Info                  SYSPRP SPPNP: Configured oem1.inf (prnms001.inf).
    2016-11-07 16:18:26, Info                  SYSPRP SPPNP: Sysprep_Generalize_Pnp_Drivers: Exit
    2016-11-07 16:22:42, Info                  SYSPRP ========================================================
    2016-11-07 16:22:42, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-11-07 16:22:42, Info                  SYSPRP ========================================================
    2016-11-07 16:22:42, Info       [0x0f004d] SYSPRP The time is now 2016-11-07 16:22:42
    2016-11-07 16:22:42, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2016-11-07 16:22:42, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-11-07 16:22:42, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-11-07 16:22:42, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-11-07 16:22:42, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-11-07 16:22:42, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-11-07 16:22:42, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-11-07 16:22:42, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-11-07 16:22:42, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:22:42, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-07 16:22:42, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-11-07 16:22:42, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-11-07 16:22:42, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-11-07 16:22:42, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-11-07 16:22:42, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-07 16:22:42, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:22:42, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-07 16:22:42, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-07 16:22:42, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-11-07 16:22:42, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2016-11-07 16:22:43, Info                  SYSPRP All appx packages were verified to be inbox or alluser installed.

    2016-11-07 16:22:43, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll without error
    2016-11-07 16:22:43, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
    2016-11-07 16:22:43, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
    2016-11-07 16:22:43, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2016-11-07 16:22:43, Info                  SYSPRP SysprepSearchForUnattend: No unattend file was specified or located; skipping unattend generalize pass.
    2016-11-07 16:22:43, Info       [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
    2016-11-07 16:22:43, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f
    2016-11-07 16:22:43, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitL
    2016-11-07 16:22:43, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
    2016-11-07 16:22:47, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2016-11-07 16:22:47, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2016-11-07 16:22:47, Info       [0x0f004d] SYSPRP The time is now 2016-11-07 16:22:47
    martedì 8 novembre 2016 17:53

Risposte

  • La schermata blu mi fa pensare ad un problema di driver in fase di pulizia, quindi ti consiglio di utilizzare un file Unattend con specificate le opzioni "PersistAllDeviceInstalls" e "DoNotCleanUpNonPresentDevices" abilitate.

    PS: Una volta che fallisce un sysprep (anche con un messaggio di errore, non necessariamente con una schermata blu) solitamente l'immagine è compromessa e non possono essere fatti altri tentativi di generalizzazione. In realtà esistono dei workaround che, tramite la modifica di determinate chiavi di registro, in alcuni casi permettono di "recuperare" l'immagine, ma personalmente non li consiglio.

    martedì 8 novembre 2016 21:07
    Moderatore
  • No, nel tuo caso devi ovviamente utilizzare un disco Windows 10.

    venerdì 11 novembre 2016 08:49
    Moderatore

Tutte le risposte

  • La schermata blu mi fa pensare ad un problema di driver in fase di pulizia, quindi ti consiglio di utilizzare un file Unattend con specificate le opzioni "PersistAllDeviceInstalls" e "DoNotCleanUpNonPresentDevices" abilitate.

    PS: Una volta che fallisce un sysprep (anche con un messaggio di errore, non necessariamente con una schermata blu) solitamente l'immagine è compromessa e non possono essere fatti altri tentativi di generalizzazione. In realtà esistono dei workaround che, tramite la modifica di determinate chiavi di registro, in alcuni casi permettono di "recuperare" l'immagine, ma personalmente non li consiglio.

    martedì 8 novembre 2016 21:07
    Moderatore
  • Ho eseguito come da Lei descritto. Ho creato il file sysprep.txt. Al suo interno ho inserito le seguenti due righe:

    <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>

    Ho eseguito il comando: sysprep /unattend:sysprep.txt /oobe /generalize /shutdown

    Si apre una finestra d'informazione (cerchio blue con "i" centrale) che riporta:
    "Impossibile analizzare o elaborare il file di risposte per l'installazione automatica [sysprep.txt]. Il file non è valido. Errore rilevato alla riga 2, colonna 1 del file di risposte."

    Premo il tasto "OK", l'unici,  di quella finestra e dopo qualche secondo si riavvia il pc.

    Nel file di log viene riportatolo stesso messaggio con il codice di errore 0x800705b9.
    Ma il primo errore è così scritto: UnattendFindAnswerFile: unable to deserialize explicity provider unattend file [sysprep.txt]; status = 0x1, hrResult = 0x800705b9

    Di seguito il il log appena generato:

    2016-11-09 13:34:21, Info                  SYSPRP ========================================================
    2016-11-09 13:34:21, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-11-09 13:34:21, Info                  SYSPRP ========================================================
    2016-11-09 13:34:21, Info       [0x0f004d] SYSPRP The time is now 2016-11-09 13:34:21
    2016-11-09 13:34:21, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2016-11-09 13:34:21, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-11-09 13:34:21, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-11-09 13:34:21, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2016-11-09 13:34:21, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-11-09 13:34:21, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-11-09 13:34:21, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-11-09 13:34:21, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-11-09 13:34:21, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-11-09 13:34:21, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-11-09 13:34:21, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-11-09 13:34:21, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-09 13:34:21, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-09 13:34:21, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-09 13:34:21, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-09 13:34:21, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-09 13:34:21, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-09 13:34:21, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-09 13:34:21, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-11-09 13:34:22, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-11-09 13:34:22, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-11-09 13:34:22, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-11-09 13:34:22, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-11-09 13:34:22, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-11-09 13:34:22, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-09 13:34:22, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-11-09 13:34:22, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-11-09 13:34:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-11-09 13:34:22, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-09 13:34:22, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-11-09 13:34:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-11-09 13:34:22, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
    2016-11-09 13:34:22, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
    2016-11-09 13:34:22, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-11-09 13:34:22, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
     
    2016-11-09 13:34:23, Info                  SYSPRP All appx packages were verified to be inbox or alluser installed.
     
    2016-11-09 13:34:23, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll without error
    2016-11-09 13:34:23, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2016-11-09 13:34:23, Info                         [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [Unattend.xml]...
    2016-11-09 13:34:23, Error                        [sysprep.exe] UnattendFindAnswerFile: Unable to deserialize explicitly provided unattend file [Unattend.xml]; status = 0x1, hrResult = 0x800705b9.
    2016-11-09 13:34:23, Warning               SYSPRP SysprepSearchForUnattend: Found invalid unattend file while searching; hr = 0x1
    2016-11-09 13:34:23, Warning               SYSPRP WinMain:Encountered invalid unattend file during search; hrResult = 0x800705b9
    2016-11-09 13:34:23, Info                  IBS    UnattendErrorFromResults: Hit an unattend error; dumping any info we have about the failure...
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: ------Unattend setting error / warning------
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: Error code = 0x800705b9
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: File path = [Unattend.xml]
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: Line number = 2
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: Column number = 1
    2016-11-09 13:34:23, Info                  IBS    UnattendDumpSetting: --------------------------------------------
    2016-11-09 13:34:23, Info                  IBS    UnattendErrorFromResults: Error text = Impossibile analizzare o elaborare il file di risposte per l'installazione automatica [Unattend.xml]. Il file di risposte non è valido. Errore rilevato alla riga 2, colonna 1 del file di risposte.
    2016-11-09 13:35:26, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2016-11-09 13:35:26, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2016-11-09 13:35:26, Info       [0x0f004d] SYSPRP The time is now 2016-11-09 13:35:26

    mercoledì 9 novembre 2016 11:04
  • Ho eseguito come da Lei descritto. Ho creato il file sysprep.txt. Al suo interno ho inserito le seguenti due righe:

    <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>

    Ho eseguito il comando: sysprep /unattend:sysprep.txt /oobe /generalize /shutdown

    Il file Unattend non si fa esattamente così....

    https://technet.microsoft.com/en-us/library/cc749317(v=ws.10).aspx


    mercoledì 9 novembre 2016 13:42
    Moderatore
  • Siccome non l'ho mai fatto prima, mi confermi che devo usare il software presente dentro "Windows Vista product DVD"?.

    giovedì 10 novembre 2016 16:40
  • No, nel tuo caso devi ovviamente utilizzare un disco Windows 10.

    venerdì 11 novembre 2016 08:49
    Moderatore
  • OK! Su questo link mi è un po più chiaro. Nei prossimi giorni proverò questa procedura.
    Nel frattempo sono riuscito a fare l'operazione su un computer diverso dagli ultimi arrivati. Utilizzando solo "sysprep /oobe /generalize /shutdown"

    Si vede che questi ultimi computer arrivati, han problemi con i driver e non è possibile utilizzare la stessa procedura, ma deve essere utilizzato il metodo da te suggerito "sysprep /unattend:Unattend.xml /oobe /generalize /shutdown". Il file Unattend.xml preparato con l'ausilio dell'applicativo da scaricare da questo link https://developer.microsoft.com/it-it/windows/hardware/windows-assessment-deployment-kit. Nel mio caso per la Versione di Windows 10 1607.

    Grazie

    martedì 15 novembre 2016 09:14