How to use this script or the resulting iso with your own $OEM$ - to install your own programs? $OEM$ - has its own SetupComplete.cmd
Create Your_App_Folder (or any name) inside Slimdown10 main folder. Edit Slimdown10.cmd and replace: this: Code: echo @ECHO OFF>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" echo set CDROM=>>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" echo FOR %%%%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST "%%%%I:\Updates\Win10MarkerFile.txt" SET CDROM=%%%%I:>>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" with that (ie. last 2 lines are added): Code: echo @ECHO OFF>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" echo set CDROM=>>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" echo FOR %%%%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST "%%%%I:\Updates\Win10MarkerFile.txt" SET CDROM=%%%%I:>>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" xcopy "%~dp0Your_App_Folder\*" "%~dp0DVD\Updates\Your_App_Folder\" /e /s /y >nul 2>&1 echo start /w "" "%%CDROM%%\Updates\Your_App_Folder\your_application.exe" /silent_switch >>"%~dp0mount\Windows\Setup\Scripts\SetupComplete.cmd" Of course, Your_App_Folder , your_application.exe and /silent_switch should be changed accordingly.
Maybe it would be some solution. Just install original ISO, activate it and then reformat disk and immediately reinstall slimmed down version. Because you already have a digital license, the slimmed down version should activate automatically without MAS or any other activator.
@wkeller or anyone else who see this, my original post seemed to have been missed by the masses so just asking again if anyone is able to post the code to pastebin or an alternative posting site. Downloading the .rar file from the internet is not an option for some enthusiasts due to security issues of downloading unknown documents. So please if possible, could the plain code be posted for these poor security constricted individuals to join in the fun here, thanks
... not to rain on parades here but, has anyone shown the courtesy of asking @wkeller if it is actually OK to share his code elswhere
@zbigniew59 Open a command prompt as administrator and type: Code: reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\Settings\AllowYourAccount" /v "value" /t REG_DWORD /d 1 /f Reboot and go to your account info page in settings. If you want to modify the script Slimdown10.cmd, comment or remove the line: Code: Reg add "HKLM\TK_SOFTWARE\Microsoft\PolicyManager\default\Settings\AllowYourAccount" /v "value" /t REG_DWORD /d 0 /f >nul
On OneDrive context menu items in Windows File Explorer, I don't see the options to "Share" or "Free up space".
Thank You I do not want to restrict users activities (forks and mods). But if you publish it elsewhere, please mark where the original resides. PS. I will address other cosmetic issues mentioned here, when time allows. Probably next month update.
@wkeller I cannot activate my Office 365, whenever I press the sign in button, it says connecting to server and then fails. Tried several times with no luck. Any ideas why this is happening. Also how can i renable specific side folders in My Computer (like downloads, Music, Videos, etc) again? Thank you for your hardwork.
I have not Office 365 to test, only older Offices. But have you tried to enable Windows Update (ie. Toggle Windows Update) or EnableStore option before activating ?
@wkeller The commands included in "UserSetup.cmd" are executed in the context of a normal user (not as administrator). They should therefore not include machine context commands, such as "reg add HKLM..." or "sc config". These commands have no effect. Global machine settings must be applied directly in the install.wim image or in SetupComplete.cmd. As a result, in this version 1.50, for example, the wlidsvc and UsoSvc services are always disabled, even if they are enabled in UserSetup.cmd.