Im on Win 7 64b. Im trying to run msconfig from my delphi app. The msconfig.exe file is in the system32 folder . I copied the msconfig.exe to the c:\ and it works great. This looks like some kind of permission issue.
var
errorcode: integer;
begin
errorcode :=
ShellExecute(0, 'open', pchar('C:\Windows\System\msconfig.exe'), nil, nil, SW_NORMAL);
if errorcode <= 32 then
ShowMessage(SysErrorMessage(errorcode));
end;
Has anyone seen this and figured out how to run the msconfig.exe from the sys32 .
This behavior is caused by the
File System Redirector
as workaround you can use theWow64DisableWow64FsRedirection
andWow64EnableWow64FsRedirection
functions.