Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

[BUG] - Many Automatic Maintenance tasks seemingly don't run

Open Evonos opened this issue 1 year ago • 8 comments

What is your feature request regarding to?

Atlas Playbook

Is your feature request related to a problem? Please describe.

Description Automatic Maintenance does many Good ( and some bad ) things. it should be Edited to leave out the "bad" things and leave the "good" things enabled.

Steps to reproduce Install Atlas OS.

Expected behavior Automated Maintenance Should still run the Critical components as in :

SmartScreenSpecific: updates application signatures for SmartScreen.

  • CleanupTemporaryState: clears temporary files in AppX (Metro/UWE) app packages. rundll32 Windows.Storage.ApplicationData.dll,CleanupTemporaryState.
  • Pre-Staged App Cleanup: part of the AppX cleanup process. rundll32 AppxDeploymentClient.dll,AppxPreStageCleanupRunTask.
  • ProactiveScan: Does a chkdsk scan.
  • ScheduledDefrag: runs the Windows Defragmenter: defrag -c -h -o -$. This is often the task that takes the longest. Oddly, the -h switch makes it run at normal instead of low priority, which is odd for automatic maintenance. ( yes even important for NVME and SSD it does trim and stuff )
  • Diagnosis\Scheduled: runs Windows Diagnostics.
  • SilentCleanup: runs Disk Cleanup: cleanmgr /autoclean /d %systemdrive%. DiskDiagnosticDataCalculator: runs disk diagnostics. rundll32 dfdts.dll,DfdGetDefaultPolicyAndSMART.
  • RunFullMemoryDiagnostic: a RAM diagnostic.
  • LPRemove: runs lpremove which removes unnecessarily or unusable language packs.
  • Plug And Play Cleanup: clears the state information for any Plug and Play devices which haven't been used for 30 days.
  • AnalyseSystem: runs Power Efficiency Diagnostics.
  • RegIdleBackup: makes a backup of the registry.
  • MRTHB: runs MRT /EHB /Q. This is the Malicious Software Removal tool, so this is likely a security scan. **- StartComponentCleanup: cleans up the WinSxS directory that holds optional Windows component images.
  • AccountCleanup: cleans up ancient user profiles on network shared machines.
  • ResPriStaticDBSync.
  • WsSwapAssessmentTask. Sysmain part.
  • SystemRestore. srtasks ExecuteScheduledSPPCCreation. Makes a Restore Point. - SynchronizeTime. sc start w32time task_started. Syncs the system clock. SynchronizeTimeZone. tzsync. Connected to the above. - Maintenance Install. usoclient StartInstall. Installs any Windows Updates that have been downloaded but not installed yet. Work Folders Maintenance Work. Relates to the Work Folders file sharing server system. Actual behavior Maintenance service is disabled which is a High risk for multiple security and hardware related issues.

Atlas Edition Atlas for Windows 11 23H2

Desktop information Not necessary its a "cut down too much " issue on Atlas part.

Additional content Disabling maintenance makes the OS slower , prone to more bugs , Trashing itself , and at risk of security and undiscovered hardware failures.

Describe the solution you would like.

see #1095 for better formatting

Describe alternatives you have considered.

see #1095 for better formatting

Additional context.

see #1095 for better formatting

Evonos avatar May 04 '24 13:05 Evonos

Automatic maintenance is enabled, can you elaborate further if it's somehow not functioning correctly?

he3als avatar May 04 '24 18:05 he3als

Automatic maintenance is enabled, can you elaborate further if it's somehow not functioning correctly?

hmm it says for me Deactivated and managed by System administrator ( which usually is group policys )

Evonos avatar May 04 '24 20:05 Evonos

Automatic maintenance is enabled, can you elaborate further if it's somehow not functioning correctly?

i also checked while "Technically" maintenance isnt fully forced off , maintenance tasks seemingly dont run , like ResPriStaticDbSync and WsSwapAssessmentTask which run during maintenance ( set to 1x per day for me as test ) they just never run not even when i leave the PC idle for hours Like right now it says "Last ran 3.5.2024 (DD/MM/YYYY) " while technically it should run each day. i can force these to run but ... yeah maintenance doesnt seem to run as it should.

theres also no "failed" message or anything they just wont run automatically.

Evonos avatar May 06 '24 13:05 Evonos

Those are SysMain related tasks, for now enable it. In the future version, you will be able to enable/disable Sysmain in Atlas configuration folder. (Enabled - Default).

Thanks.

Xyueta avatar May 31 '24 19:05 Xyueta

I'm going to re-open this as I think it's best to keep issues open until there's a new release for transparency with users.

he3als avatar Jun 01 '24 16:06 he3als

If you want to re-enable SysMain for these tasks:

  1. Go to https://raw.githubusercontent.com/Atlas-OS/Atlas/main/src/playbook/Executables/AtlasDesktop/6.%20Advanced%20Configuration/Services/Superfetch/Enable%20SuperFetch%20(default).cmd
  2. On the page, right-click and click 'Save as'
  3. If not already a .cmd file on download, rename it in File Explorer to have a .cmd extension
  4. Run the script
  5. Restart your computer

Also, run this in CMD as an administrator:

schtasks /Change /TN "\Microsoft\Windows\Diagnosis\Scheduled" /ENABLE

he3als avatar Jun 12 '24 16:06 he3als

https://raw.githubusercontent.com/Atlas-OS/Atlas/main/src/playbook/Executables/AtlasDesktop/3.%20General%20Configuration/Superfetch/Enable%20SuperFetch%20(default).cmd

If you want to re-enable SysMain, use this.

that link is broken now. "404 not found"

Evonos avatar Jun 14 '24 10:06 Evonos

https://raw.githubusercontent.com/Atlas-OS/Atlas/main/src/playbook/Executables/AtlasDesktop/6.%20Advanced%20Configuration/Services/Superfetch/Enable%20SuperFetch%20(default).cmd

Moved to another folder in a recent PR.

pencilnav avatar Jun 14 '24 12:06 pencilnav

Fixed in release v0.4.1. See the release for more info on what v0.4 users can do.

he3als avatar Oct 09 '24 20:10 he3als