sandboxie-plus / Sandboxie

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

Installing Visual Studio 2022 fails [v1.3.1] #2185

Open ghost opened 2 years ago

ghost commented 2 years ago

Describe what you noticed and did

Just like #1452 and #1576, VS2022 installation fails with "Unable to download installation files. Check your internet connection and try again.

The sandbox has Emulate Admin Rights enabled.

How often did you encounter it so far?

No response

Affected program

Visual studio 2022 community

Download link

https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false

Where is the program located?

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

Expected behavior

Installation success

What is your Windows edition and version?

Windows 10 Pro 21H2 64-bit

In which Windows account you have this problem?

A local or Microsoft account without special changes.

Please mention any installed security software

Microsoft windows defender

What version of Sandboxie are you running?

Sandboxie Plus 1.3.1 64-bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

No response

In which sandbox type you have this problem?

In a Standard isolation sandbox (yellow sandbox icon).

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

No response

blap commented 2 years ago

I got the same error in Sandboxie v1.3.2 / 5.58.2.

With this INI I can install some parts, but don't run:

Enabled=y
RecoverFolder=%{YOUR FOLDER HERE}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#02f6f6,ttl,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=9
AutoRecover=y
BoxNameTitle=n
FakeAdminRights=y
MsiInstallerExemptions=y
CopyLimitKb=-1
OpenProtectedStorage=y
NotifyProcessAccessDenied=y
ReadIpcPath=$:*
AllowRawDiskRead=y
NotifyDirectDiskAccess=y
OpenWinClass=#
StripSystemPrivileges=n
RunServicesAsSystem=y
RpcMgmtSetComTimeout=n
OpenDevCMApi=y
OpenSamEndpoint=y
OpenLsaEndpoint=y
HideOtherBoxes=n
OpenFilePath=*
NoAddProcessToJob=y
BlockNetParam=n
blap commented 2 years ago

I did a clean install of VS Community 2022 ( yellow sandbox, defaut installation for desktop with c++).

INI:

Enabled=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#02f6f6,ttl,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=9
AutoRecover=y
BoxNameTitle=n
FakeAdminRights=y
MsiInstallerExemptions=y
OpenProtectedStorage=y
NotifyProcessAccessDenied=y
CopyLimitKb=-1
ReadIpcPath=$:*
AllowNetworkAccess=<BlockNetAccess>,n
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
OpenWinClass=#
RpcMgmtSetComTimeout=n
OpenDevCMApi=y
OpenSamEndpoint=y
OpenLsaEndpoint=y
HideOtherBoxes=n

When install "Microsoft.DiagnosticsHub.Collection.Service": Error: PID 11032: SBIE2205 Service not implemented: WMI IWbemServices 14

dd_setup_20220914111153_272_Microsoft.DiagnosticsHub.Collection.Service.log

I think the problem is here...

blap commented 1 year ago

IPC problems.txt

pa-0 commented 1 week ago

@blap did you ever figure out a workaround / fix for this?

blap commented 1 week ago

@blap did you ever figure out a workaround / fix for this?

I didn't tried anymore.