The cmd.exe under system32 is 64bit but running c:\windows\system32\cmd.exe /c …. still causes problem if it’s called from 32bit app, like sccm client or c:\windows\syswow64\cmd.exe
So calling c:\windows\system32\cmd.exe explicitly didn’t help.
The solution is using sysnativealias, example : c:\windows\sysnative\cmd.exe
Because when you use sysnative you also say don’t redirect me to windows.
You may experiencing this problem for DISM operations in Windows, in that case change your working folder to C:\Windows\System32 or call DISM from this folder to get rid of this error.
1 comment:
Thank you, this saved the day for me!
Post a Comment