Slimdown10_v2.0.2 (continued)

Discussion in 'Windows 10' started by SunLion, Sep 1, 2024.

  1. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    The SD10_Renewed_1.32_Start.cmd script generates a log file that records possible errors.

    Can you check and post it?
     
  2. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,863
    15,562
    120
    Apologize for harping on this issue!
    I have researched how to install/restore modern calc what I tried so far.
    1. Disabled & removed defender & antivirus
    2. Performed many clean installs with fresh sources & OS
    3. Performed a re registering of the modern calc app using this code.
    Code:
    Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "\((\)_.InstallLocation)\AppXManifest.xml"}
    4. Did fresh install then manually downloaded the modern calc from MS & it installs no problem & it works!
    Is there something I could be overlooking?
     
  3. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    Did the code above solve the problem?

    Which ISO image was used for your last clean install: untouched or modified with the script?

    In your case, we may need to run several tests. Answer the questions above and we'll see what we can do.
     
  4. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60

    Attached Files:

  5. ashish1989

    ashish1989 MDL Addicted

    Sep 20, 2013
    524
    126
    30
    Slimdown Windows 10 IoT Enterprise x64
    Windows 10 IoT Enterprise
    Eset Internet Security
    Yes
     
  6. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,863
    15,562
    120
    #847 Mavericks Choice, Sep 23, 2025
    Last edited: Sep 23, 2025
    1. Code did not fix the Calc
    2. Script source ISO 19045.1826.220707-2303.22H2
    3. Host is 19045.6332 modified with the script
     
  7. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    Have you checked that all files are present in the Bin and Tools folders?

    Does the script open when you run it?

    What is the process's behavior?
     
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    This is really strange, because the calc is integrated when you run the script...

    And the most intriguing thing is that I haven't had any problems in any of the tests I've done...

    I'll think about it further and come up with an alternative. I'll come back with some suggestions.
     
  9. ashish1989

    ashish1989 MDL Addicted

    Sep 20, 2013
    524
    126
    30
    No
    Opening and closing within faction of seconds
     
  10. Shrinklier

    Shrinklier MDL Novice

    Jul 7, 2022
    9
    24
    0
    There are a few things you can try to find the source of the problem:
    -Temporarily uninstall ESET as it is still running even if you disable it.
    -Add "PAUSE" after each operation in the Start script to identify the problematic line.
    -Try to run the script from a VM with original Windows installed.
     
  11. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,863
    15,562
    120


    I noticed the MS calc I downloaded post script install is identical to the one you include in the appx dir, yet post script the included modern calc program file will not open?
     

    Attached Files:

  12. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    Try running SFC /scannow to see if it resolves the issue.

    If it doesn't, try:

    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth


     
  13. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,273
    4,438
    60
    =====================
    SD10_Renewed_1.34
    =====================
    Updated to version 1904x.6332


    In an attempt to adjust the functioning of the Modern Calculator, at the request of @Mavericks Choice, the codes below were adjusted:

    Code:
    --------
    Removed:
    --------
    
    Line 2342
    - Disable User Account Control
    
    Line 2431
    - Account Protection will always be disabled
    
    Line 2480
    - Disable Meltdown and Spectre fixes for speed
    
    ---------
    Modified:
    ---------
    
    Line 2878
    if "%EnableClassicCalculator%"=="0" (
    copy /y "%~dp0Hotfixes\APPX\Microsoft.WindowsCalculator_*_neutral_~_8wekyb3d8bbwe.Msixbundle" "%~dp0OEM\$OEM$\$$\Setup\APP"
    )
    
    ---------
    Added in $OEM$\$$\Setup\RunonceEx.cmd:
    ---------
    if exist "%Windir%\Setup\APP\*.msixbundle" (
    DISM /online /Add-ProvisionedAppxPackage /PackagePath:"%Windir%\Setup\APP\Microsoft.WindowsCalculator_2021.2502.2.0_neutral_~_8wekyb3d8bbwe.Msixbundle" /SkipLicense
    )
    
    - Minor script adjustments


    Tested with:

    - 19045.1826.220708-0121.22H2_RELEASE_SVC_REFRESH_CLIENTBUSINESS_VOL_X64FRE_PT-BR.ISO


    The Docs folder contains test images and log files



    https://forums.mydigitallife.net/threads/slimdown10_v2-0-2-continued.88599/
     
  14. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    803
    366
    30
    any suggestion for alternative to defender.? @hoak
    just something that uses lower resources if it exists
     
  15. hoak

    hoak MDL Senior Member

    Nov 13, 2009
    400
    1,092
    10
  16. rayman95

    rayman95 MDL Member

    Oct 3, 2018
    199
    133
    10
    Use bitdefender free AV and fort firewall, and you are good to go
     
  17. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,863
    15,562
    120
    #860 Mavericks Choice, Sep 25, 2025 at 09:30
    Last edited: Sep 25, 2025 at 10:16
    working calc.jpg
    @SunLion Im glad I persisted with this cause you have now absolutely nailed this issue. Thank you friend its now perfect!!