View Issue Details

IDProjectCategoryView StatusLast Update
0010416CTT UA Package8 - Packagepublic2025-07-05 15:18
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0010416: Certificate generation fails because wmic is no longer available in Windows 11
Description

create_ctt_pki.bat script fails because it assumes wmic is available, which is no longer the case in Windows 11.

Will you be using the fix I gave you at the IOP for the upcoming release?

Error:

PS C:\Program Files (x86)\OPC Foundation\UA 1.04\Compliance Test Tool> .\create_ctt_pki.bat
'wmic' is not recognized as an internal or external command,
operable program or batch file.

Current DateTime is ~0,4-~4,2-0000028:0000006,2 0000036:0000008,2:0000040:0000010,2:0000049:0000012,2.0000047:0000015,6s
Initialize folder structures
The directory or file cannot be created.
The directory or file cannot be created.

Fix:

for /f "tokens=1-7 delims=-:. " %%a in ('powershell -command "Get-Date -Format yyyyMMddHHmmssfff"') do (
set X=%%a
)
echo.%X%

TagsNo tags attached.
Files Affected

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-07-04 10:10 Alexander Allmendinger New Issue
2025-07-05 15:18 Paul Hunkar Assigned To => Alexander Allmendinger
2025-07-05 15:18 Paul Hunkar Status new => assigned