All posts by rootBlog

Windows: sysprep fails with “Failure occurred while executing ‘Sysprep_Clean_Opk’ “

Hi,

after an Upgrade from Windows 10 to Windows 11 on a customer PC sysprep is no longer working. Unfortunataly the error messages in C:\Windows\System32\sysprep\Panther\setuperr.log does not really help to find the root cause:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Error                        pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666
Error                 SYSPRP RemoveUninstall:Failed to instantiate uninstall interface; hr = 0x80070666
Error                 SYSPRP Sysprep_Clean_Opk:Failed to remove Uninstall; dwRet = 0x666
Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x666
Error                 SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0x666
Error                 SYSPRP SysprepSession::ExecuteInternal: Error in executing action for Microsoft-Windows-Sysprep-SpOpk; dwRet = 0x666
Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x666
Error                 SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x666
Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x666
Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070666
Error      [0x0f0060] SYSPRP ParseCommands:Found unsupported command line option '/?'
Error      [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0
Error      [0x0f0060] SYSPRP ParseCommands:Found unsupported command line option '/?'
Error      [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0

Continue reading Windows: sysprep fails with “Failure occurred while executing ‘Sysprep_Clean_Opk’ “

Windows: Add a virtual interface for each 802.1q tagged vlan

Hi,

let use assume you have a network adapter with multiple tagged 802.1q vlans on it. Previously, Intel published the Advanced network services. In the past this could be used to create a virtual network adapter for each VLAN id. Unfortunatly the tool is deprected.

Continue reading Windows: Add a virtual interface for each 802.1q tagged vlan

XML: Selectnode XPath query independend from namespace

Hi,

i got the following xml structure and want to select just the the “Data” node with the attribute “CommandLine” without defining a namespace object first.
Continue reading XML: Selectnode XPath query independend from namespace

OpenVPN: OpenVPN asks for a password

Hi,

after migrating to a new client and installing the latest version of OpenVPN, OpenVPN asks for a password while trying to connect to the server.
Continue reading OpenVPN: OpenVPN asks for a password

bash: Redirect all STDIN to a file

Hi,

to simply redirect all incoming input from STDIN to a file you can use less.
Continue reading bash: Redirect all STDIN to a file