The problem is this: My portable application requires the presence of files / drivers in the "System32" / SysWOW folder. I will say that the application will not work even if you put the files in the root folder. How to make them either emulated or copied to the System32 folder / WOW and then deleted. It is reasonable to use the first option, of course, but I do not know how ...
I tried to use .bat(RunAsAdmin) - access denied