Atlas-OS / Atlas

🚀 An open and lightweight modification to Windows, designed to optimize performance, privacy and usability.
https://atlasos.net
GNU General Public License v3.0
13.07k stars 507 forks source link

[BUG REPORT] - Activating NetFx3 (.NET 3) keeps failing and breaking DISM in 0.3 #907

Closed xatanu closed 11 months ago

xatanu commented 1 year ago

Description

Hi,

This keeps failing and breaking DISM in my test VM environment:

It complains that a file is in use. Running the DISM command from the command line success. I guess the cause is that AME Wizard (which is developed in C#) blocks a .NET resource that makes dism to fail when trying to install the .NET optional feature.

The only solution I have found is activating NetFx3 feature through windows settings before applying the Playbook or use chocolatey or similar like you did in v0.2

Best

Steps to reproduce (add screenshots if applicable)

  1. Apply 0.3 dev playbook and check disabling Defender
  2. After the computer restart it will say that disabling Defender failed. It's because DISM is broken and fails to install the package properly
  3. Check the TIOutput file and check for errors.

Expected behavior

.NET 3 should be installed Defender should be disabled (if checked in the options)

Actual behavior (add screenshots if applicable)

.NET 3 is not installed Defender is not disabled

Atlas Version

Atlas 10 22H2

Desktop information

VM with Windows 11 22621 8 GB of RAM 4 Processors

Requisites

Additional content

No response

he3als commented 12 months ago

Can you please send TIOutput.txt from C:\ProgramData\AME\Logs?

xatanu commented 12 months ago

I created an empty Playbook just with that line. Here is the playbook and the logs

test_logs.zip test_playbook.zip

xatanu commented 12 months ago

Another log with the latest dev version 9-20-2023-Atlas-AtlasOS.zip