[PowerShell] Sophia Script for Windows 10 & Windows 11 | 5.17.8 | 6.5.8 | x64 2023

Discussion in 'Scripting' started by farag, May 8, 2020.

  1. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    #381 drew84, Nov 3, 2022
    Last edited: Nov 3, 2022
    02.11.2022 Latest

    · 3 commits to master since this release

    6.2.2

    Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2
    Diff from v6.2.1
    6.2.1...6.2.2

    • HEIF function was re-written;
      • Now it downloads the latest HEVC codec package using the https://store.rg-adguard.net parser again;
      • Now it checks version of installed package before installing;
      • #406 closed.
    • Minor changes.
    Sophia.Script.for.Windows.10.v5.14.2.zip AA44D3AE342B6FC59DFDBB1F4C96D8AF4F601D5703E7A9C56647A7985CEA28DB
    Sophia.Script.for.Windows.10.PowerShell.7.v5.14.2.zip C49B4113743A84FD1100E455DFCADC70A4A893A2B9D6E6BF618D491E61741F00
    Sophia.Script.for.Windows.10.LTSC.2019.v5.4.2.zip DE3F15F2F2E812D74FFA442476E2EC383B90BAF1878B80470CF5C35082C0C9FE
    Sophia.Script.for.Windows.10.LTSC.2021.v5.14.2.zip E9DFA4CDAF97CDB8C60010963D0BE52B906330FC9775A96A583EDB6DC211C4A0
    Sophia.Script.for.Windows.11.v6.2.2.zip 915B8D15B3C60277EEBFCD8B03227A68925905A2312F385AD196AE08045DEA2E
    Sophia.Script.for.Windows.11.PowerShell.7.v6.2.2.zip E17C9A517051BDEFA3251006EC6994D2814111EAC111524692105A47AD89C0AA
    Sophia.Script.Wrapper.v2.5.7.zip E0AE9FA6A6F57BFA318D85FB1364BFEFA6E71A215578061008F540CE48151BF3

     
  2. Davidgamerthumbs

    Davidgamerthumbs MDL Junior Member

    Oct 25, 2020
    65
    149
    0
  3. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
  4. vehf263

    vehf263 MDL Novice

    Oct 22, 2010
    5
    1
    0
    Why not determine the version of win at the start of the script?
    P.S. I have no idea what version of win I'm dealing with and see no need to find out.
     
  5. anna199095

    anna199095 MDL Junior Member

    Jun 25, 2018
    73
    14
    0
    is there a compiled version of the Sophia script for win 10 ltsb 2016?
     
  6. anna199095

    anna199095 MDL Junior Member

    Jun 25, 2018
    73
    14
    0
    I guess it's not for win 10 ltsb. Also couldn't find complete changelog so had to download all versions and checked them all. It's always asking for a higher version.

    p.s: i might've missed a few versions, u kno there are alota them, maybe the changelog at masters.>..
     
  7. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    https://github.com/farag2/Sophia-Script-for-Windows/blob/master/CHANGELOG.md

    All depends on your Windows version: the script naming is very simple: Sophia.Script.for.Windows.11.PowerShell.7.v6.3.0.zip that means that this version is for Windows 11 and PowerShell 7 only (unlike the default PowerShell in Windows is still 5.1).

    win 10 ltsb 2016 is too old. Why not to move to the latest Windows 10? Tt much more modern and faster.

    is it really difficult to indentify your Windows build and version?..
    Do you know about the winver command? very simple.

    Also released 5.15 | 6.3.0: https://github.com/farag2/Sophia-Script-for-Windows/releases/tag/6.3.0
     
  8. anna199095

    anna199095 MDL Junior Member

    Jun 25, 2018
    73
    14
    0
    #388 anna199095, Feb 1, 2023
    Last edited: Feb 5, 2023
    hanks alot. i think i knew that and found the version... I'm kinda lost and trying to find a way not to break things when i test diferent stuff from times of win xp and 7. thou, it does seem everything works perfectly on 10 stable releases, but sometimes it seems to trip some functions, for example when installing higher c++ and/or .net fw to pair modern soft wif yold.
    i tot it's just system comp properties... 've heard of winver... will check it.. honestly.
     
  9. anna199095

    anna199095 MDL Junior Member

    Jun 25, 2018
    73
    14
    0
    #389 anna199095, Feb 1, 2023
    Last edited: Feb 5, 2023
    it's faster cmd\winver
     
  10. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Faster to press Windwos and type winver. Nobody uses cmd to view Windows build)). You command will be transfered to conhost.exe for execution.
     
  11. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
  12. anna199095

    anna199095 MDL Junior Member

    Jun 25, 2018
    73
    14
    0
    #392 anna199095, Feb 17, 2023
    Last edited: Feb 17, 2023
    So i installed latest windows 10 clean. And the script constanly saying error no internet connection.windows defender definitions etc. Why do i need to update defender if i just updated to the required by the script windows build just to tryout the script. I did try disabling everything in the defender menus, same warning with 5 different versions of the script. That's so frustrating. I dunno...

    Ps. Hanks for the great script. I'm just tired. Actually last week i was pushed from stairs by some junkie and i can't really comprehed what i'm doing atm...
     
  13. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Sophia Script for Windows 6.4.0 released! ‍
    Significantly improved scheduled tasks job! Now all scheduled tasks respect Focus Assist mode and won't interrupt while you playing games or watching fullscreen videos with any notification toasts or powershell.exe pop-ups.

    https://github.com/farag2/Sophia-Script-for-Windows/releases/latest

    Because without updating Defender some cmdlets won't work. This is a check for me that everything works on user's OS. And you must update all Windows regardless you want to apply the script or for dayly needs.
    I check many, many things before runnign the script to notify users if something is wrong with their OSes.

    > Ps. Hanks for the great script. I'm just tired. Actually last week i was pushed from stairs by some junkie and i can't really comprehed what i'm doing atm...
    Oh my God. hopefully, you didn't hurt. wow. What was that place? I'm shocked!
     
  14. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    #394 drew84, Mar 28, 2023
    Last edited: Mar 29, 2023
    Sophia Script for Windows 6.4.3 released! ‍

    Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2
    Diff from v6.4.2
    6.4.2...6.4.3
    • Improved Checks;
      • Expanded the list of harmful tweakers, trojans and other unwanted apps blocking the script running;
        • Added Microsoft Edge installation if it was removed by harmful tweakers. WebView2 Runtime is a mandatory Windows component.
    • Minor changes and improvements.
    SHA256SUM
    Code:
    Sophia.Script.for.Windows.10.v5.16.3.zip  9D0D8B317B9AC5ADDDD9E71A40EA9F2702AC2778FE99B81440878F44254D57E7
    Sophia.Script.for.Windows.10.PowerShell.7.v5.16.3.zip  2A4D537F2D05D7D2FD27FCF45D11510F958EE2EDDF36DD753E64D3AEFD0A26E9
    Sophia.Script.for.Windows.10.LTSC.2019.v5.6.3.zip  0ED520F756A0D68AC75DBD5725EE757837DC105C9C7C720CB53C652602505621
    Sophia.Script.for.Windows.10.LTSC.2021.v5.16.3.zip  B36FB449D6DAF0B64536D98FF24A3251199B68841BF0D9E4F79E53729F4CFDC9
    Sophia.Script.for.Windows.11.v6.4.3.zip  12A1B57AF9EC13F5DC789A3B8CF8551BCB0A59EC062F07B80DDDCFFA3FD39F1D
    Sophia.Script.for.Windows.11.PowerShell.7.v6.4.3.zip  235B9E75B015A18955B2518B104981B677FD00EB85770F343624725CE8FC7E11
    Sophia.Script.Wrapper.v2.6.5.zip  9C69BDA21A97CF61038146B159F4A89F39CD80DB96D1203FA4FE8F891DEC9ED6
    
    Download:
    https://github.com/farag2/Sophia-Sc...ia.Script.for.Windows.10.LTSC.2019.v5.6.3.zip
    https://github.com/farag2/Sophia-Sc...a.Script.for.Windows.10.LTSC.2021.v5.16.3.zip
    https://github.com/farag2/Sophia-Sc...cript.for.Windows.10.PowerShell.7.v5.16.3.zip
    https://github.com/farag2/Sophia-Sc....4.3/Sophia.Script.for.Windows.10.v5.16.3.zip
    https://github.com/farag2/Sophia-Sc...Script.for.Windows.11.PowerShell.7.v6.4.3.zip
    https://github.com/farag2/Sophia-Sc...6.4.3/Sophia.Script.for.Windows.11.v6.4.3.zip
    https://github.com/farag2/Sophia-Sc...wnload/6.4.3/Sophia.Script.Wrapper.v2.6.5.zip

    EDIT: Got to say, the list of harmful tweakers, trojans and other unwanted apps is a tremendous bonus... much added security for users:clap3:
    EDIT2: Although the filenames remain the same, @farag has modified them slightly... replaced the checksums with the new ones.
     
  15. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    Sophia Script for Windows 6.4.4 released! ‍

    Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2

    Diff from v6.4.3
    6.4.3...6.4.4
    • Fixes for #466, #472, #470, and #469
    • Fixed a bug in Set-Association function when a used Desktop context menu item was accidentally removed;
    SHA256SUM
    Code:
    Sophia.Script.for.Windows.10.v5.16.4.zip  BEC4F9E6400323D243A7AC4ABE0ECAA6D70D4C26E46694E812DCA8284554C762
    Sophia.Script.for.Windows.10.PowerShell.7.v5.16.4.zip  C56C85FBDA69F1A79F5297FCC41B215FB867D6686C02A877D25A08FF78FB2A10
    Sophia.Script.for.Windows.10.LTSC.2019.v5.6.4.zip  2AE2D77B49073C4D28E9AC8F1B2316CBC6FB0E81D9C4019A204FCA74A88032AA
    Sophia.Script.for.Windows.10.LTSC.2021.v5.16.4.zip  E7DC4BA493245A717F6A992D3336FDEB2309BAD1F93636A8379058A190854188
    Sophia.Script.for.Windows.11.v6.4.4.zip  5CF24FB972E9B103FEB94BF5CCBBACB5CB96CCAC09678FA8AEB2BA81912F0E77
    Sophia.Script.for.Windows.11.PowerShell.7.v6.4.4.zip  BB0D62AFE97ECF9675DC405A0A036D7276B38FE94E778B4DD72BEACB3F977EC0
    Sophia.Script.Wrapper.v2.6.5.zip  C01B31CA3CB44FCACB2BBD85FA87C930B692560663FA341D509E6644EA9CECB1
    
    Download
    https://github.com/farag2/Sophia-Sc...ia.Script.for.Windows.10.LTSC.2019.v5.6.4.zip
    https://github.com/farag2/Sophia-Sc...a.Script.for.Windows.10.LTSC.2021.v5.16.4.zip
    https://github.com/farag2/Sophia-Sc...cript.for.Windows.10.PowerShell.7.v5.16.4.zip
    https://github.com/farag2/Sophia-Sc....4.4/Sophia.Script.for.Windows.10.v5.16.4.zip
    https://github.com/farag2/Sophia-Sc...Script.for.Windows.11.PowerShell.7.v6.4.4.zip
    https://github.com/farag2/Sophia-Sc...6.4.4/Sophia.Script.for.Windows.11.v6.4.4.zip
    https://github.com/farag2/Sophia-Sc...wnload/6.4.4/Sophia.Script.Wrapper.v2.6.5.zip
     
  16. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    Note: For those using the latest release...
    @farag has noticed (and corrected) a TYPO in Sophia.psm1 [src/Sophia_Script_for_........../Module/Sophia.psm1]

    From this:
    To this:
    If Using:

    Sophia_Script_for_Windows_10 - (Lines 667, 668)

    Sophia_Script_for_Windows_10_LTSC_2019 / 2021 - (Lines 568, 569)

    Sophia_Script_for_Windows_10_Powershell_7 - (Lines 676, 677)

    Sophia_Script_for_Windows_11 - (Lines 721, 722)

    Sophia_Script_for_Windows_11_Powershell_7 - (Lines 729, 730)
     
  17. MarvelX7

    MarvelX7 MDL Member

    Jun 1, 2021
    233
    208
    10
    @farag can this script be used in a OEM folder inside iso? first login ? if yes how?
     
  18. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Hi. It cannot. It applies online that means on a working system. If you want to apply it, the script has to be fully re-written.
     
  19. cheetoh

    cheetoh MDL Novice

    Nov 24, 2017
    4
    1
    0
    I have posted an issue on the Github page, but so far, no reply:

    Sophia Script keeps improving with every version, the only issue I have is the following values are always reset to default after running the script:

    1. Pagefile is reset to "Automatically manage paging file size for all drives"
    2. Folder Options General "Click items as follows" is reset to "Double-click to open an item"
    3. Folder Options View "Decrease space between items" is reset to unchecked