sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.78k stars 1.53k forks source link

Sandboxie failed to install .Net Framework 4.7.1 #1837

Open RisingYoung-Learn opened 2 years ago

RisingYoung-Learn commented 2 years ago

What happened?

install failure. Sandboxie output message: SBIE2205 The service is not implemented: TrustedInstaller E06D7363 SBIE2205 The service is not implemented: TrustedInstaller C0000005 SBIE2205 The service is not implemented: TrustedInstaller 800706BA SBIE2205 The service is not implemented: TrustedInstaller 800706BA

Download link

https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net471-developer-pack-offline-installer

To Reproduce

1.Drag ndp471-devpack-enu.exe into the sandbox DefaultBox. 2.Install step by step according to the installation wizard.

Expected behavior

Successfully installed .Net Framework

What is your Windows edition and version?

Windows Server 2016 Standard [Version 1607 (OS Build 14393.5006)]

In which Windows account you have this problem?

I use the built-in Administrator account.

Please mention any installed security software

Windows Defender

What version of Sandboxie are you running?

Sandboxie Classic 5.55.19 x64

Is it a regression?

No response

List of affected browsers

No response

In which sandbox type you have this problem?

In a Hardened sandbox (red sandbox icon).

Where is the program located?

I tried to install it only inside a sandbox, but I wasn't able to achieve it.

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

[GlobalSettings]

Template=7zipShellEx
Template=WindowsLive
Template=Windows10CoreUI
Template=OfficeLicensing
FileRootPath=D:\Sandbox\%SANDBOX%

[DefaultBox]

ConfigLevel=9
Template=OpenSmartCard
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
BorderColor=#00FFFF,ttl
Enabled=y
OpenPipePath=H:\
CopyLimitKb=99999999
NeverDelete=n
ExposeBoxedSystem=y
UnrestrictedToken=y
MsiInstallerExemptions=y
UnrestrictedSCM=y
KeepTokenIntegrity=y
CallTrace=*
BlockNetParam=n

[UserSettings_4BC00582]

SbieCtrl_UserName=administrator
SbieCtrl_NextUpdateCheck=-1
SbieCtrl_WindowCoords=382,249,818,627
SbieCtrl_ActiveView=40021
SbieCtrl_AutoApplySettings=n
SbieCtrl_TerminateNotify=y
SbieCtrl_TerminateWarn=y
SbieCtrl_ExplorerNotify=y
SbieCtrl_ExplorerWarn=y
SbieCtrl_EditConfNotify=y
SbieCtrl_ReloadConfNotify=y
SbieCtrl_HideWindowNotify=y
SbieCtrl_ProcSettingsNotify=y
SbieCtrl_SettingChangeNotify=y
SbieCtrl_ShortcutNotify=y
SbieCtrl_UpdateCheckNotify=y
SbieCtrl_ShouldDeleteNotify=y
SbieCtrl_ShowWelcome=y
SbieCtrl_ProcessViewColumnWidths=250,70,300
SbieCtrl_BoxExpandedView=AutoCAD,BeyondCompare,DefaultBox,Ensight,MongoDB,QQ,UG_10_APP,UG_10_License_Server,WeChat,WPS
RisingYoung-Learn commented 2 years ago

I use Sandboxie-Plus-x64-v1.0.20.exe to verify, use the following Sandboxie.ini file, and do not report the following information: SBIE2205 The service is not implemented: TrustedInstaller E06D7363 SBIE2205 The service is not implemented: TrustedInstaller C0000005 SBIE2205 The service is not implemented: TrustedInstaller 800706BA SBIE2205 The service is not implemented: TrustedInstaller 800706BA But .Net Framework still fails to install, showing: 0x800700e - Not enough storage to complete this operation. But my storage is ample.

Sandboxie.ini: #

Sandboxie-Plus configuration file

#

[GlobalSettings] FileRootPath=\??\%SystemDrive%\Sandbox\%USER%\%SANDBOX% SeparateUserFolders=y KeyRootPath=\REGISTRY\USER\Sandbox%USER%%SANDBOX% IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION% NetworkEnableWFP=n EnableObjectFiltering=y EnableWin32kHooks=y EditAdminOnly=n ForceDisableAdminOnly=n ForgetPassword=n Template=WindowsLive Template=OfficeLicensing Template=7zipShellEx

[UserSettings_4BC00582] SbieCtrl_AutoStartAgent=SandMan.exe SbieCtrl_EnableAutoStart=y

[DefaultBox] Enabled=y BlockNetworkFiles=y RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}% RecoverFolder=%Personal% RecoverFolder=%Desktop% BorderColor=#00ffff,ttl,6 Template=OpenBluetooth Template=SkipHook Template=FileCopy Template=qWave Template=BlockPorts Template=LingerPrograms Template=AutoRecoverIgnore ConfigLevel=9 BoxNameTitle=n CopyLimitKb=999999999 MsiInstallerExemptions=y PromptForFileMigration=n CopyLimitSilent=y AllowRawDiskRead=y OpenIpcPath=\BaseNamedObjects__ComCatalogCache__ OpenIpcPath=\RPC Control\OLE OpenIpcPath=\RPC Control\LRPC OpenIpcPath=\RPC Control\epmapper ExposeBoxedSystem=y StripSystemPrivileges=n RpcMgmtSetComTimeout=n OpenProtectedStorage=y ReadIpcPath=$:* ClosedFilePath=,InternetAccessDevices RunServicesAsSystem=y RunRpcssAsSystem=y OpenDevCMApi=y OpenSamEndpoint=y OpenLsaEndpoint=y

DavidXanatos commented 2 years ago

I think installing .net Framework into sandboxie is not a recommended use case, it seams very error prone, and in general it should be fine to manually install required MSFT frameworks in the host PC, you can trust them as much as windows itself and nowadays they don't conflict with each other. So unfortunately i don't have time at the moment to look into that.