Win10 Tweaking Scripts

Discussion in 'Scripting' started by mdl052020, Jul 29, 2020.

?

Do you like these batch scripts?

Poll closed Dec 31, 2020.
  1. Yes

    38 vote(s)
    90.5%
  2. No

    4 vote(s)
    9.5%
Multiple votes are allowed.
  1. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    #181 mdl052020, Oct 29, 2020
    Last edited: Oct 29, 2020
    (OP)
    Thank you brother . thanks a lot for your suggestion . I got ip from which link is reported on upload.ee . its not a single person who has reported the link but a group . everything is crystal cleared .
     
  2. zbigniew59

    zbigniew59 MDL Member

    May 14, 2016
    115
    22
    10
    #182 zbigniew59, Oct 29, 2020
    Last edited: Oct 29, 2020
    Don't get mad but your script does the same - https://forums.mydigitallife.net/th...oating-tool-windows-1803-1903-19h2-1909-20h1- i-ltsc -2019.80038 /
    I already wrote in this topic that it works fine in other languages - eg PL-PL- and no bugs.
    I already wrote in this topic that it works fine in other languages - eg PL-PL- and no bugs and I think you copied from this script to yours. Even the screens are on that theme.
    So don't make yourself such a hero and rediscover things.
    YOU NEVER SAID THAT MOST FROM THE WRITING - GodHand.
    And I prefer - GodHand - MUCH BETTER!
    And much more can be modified!
     
  3. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    Yes OO much more better then my ISO debloater Script . i agreed with you . thanks a lot for this negative comment . i hope somebody will stop using my script reading this comment of yours . thanks a lot again.
     
  4. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    792
    1,265
    30
    BETTER (is just an opinion), DIFFERENT (is a fact)
    WHICH IS MORE USER FRIENDLY is a much more important factor, regarding whether a USER adopts one or the other...
     
  5. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    Happy to see 700+ Download Count for Offline Win10 ISO Debloater Scripts after i stopped releasing Updates in public.
    Will Continue to Provide Updated Code for any of my Script to brothers asking me in PM.
    Will be more then happy to take suggestions from brothers suggesting me any improvement in any of the script either online tweaking or offline debloater.
    As i already said that i create these scripts for my own personal use & working flawlessly at my side but somebody asked me to publish it on MDL .
    My Expereince with uploading script code online for MDL Brothers was great & in fact i got so many replies plus comments who care to improve my scripting level.
    Thanks a lot to all my brothers for Support & Contribution whole like to use any of the script code published by myself online without any thought to get anything in revert either money or popularity or anything else . Expectations always lead to a ? to max extent as we must not expect anything in revert if we do some good for anything.
    Thanks a lot to all who put there good efforts to comment negative about my scripts . i am really very very thankful to them too .
     
  6. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    Offline Script Updated to Version 1.2 for Personal Use.
    Wont be Published for Public in any Way.
     
  7. haz367

    haz367 MDL Member

    Jan 11, 2020
    195
    206
    10
  8. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    Log of Latest 1.2 Offline Debloater Script :

    Code:
    *****************************************************************
    *                       Get Admin Privileges
    *****************************************************************
    *****************************************************************
    *              Win10 ISO Debloater Script : Version 1.2 :       *
    *                   (c) 2020 by Mydigitallife Member            *
    *****************************************************************
     Debloater Script : Version 1.2 : Started at 14-Nov-20 13:40:55
    *****************************************************************
    --- Extracting ISO to Script Path and Creating Mount Directory
    *****************************************************************
    Microsoft (R) File Expansion Utility
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    Adding .\Project\7z.dll to Extraction Queue
    Adding .\Project\7z.exe to Extraction Queue
    Adding .\Project\oscdimg.exe to Extraction Queue
    Adding .\Project\SetACL.exe to Extraction Queue
    Adding .\Project\tweaker.exe to Extraction Queue
    
    Expanding Files ....
    
    Expanding Files Complete ...
    5 files total.
    
    7-Zip 20.02 alpha (x64) : Copyright (c) 1999-2020 Igor Pavlov : 2020-08-08
    
    Scanning the drive for archives:
    1 file, 5302171648 bytes (5057 MiB)
    
    Extracting archive: Win10_20H2.iso
    --
    Path = Win10_20H2.iso
    Type = Udf
    Physical Size = 5302171648
    Comment = 19042.630
    Cluster Size = 2048
    Created = 2020-11-14 05:30:00
    
    Everything is Ok
    
    Folders: 84
    Files: 898
    Size:       5310902879
    Compressed: 5302171648
    *****************************************************************
    
    *****************************************************************
    --- Export Windows 10 Single Index of Your Choice to Script Path
    *****************************************************************
     Wim Image contain following 1 indexes :
    
      [1] Windows 10 Pro
    
    Select Single Image Index Number You Want to Export and Debloat :1
    
    Deployment Image Servicing and Management tool
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    *****************************************************************
    *****************************************************************
    --- Moving Back Exported WIM Image to its Source Path
    *****************************************************************
            1 file(s) moved.
    *****************************************************************
    *****************************************************************
    --- Mounting Selected Windows 10 WIM image to Mount Directory
    *****************************************************************
    Path          : Mount
    Online        : False
    RestartNeeded : False
    *****************************************************************
    *****************************************************************
    --- Select and Remove Windows Apps
    *****************************************************************
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    *****************************************************************
    *****************************************************************
    --- Select and Tweak System Apps Plus Host Services
    *****************************************************************
    [SystemApps SaFe For Removal]
    FileExplorer
    FilePicker
    AddSuggestionFoldersToLibraryDialog
    AADBrokerPlugin
    BioEnrollment
    ECApp
    LockApp
    EdgeDevToolsClient
    Edge
    Win32WebViewHost
    AppRep.ChxApp
    AssignedAccessLockApp
    CallingShellApp
    CapturePicker
    ContentDeliveryManager
    NarratorQuickStart
    ParentalControls
    PeopleExperienceHost
    XgpuEjectDialog
    XboxGameCallableUI
    NcsiUwpApp
    CbsPreview
    
    The operation completed successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications>
    
    SetACL finished successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications>
    
    SetACL finished successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge>
    
    SetACL finished successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge>
    
    SetACL finished successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge>
    
    SetACL finished successfully.
    Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge>
    
    SetACL finished successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    *****************************************************************
    *****************************************************************
    --- Select and Disable UnNeeded Windows Features
    *****************************************************************
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    *****************************************************************
    
    *****************************************************************
    --- Select and Remove UnNeeded Windows Capabilities
    *****************************************************************
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    
    Path          : Mount
    Online        : False
    RestartNeeded : False
    *****************************************************************
    *****************************************************************
    --- Remove OneDrive and Windows Defender
    *****************************************************************
    -------------------------------------------
    --------Registry Tweak Tool v1.4.7.0-------
    ---------------for Windows 6.x-------------
    ---------Created by Michal Wnuowski--------
    -----Concept by Aviv00@msfn / lite8@MDL----
    -----------Modified by Legolash2o----------
    -------------------------------------------
    
    MountPath : "Mount"
    Component : "Microsoft-Windows-OneDrive"
    
    ------------------Starting-----------------
    Creating BKP of registry file...         OK
    Mounting registry file...                OK
    Taking Ownership...                      OK
    Editing 'Packages' subkeys            4/4OK
    Modifying registry completed sucessfully.
    Unmounting key...                        OK
    Removing 'Packages'...                4/4OK
    Removed packages successfully.
    Removing 'PackagesPending'...         4/4OK
    Removed packages successfully.
    
    -------------------Ending------------------
    
    -------------------------------------------
    --------Registry Tweak Tool v1.4.7.0-------
    ---------------for Windows 6.x-------------
    ---------Created by Michal Wnuowski--------
    -----Concept by Aviv00@msfn / lite8@MDL----
    -----------Modified by Legolash2o----------
    -------------------------------------------
    
    MountPath : "Mount"
    Component : "Windows-Defender"
    
    ------------------Starting-----------------
    Creating BKP of registry file...         OK
    Mounting registry file...                OK
    Taking Ownership...                      OK
    Editing 'Packages' subkeys          20/20OK
    Modifying registry completed sucessfully.
    Unmounting key...                        OK
    Removing 'Packages'...              20/20OK
    Removed packages successfully.
    Removing 'PackagesPending'...       20/20OK
    Removed packages successfully.
    
    -------------------Ending------------------
    
    *****************************************************************
    *****************************************************************
    --- Clearing WinSxS Store Components With ResetBase
    *****************************************************************
    
    Deployment Image Servicing and Management tool
    
    Image Version: 10.0.19042.630
    
    [==========================100.0%==========================]
    The operation completed successfully.
    *****************************************************************
    *****************************************************************
    --- Checking Health of Offline WIM Image
    *****************************************************************
    --- Checking Health Status of Tweaked Image
    
    Path             : Mount
    Online           : False
    ImageHealthState : Healthy
    RestartNeeded    : False
    *****************************************************************
    *****************************************************************
    --- Saving and Unmounting Final Debloated Image
    *****************************************************************
    LogPath : Z:\Windows\Logs\DISM\dism.log
    *****************************************************************
    *****************************************************************
    --- Exporting Final Image Again to Script Path to Clear (Deleted) Directory Inside WIM
    *****************************************************************
    LogPath : Z:\Windows\Logs\DISM\dism.log
    *****************************************************************
    *****************************************************************
    --- Moving Back Exported Image to its Source Path
    *****************************************************************
            1 file(s) moved.
    *****************************************************************
    *****************************************************************
    --- Creating Final Win10 Debloated ISO
    *****************************************************************
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    Scanning source tree (500 files in 41 directories)
    Scanning source tree complete (898 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4516577280 bytes (before optimization)
    
    Writing 898 files in 85 directories to Win10_Debloated_14-Nov-20.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14182400 bytes (1% of image)
    
    After optimization, image file is 4504442880 bytes
    Space saved because of embedding, sparseness or optimization = 14182400
    
    Done.
    *****************************************************************
    *****************************************************************
    --- Removing All Directories and Files of Project : Version 1.2 :
    *****************************************************************
    LogPath : Z:\Windows\Logs\DISM\dism.log
    *****************************************************************
    Debloater Script : Version 1.2 : Completed at 14-Nov-20 14:00:27
    *****************************************************************
    
    Everything Fine . Script only for Win10 20H2 or Later Based ISO's.
     
  9. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    792
    1,265
    30
    ... appreciate the change of heart:good3:
     
  10. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    #190 mdl052020, Nov 14, 2020
    Last edited: Nov 14, 2020
    (OP)
    Code:
    Microsoft Windows [Version 10.0.19042.630]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    Z:\Windows\system32>sfc /scannow
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example Z:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.
    
    As the script Removed Windows Defender Packages from Offline Image & Disable Some Services . After we install OS to Machine it will show Windows Resources found Corrupted & will revert Defender plus smartscreen back to therte current state . idk whats the use of removing defender if somebody will scan for windows resources Violation it will revert back defender plus smartscreen which we disabled via offline script.

    Even ScanHealth showing image state as Healthy.

    Edit : DefaultUser0 Account is also found created after installation so we need to remove it upon first boot via setupcomplete.cmd.

    ReEdit : Why i am counting Negative Points of Offline Debloater Script Version 1.2 if i am even not convinced by my own script then how could i be assured that my brothers asking me script in porivate be convinced after using it so first i must assure that i be convinved totally from my own script before uploading it for my brothers to be shared only upon private requests.
     
  11. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    #191 mdl052020, Nov 19, 2020
    Last edited: Nov 19, 2020
    (OP)
  12. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,430
    6,598
    180
    congratulations brother you deserve ... :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    Thank you brother . You are the one from whom i learnt something more . thanks a lot bro @Tiger-1 ;)
     
  14. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    #194 mdl052020, Nov 20, 2020
    Last edited: Nov 21, 2020
    (OP)
    Updated Win10 Online Tweaking Script not on MDL but at my End .
    If my MDL brothers are interested for script code i will be happy to update it here Win10 Online Tweaking Script.
    Thanks a lot lot for great help & support from Staff of MDL for making my scripts more n more user friendly
    Updated Offline Debloater Link ver 1.1 Final by @RaiyvaN brother with lots of changes.
    Again that Upload.ee Link to download script by brother @RaiyvaN got deleted i dont know who is doing that but updated the link with direct download link as per provided by brother to me in private hence link to download Offline Debloater ver 1.1 Final is updated :)
     
  15. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    792
    1,265
    30
    ... yes please
     
  16. wyoming

    wyoming MDL Novice

    Aug 3, 2009
    26
    4
    0
    would be appreciated
     
  17. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    792
    1,265
    30
    just a heads up the link to W10AIO-Debloater Version 1.1 Final Updated by @RaiyvaN at OP Post #13 is now fixed
     
  18. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    #198 mdl052020, Nov 21, 2020
    Last edited: Nov 21, 2020
    (OP)
    Polling Option is Re Enabled at Top of Page till 30Nov with Choice of Changing the Vote from Yes to No or No to Yes.
    Updated Win10 Online Tweaking Script Code .
    Updated Extra Firewall Rules for OS Hardening Script Code . From Now Onwards Theres no any risk of Windows Update WU to be blocked via them . user can easily execute script code from now onwards but be sure to execute it only one time or else rules list will be added every time user executes the script.
    Updated Online Tweaker Script Code with some more Tweaks.
    Added New Script Code Set Motherboard Company and Model in My Computer Properties
     
  19. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    177
    19
    10
    Hello buddy, is file explorer safe to remove ?. File explorer means the default file manager we get in all the versions of windows, right ?
    Or its a metro app ?

     
  20. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    420
    418
    10
    No its not the Default Explorer.exe but infact the UWPExplorer for System Apps Used for Telemetery Purpose by M$ tested via Wireshark thtswahy i suggest to remove it.
    Even Default Explorer.exe for OS is also Used for Telemetry purpose by M$ after build 1803 Tested via Wireshark thatswhy i have added Explorer.exe to be blocked in my Extra Firewall Rules for OS Hardening.