diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ea4988c..d925b4f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - fixed ImDiskApp uninstall key is always written to the registry [#4282](https://github.com/sandboxie-plus/Sandboxie/issues/4282) +### Changed +- improved SandboxieCrypto startup diff --git a/Sandboxie/core/dll/scm_create.c b/Sandboxie/core/dll/scm_create.c index 7a0ef3ce..7f723d62 100644 --- a/Sandboxie/core/dll/scm_create.c +++ b/Sandboxie/core/dll/scm_create.c @@ -993,7 +993,7 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl) STARTUPINFO si; const WCHAR *ProcessName; - BOOLEAN use_sbiesvc = TRUE; + //BOOLEAN use_sbiesvc = TRUE; if (_wcsicmp(name, _bits) == 0) { ProcessName = SandboxieBITS; @@ -1004,11 +1004,11 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl) } else if (_wcsicmp(name, Scm_CryptSvc) == 0) { ProcessName = SandboxieCrypto; - use_sbiesvc = FALSE; + //use_sbiesvc = FALSE; } else ProcessName = NULL; - if (! use_sbiesvc) { + /*if (! use_sbiesvc) { memzero(&si, sizeof(STARTUPINFO)); si.cb = sizeof(STARTUPINFO); @@ -1021,7 +1021,7 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl) CloseHandle(pi.hProcess); return ERROR_SUCCESS; - } + }*/ si.lpReserved = NULL; if (SbieDll_RunFromHome(ProcessName, NULL, &si, NULL)) {