diff --git a/src/windows-emulator/windows_emulator.cpp b/src/windows-emulator/windows_emulator.cpp index 3c83c06f..99425dbb 100644 --- a/src/windows-emulator/windows_emulator.cpp +++ b/src/windows-emulator/windows_emulator.cpp @@ -293,6 +293,7 @@ namespace proc_params.Environment = allocator.copy_string(L"=::=::\\"); allocator.copy_string(L"EMULATOR=1"); allocator.copy_string(L"COMPUTERNAME=momo"); + allocator.copy_string(L"SystemRoot=C:\\WINDOWS"); allocator.copy_string(L""); std::wstring command_line = L"\"" + settings.application.wstring() + L"\"";