Why WIA Driver MS HLK InfVerif::RunInfVerif gives ERROR on Windows 11 22H2 but is WARNING onWindows 11 21H2 for "File path "%11%" in registry may be incorrect in some contexts, use %%SystemRoot%% instead" ?

Divya 1 Reputation point
2022-08-02T16:31:59.247+00:00

Hello MS Community,

We did MS HLK InfVerif::RunInfVerif on our WIA Driver which gives ERROR on Windows 11 22H2 but is WARNING on Windows 11 21H2 for "File path "%11%" in registry may be incorrect in some contexts, use %%SystemRoot%% instead".

We have not done any changes in WIA driver inf but same line generates different behavior in 2 OSes,

Windows 11 21H2 -- WARNING Warning 3/4/2022 9:05:03.688 AM Code 1258, C:\Windows\System32\DriverStore\FileRepository\eswscan6.inf_amd64_83727e8e6f5c4f87\eSWScan6.inf line 294: File path "%11%" in registry may be incorrect in some contexts, use %%SystemRoot%% instead.
Windows 11 22H2 -- ERROR Error 6/14/2022 3:59:51.520 AM Code 1258, C:\Windows\System32\DriverStore\FileRepository\eswscan6.inf_amd64_83727e8e6f5c4f87\eSWScan6.inf line 294: File path "%11%" in registry may be incorrect in some contexts, use %%SystemRoot%% instead.

Please let us know how can we resolve this error or shall wait for stable release from MS?

Regards,
Divya

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,543 questions
0 comments No comments
{count} votes