Antonino
MemberContent Type
Profiles
Forums
Events
Everything posted by Antonino
-
oh, before I forget, one thing about special folders which has pestered me for the past decade or more, is that the relocation could be made only for these six or so folders (desktop, documents, downloads, music,, pictures, video, and a few other ones); now, could a script maske all folders (or even just a few other ones) special so that they can gain relocation status? the result would be a relocation tab in the properties box of each of these folders, and a lot of junctioning would be spared, as the system would allow for these folders to reside anywhere on any drive, not just in c:.
-
if one could only gain logical persistence (empty folders ready to be filled from bootup onwards) of the ramdisk the way one does with primo, one could easily do without primo.
-
one thing is not clear to me: once u launch arsenalramdisk.exe, it instantly createss a half-size-of-ur-ram ramdisk which it calls b: and asks u to format some disk j: what for?
-
well, interesting stuff - the arsenal ramdisk kinda thing is real quick, as I presume all the rest of the software, but ... what for that primo cannot do already?
-
honestly, to the best of my knowledge and belief, you are the first person who says winntsetup nukes wifi. me, I haven't looked, but it would not bother me anyway; in fact, if you are right about it, it will not interfere with my system prepping. it can all be done on a post-install basis. now let me check your suggestions.
-
what viruses r u talking about? u use many russian tools? pls share, if they are so much better, why not (whether russian or not)? we are here FOR SOMETHING, not AGAINST SOMEONE. btw, talking about something, where is the new version of nthelper?
-
Of course, u'd have to adjust the scripts to ur drives before u run them
-
ok here u go brute force delete.bat @echo off setLocal EnableDelayedExpansion :: SCRIPT PARAMETERS SET USRNAM=Administrator SET DRVNAM=j SET SRCFIL=BFDel_List.txt ::SET SRCFIL=%~1 SET BACKUP=N ::SET BAKDST=Z:\BFDel_Backup SET TKOWN=Y SET SILENT=Y SET LOGDST=%BAKDST% SET LOGFIL=%LOGDST%\BFDel.log SET BAKLOG=%LOGDST%\BFDel.bak.log SET ERRLOG=%LOGDST%\BFDel.err.log :: CHECK BACKUP AND LOG PATHS IF /I "%BACKUP%" EQU "Y" ( IF NOT EXIST "%BAKDST%\" MKDIR "%BAKDST%\" IF NOT EXIST "%BAKDST%\" ECHO. & ECHO ERROR BACKUP PATH DOES NOT EXIST & ECHO. & EXIT ) IF NOT EXIST "%LOGDST%\" ECHO. & ECHO ERROR LOG PATH DOES NOT EXIST & ECHO. & EXIT IF EXIST "%LOGFIL%" DEL /f /q "%LOGFIL%" IF EXIST "%ERRLOG%" DEL /f /q "%ERRLOG%" :: CHECK SOURCEFILE PATHS IF NOT EXIST "%SRCFIL%" ECHO. & ECHO ERROR SOURCE PATH DOES NOT EXIST & ECHO. & EXIT cls @echo off :again echo. echo Brute Force Delete files on vol %DRVNAM%:\ echo Files List "%SRCFIL%" echo. IF /I "%SILENT%" EQU "Y" ECHO NOTE: SCRIPT IS RUNNING SILENTLY & ECHO. & TIMEOUT 2 > NUL & GOTO continue echo Choose continue or edit volume letter or quit. echo. set /p answer=Type [C]ontinue, [E]dit or [Q]uit? if /i "%answer:~,1%" EQU "C" goto continue if /i "%answer:~,1%" EQU "E" goto edit if /i "%answer:~,1%" EQU "Q" exit /b goto again :edit echo. & echo. echo SET THE CORRECT VOLUME: %DRVNAM% echo. set /p "DRVNAM=Enter Volume Letter or just ENTER for default [%DRVNAM%]: " goto again :: START DEL PROCEDURE :continue For /F "tokens=*" %%L in ('type "%SRCFIL%"') do ( Set LINE=!DRVNAM!:%%L Set LINE=!LINE:USRNAM=%USRNAM%! :: CALL :CheckPathAttr "!LINE!" for /f "tokens=*" %%A in ("!LINE!") do set ATTR=%%~aA set ATTR1=!ATTR:~0,1! ::PROCESS DIRECTORY IF /I "!ATTR1!" EQU "d" ( IF /I "%TKOWN%" EQU "Y" TAKEOWN /F "!LINE!" /R /A /D Y IF /I "%TKOWN%" EQU "Y" ICACLS "!LINE!" /T /L /GRANT *S-1-1-0:F IF /I "%BACKUP%" EQU "Y" ( XCOPY /s /y /c /h /e "!LINE!" "%BAKDST%!LINE:~2!\" IF EXIST "%BAKDST%!LINE:~2!" echo COPIED DIR: "!LINE!">>"%BAKLOG%" IF NOT EXIST "%BAKDST%!LINE:~2!" echo COPY.ERR DIR: "!LINE!">>"%ERRLOG%" ) :: REMOVE DIR COMMAND rmdir /s /q "!LINE!" IF NOT EXIST "!LINE!" ( echo DELETED DIR: "!LINE!">>"%LOGFIL%" ) ELSE ( echo DEL.ERR DIR: "!LINE!">>"%ERRLOG%" ) ) ::PROCESS FILE IF /I "!ATTR1!" EQU "-" ( IF /I "%TKOWN%" EQU "Y" TAKEOWN /F "!LINE!" /A /D Y IF /I "%TKOWN%" EQU "Y" ICACLS "!LINE!" /T /L /GRANT *S-1-1-0:F IF /I "%BACKUP%" EQU "Y" ( echo F|XCOPY /y /c "!LINE!" "%BAKDST%!LINE:~2!" IF EXIST "%BAKDST%!LINE:~2!" echo COPIED FILE: "!LINE!">>"%BAKLOG%" IF NOT EXIST "%BAKDST%!LINE:~2!" echo COPY.ERR FIL: "!LINE!">>"%ERRLOG%" ) :: DEL FILE COMMAND del /f /q "!LINE!" IF NOT EXIST "!LINE!" ( echo DELETED FILE: "!LINE!">>"%LOGFIL%" ) ELSE ( echo DEL.ERR FILE: "!LINE!">>"%ERRLOG%" ) ) ) ECHO. ECHO SCRIPT COMPLETED ECHO. ::https://9to5answer.com/how-to-get-attributes-of-a-file-using-batch-file :CheckPathAttr SET "sPATH=%1" SET "sATTR=%~a1" SET "sATTR1=!sATTR:~0,1!" IF /I "!sATTR1!" EQU "d" ECHO "D" %sATTR% IF /I "!sATTR1!" EQU "-" ECHO "F" %sATTR% ::EXIT /B 0 now brute force zero byting.bat @echo off setLocal EnableDelayedExpansion :: SCRIPT PARAMETERS SET USRNAM=Administrator SET DRVNAM=j SET SRCFIL=BFZB_List.txt ::SET SRCFIL=%~1 SET BACKUP=N ::SET BAKDST=Z:\BFZB_Backup SET TKOWN=Y SET SILENT=Y SET LOGDST=%BAKDST% SET LOGFIL=%LOGDST%\BFZB.log SET BAKLOG=%LOGDST%\BFZB.bak.log SET ERRLOG=%LOGDST%\BFZB.err.log :: CHECK BACKUP AND LOG PATHS IF /I "%BACKUP%" EQU "Y" ( IF NOT EXIST "%BAKDST%\" MKDIR "%BAKDST%\" IF NOT EXIST "%BAKDST%\" ECHO. & ECHO ERROR BACKUP PATH DOES NOT EXIST & ECHO. & EXIT ) IF NOT EXIST "%LOGDST%\" ECHO. & ECHO ERROR LOG PATH DOES NOT EXIST & ECHO. & EXIT IF EXIST "%LOGFIL%" DEL /f /q "%LOGFIL%" IF EXIST "%ERRLOG%" DEL /f /q "%ERRLOG%" :: CHECK SOURCEFILE PATHS IF NOT EXIST "%SRCFIL%" ECHO. & ECHO ERROR SOURCE PATH DOES NOT EXIST & ECHO. & EXIT cls @echo off :again echo. echo Brute Force Zero Byting files on vol %DRVNAM%:\ echo Files List "%SRCFIL%" echo. IF /I "%SILENT%" EQU "Y" ECHO NOTE: SCRIPT IS RUNNING SILENTLY & ECHO. & TIMEOUT 2 > NUL & GOTO continue echo Choose continue or edit volume letter or quit. echo. set /p answer=Type [C]ontinue, [E]dit or [Q]uit? if /i "%answer:~,1%" EQU "C" goto continue if /i "%answer:~,1%" EQU "E" goto edit if /i "%answer:~,1%" EQU "Q" exit /b goto again :edit echo. & echo. echo SET THE CORRECT VOLUME: %DRVNAM% echo. set /p "DRVNAM=Enter Volume Letter or just ENTER for default [%DRVNAM%]: " goto again :: START ZEROBYTING PROCEDURE :continue For /F "tokens=*" %%L in ('type "%SRCFIL%"') do ( Set LINE=!DRVNAM!:%%L Set LINE=!LINE:USRNAM=%USRNAM%! :: CALL :CheckPathAttr "!LINE!" for /f "tokens=*" %%A in ("!LINE!") do set ATTR=%%~aA set ATTR1=!ATTR:~0,1! ::PROCESS DIRECTORY IF /I "!ATTR1!" EQU "d" ( IF /I "%TKOWN%" EQU "Y" TAKEOWN /F "!LINE!" /R /A /D Y IF /I "%TKOWN%" EQU "Y" ICACLS "!LINE!" /T /L /GRANT *S-1-1-0:F IF /I "%BACKUP%" EQU "Y" ( XCOPY /s /y /c /h /e "!LINE!" "%BAKDST%!LINE:~2!\" IF EXIST "%BAKDST%!LINE:~2!" echo COPIED DIR: "!LINE!">>"%BAKLOG%" IF NOT EXIST "%BAKDST%!LINE:~2!" echo COPY.ERR DIR: "!LINE!">>"%ERRLOG%" ) :: REMOVE AND ZERO BYTE DIR COMMANDS rmdir /s /q "!LINE!" IF NOT EXIST "!LINE!" FSUTIL FILE CREATENEW "!LINE!" 0 for %%x in ("!LINE!") do if %%~zx==0 ( echo ZBYTED DIR: "!LINE!">>"%LOGFIL%" ) ELSE ( echo ZB.ERR DIR: "!LINE!">>"%ERRLOG%" ) ) ::PROCESS FILE IF /I "!ATTR1!" EQU "-" ( IF /I "%BACKUP%" EQU "Y" ( IF /I "%TKOWN%" EQU "Y" TAKEOWN /F "!LINE!" /A /D Y IF /I "%TKOWN%" EQU "Y" ICACLS "!LINE!" /T /L /GRANT *S-1-1-0:F echo F|XCOPY /y /c "!LINE!" "%BAKDST%!LINE:~2!" IF EXIST "%BAKDST%!LINE:~2!" echo COPIED FILE: "!LINE!">>"%BAKLOG%" IF NOT EXIST "%BAKDST%!LINE:~2!" echo COPY.ERR FIL: "!LINE!">>"%ERRLOG%" ) :: DEL AND ZERO BYTE FILE COMMANDS del /f /q "!LINE!" IF NOT EXIST "!LINE!" FSUTIL FILE CREATENEW "!LINE!" 0 for %%x in ("!LINE!") do if %%~zx==0 ( echo ZBYTED FILE: "!LINE!">>"%LOGFIL%" ) ELSE ( echo ZB.ERR FILE: "!LINE!">>"%ERRLOG%" ) ) ) ECHO. ECHO SCRIPT COMPLETED ECHO. ::https://9to5answer.com/how-to-get-attributes-of-a-file-using-batch-file :CheckPathAttr SET "sPATH=%1" SET "sATTR=%~a1" SET "sATTR1=!sATTR:~0,1!" IF /I "!sATTR1!" EQU "d" ECHO "D" %sATTR% IF /I "!sATTR1!" EQU "-" ECHO "F" %sATTR% ::EXIT /B 0 now brute force junction standalone.bat @ECHO off SETLOCAL EnableDelayedExpansion IF /I "%PROCESSOR_ARCHITECTURE%"=="x86" (SET "DU=Tools\DU\du32.exe") ELSE (SET "DU=Tools\DU\du64.exe") SET "DUCK=Tools\DUCK\duck_a.exe" :: SCRIPT PARAMETERS ::-------------------------- SET "DEPTH=1" SET "TKOWN=Y" SET "SRCVOL=j" SET SILENT=Y SET "SRCFIL=BFJnctn_List_StandAlone.txt" ::SET "SRCFIL=%~1" SET "ERRLOG=%~dp0BFJnctn_List_StandAlone.errors.txt" ::GET SRCVOL FROM SCRIPT NAME FOR /F "tokens=2 delims=%%" %%v IN ('ECHO %~n0') DO SET "SRCVOL=%%v" ::ECHO %SRCVOL% :: SOURCE VOLUME VALIDATION ::-------------------------- CLS @ECHO off :again ECHO. ECHO Brute Force Junctioning folders on vol %SRCVOL%:\ ECHO Files List "%SRCFIL%" ECHO. IF /I "%SILENT%" EQU "Y" ECHO NOTE: SCRIPT IS RUNNING SILENTLY & ECHO. & TIMEOUT 2 > NUL & GOTO continue ECHO Choose continue or edit volume letter or quit. ECHO. SET /p answer=Type [C]ontinue, [E]dit or [Q]uit? IF /i "%answer:~,1%" EQU "C" GOTO :continue IF /i "%answer:~,1%" EQU "E" GOTO :edit IF /i "%answer:~,1%" EQU "Q" exit /b GOTO :again :edit ECHO. & ECHO. ECHO SET THE CORRECT VOLUME: %SRCVOL% ECHO. SET /p "SRCVOL=Enter Volume Letter or just ENTER FOR default [%SRCVOL%]: " GOTO :again :continue :: FIND AVAILABLE USERS IN SRCVOL ::-------------------------------- CLS & ECHO. & ECHO Looking for users in folder "!SRCVOL!:\Users" & ECHO. SET /A i=0 ECHO 0. Press "0" or "Q" to Quit FOR /F "tokens=*" %%u IN ('DIR "!SRCVOL!:\Users" /B 2^>nul ^| findstr /v "Public" ^| findstr /v "Default" ^| findstr /v "All Users"') DO ( SET item=%%u SET /A i+=1 ECHO !i!. Select user "!item!" SET "option[!i!]=!item!" ) IF !i!==0 CLS & ECHO. & ECHO NO USERS FOLDERS FOUND IN "!SRCVOL!:\Users". PLEASE CHECK SOURCE VOLUME LETTER. & ECHO. & ECHO Press "Q" to Quit & ECHO Press "C" to Continue IF !i!==1 SET "USRNAM=%option[1]%" & CLS & ECHO. & ECHO USER FOLDER "!SRCVOL!:\Users\!USRNAM!" FOUND & ECHO. IF /I "%SILENT%" EQU "Y" ECHO NOTE: SCRIPT IS RUNNING SILENTLY & ECHO. & TIMEOUT 2 > NUL & GOTO SkipUser ECHO Press "Q" to Quit & ECHO Press "C" to Continue :getChoice ECHO. SET /P choice="Enter desired choice: " || SET choice="" IF /i "%choice%" EQU "0" EXIT IF /i "%choice%" EQU "q" EXIT IF /i "%choice%" EQU "c" GOTO :SkipUser IF "!option[%choice%]!" EQU "" ECHO ERROR: No such option & GOTO :getChoice SET "USRNAM=!option[%choice%]!" :SkipUser IF DEFINED USRNAM CLS & ECHO. & ECHO User selected is "%USRNAM%". & TIMEOUT 1 > nul & CLS :: START JUNCTIONING PROCEDURE ::----------------------------- FOR /F "tokens=*" %%L IN ('type "%SRCFIL%" ^| findstr /v "#"') DO ( SET "SKIP=" SET "LINE=%%L" REM ECHO "!LINE!" ::GETS DESTINATION ROOT FROM STRING SET "DSTROOT=!LINE:~0,2!" :: SET SOURCE PATH FROM SOURCE VOLUME SET "LINE=!SRCVOL!:!LINE:~2!" SET "LINE=!LINE:USRNAM=%USRNAM%!" :: EVALUATE JUNCTION PATH IF "%DEPTH%" EQU "1" ( CALL :GetDirName "!LINE!" DSTPATH ) ELSE ( SET "DSTPATH=!LINE:~3!" ) ECHO. & ECHO CREATING JUNCTION & ECHO - SOURCE PATH: "!LINE!" && ECHO - JUNCTION PATH: "!DSTROOT!\!DSTPATH!" & TIMEOUT 1 > nul IF NOT EXIST "!DSTROOT!\" ECHO ERROR DESTROOT PATH "!DSTROOT!" DOES NOT EXIST & TIMEOUT 1 > nul & SET "SKIP=1" :: CALL :CheckPathAttr "!LINE!" IF EXIST "!LINE!" IF NOT DEFINED SKIP ( FOR /f "tokens=*" %%A IN ("!LINE!") DO SET ATTR=%%~aA SET ATTR1=!ATTR:~0,1! SET ATTR8=!ATTR:~8,8! ::PROCESS DIRECTORY IF /I "!ATTR1!" EQU "d" IF "!ATTR8!" NEQ "l" ( SET RESTCHK=1 ::GET OWNERSHIP (OPTIONAL) IF /I "%TKOWN%" EQU "Y" TAKEOWN /F "!LINE!" /R /A /D Y IF /I "%TKOWN%" EQU "Y" ICACLS "!LINE!" /T /L /GRANT *S-1-1-0:F ::COPIA DIR NELLA DESTINAZIONE SET COPYCHECK=KO rem XCOPY /s /y /c /h /e "!LINE!" "!DSTROOT!\!DSTPATH!\" ROBOCOPY "!LINE!" "!DSTROOT!\!DSTPATH!" /E /XC /XN /XO /R:0 /W:0 ::CALCOLA DIMENSIONI SRCDIR E DSTDIR FOR /f "tokens=2" %%i IN ('%DU% "!LINE!" ^|findstr /c:"Size:"') DO SET "SRCSIZE=%%i" FOR /f "tokens=2" %%i IN ('%DU% "!DSTROOT!\!DSTPATH!" ^|findstr /c:"Size:"') DO SET "DSTSIZE=%%i" ::VERIFICA COPIA PRIMA DI CANCELLAZIONE IF "!SRCSIZE!" NEQ "!DSTSIZE!" ECHO ERROR: ErrCopy "!LINE!" >> "%ERRLOG%" IF "!SRCSIZE!" EQU "!DSTSIZE!" ( ::REMOVAL AND JUNCTIONING DIR COMMANDS IF EXIST "!LINE!" rmdir /s /q "!LINE!" && SLEEP -m 10 2>nul IF EXIST "!LINE!" ECHO ERROR: NotEmpty "!LINE!" >> "%ERRLOG%" IF NOT EXIST "!LINE!" ( mklink /j "!LINE!" "!DSTROOT!\!DSTPATH!" IF %ERRORLEVEL%==0 ECHO JUNCTION CREATION COMPLETED & TIMEOUT 1 > nul IF %ERRORLEVEL%==1 ECHO ERROR CREATING JUNCTION & TIMEOUT 1 > nul ) ) ) ) ) ECHO. ECHO SCRIPT COMPLETED ECHO. ::https://9to5answer.com/how-to-get-attributes-of-a-file-using-batch-file :CheckPathAttr SET "sPATH=%1" SET "sATTR=%~a1" SET "sATTR1=!sATTR:~0,1!" IF /I "!sATTR1!" EQU "d" ECHO "D" %sATTR% IF /I "!sATTR1!" EQU "-" ECHO "F" %sATTR% EXIT /B 0 :GetParent :: USAGE EXAMPLE: ::SETLOCAL EnableDelayedExpansion ::CALL :GetParent "%CD%" CDPAR && ECHO "!CDPAR!" SET "PARDIR=%~dp1" IF "%PARDIR:~-1%"=="\" SET "PARDIR=%PARDIR:~0,-1%" ::ECHO "%PARDIR%" SET "%2=%PARDIR%" EXIT /B 0 :GetDirName :: USAGE EXAMPLE: ::SETLOCAL EnableDelayedExpansion ::CALL :GetDirName "%CD%" CDNAME && ECHO "!CDNAME!" SET "DIRNAME=%~nx1" ::ECHO "%DIRNAME%" SET "%2=!DIRNAME!" ::EXIT /B 0
-
want each script for each list as well?
-
well, much more than preinstallation enviromemnt, pls allow for that. this is the minimal install of windows which is stripped of all things u do not need. but still an autonomously persistent system. the characteristic philosophy behind it is the following: there are 3 types (orders) of system files: 1) those that allow for the system to reach the desktop interface; 2) system files that the system wants to be on C:\ (program files (some subfolders have to reside on c:\) and files from programdata\microsoft, system32, syswow64; 3) whatever system files that can physically reside on another disk and be junctioned back to C:\ (which means logically still on C: for the system to work). one instance of these 3rd-type files can be the pletoric nvidia drivers collected in driverstore, which can be junctioned back to c:\ from another drive where they physically reside. to achieve all this 3 scripts by Virgus will run: 1) a brute force delete script which will take out all superfluous files and folders from whatever according to a list which I can provide u with if u wish to have it; 2) a brute force zero byting script which will "raise to the ground" all files and folders that we want nobody to write on and the system does not need, according to another list which I can provide u with if u wish to have it; 3) a brute force junction stand alone script which will send all files that can reside on any drive other than c: with no hindrance to the system according to yet another list which I can provide u with if u wish to have it. I can anticipate that an important role is played by a z:\ drive which is a ramdisk collecting all temporary and unneeded files; another important role is the one played by C:\, which is a vhd (the d drive is actually the first physical drive, but the second logical drive. this makes for a clean system (u may have a score windows os's, each on a vhd, but the material on d:\ serves them all). VHD's are a couple gigs in used space, and another couple of gigs is a slack space pletoric nvidia driver folder needs in order to allow for smooth updates.
-
u ready to go on?
-
the main praise engineering-wise goes to Virgus, the other praise being for painstaking perseverance, which is multi-annually proven to have been on my part.
-
this is only the initial customization - per aspera, ad astra
-
if you think it is too much, u cannot imagine what is lying ahead. Just appreciate the automation, as opposed to having it all done manually as per application one by one
-
with a lot of patience which I pledge to be on my part, I am ready to disclose everything u would like to know about; only upon request, though.
-
reboot and some things have gotten automatically configured of course you would have to know the content of some bat files and figure out whether or not they apply to your system
-
then, after the setupcomplete.cmd above runonceall.reg is injected, whose content I will post below: Windows Registry Editor Version 5.00 ; Created with Winaero Tweaker 0.10.1.0 ; https://winaero.com [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "1st"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\1ST.bat" "svbus"="D:\ESSENTIALS\\LaunchBar\16. whats2Bdun\\.AtTheOutset\8. svbus13latest\\bin\\instx64.exe" "overallestlara"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\overallestninoultimatereservemanager.bat" "dx"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\15. Microsoft DirectX SDK (June 2010)\\Redist\\DXSETUP.exe" "nvidia"="E:\\OSCustomizer\\whats2Bdun\\AtTheOutset\\nvidiajunction11.bat" "winruntime"="d:\\Downloads\\winruntime.bat" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "1st"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\1ST.bat" "svbus"="D:\ESSENTIALS\LaunchBar\16. whats2Bdun\.AtTheOutset\8. svbus13latest\bin\instx64.exe" "overallestlara"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\overallestninoultimatereservemanager.bat" "dx"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\15. Microsoft DirectX SDK (June 2010)\\Redist\\DXSETUP.exe" "nvidia"="E:\\OSCustomizer\\whats2Bdun\\AtTheOutset\\nvidiajunction11.bat" "winruntime"="d:\\Downloads\\winruntime.bat" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "ECMenu"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\7. EcMenu_v1.6\\EcMenu_x64.exe" "UWT"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\22. UWT\\Ultimate Windows Tweaker 4.8.exe" "PowerProfiles"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\main batch files\\NPowerCfgProfiles.bat" "inbound"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall.bat" "inbound2"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall2.bat" "preppingmaster"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\prepping\\preppingmaster.bat" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "ECMenu"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\7. EcMenu_v1.6\\EcMenu_x64.exe" "UWT"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\22. UWT\\Ultimate Windows Tweaker 4.8.exe" "PowerProfiles"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\main batch files\\NPowerCfgProfiles.bat" "inbound"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall.bat" "inbound2"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall2.bat" "preppingmaster"="E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\preppingmaster.bat"
-
I can send you some they are mostly batch files that automate some of the processes let me show you some for instance, winntsetup (with autounattend.html and nvidia driver at the outset) is followed by first deployment. once at the desktop, setupcomplete.cmd is lauched, whose content I will post below @ECHO OFF set CDROM= 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: if "%CDROM%"=="" goto skipHEVC dism /Online /Add-ProvisionedAppxPackage /PackagePath:"%CDROM%\Updates\HEVC\Microsoft.HEVCVideoExtension_2.0.61931.0_x64__8wekyb3d8bbwe.appx" /SkipLicense :skipHEVC if "%CDROM%"=="" goto skipDX9 start /w "" "%CDROM%\Updates\DX9\DXSETUP.exe" /silent :skipDX9 set CDROM= fsutil behavior set disableLastAccess 1 >nul 2>&1 net accounts /maxpwage:unlimited >nul 2>&1 powercfg /h off >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 certutil -addstore -f authroot "%windir%\Setup\Scripts\AuthRoot.sst" >nul 2>&1 set "PF=%ProgramFiles%" if not "%ProgramFiles(x86)%"=="" set "PF=%ProgramFiles(x86)%" set EdgeSetup= for /f "delims=" %%i in ('dir /b /s /a-d "%PF%\Microsoft\Edge\Application\setup.exe" 2^>nul') do (set "EdgeSetup=%%i") if "%EdgeSetup%"=="" goto skipEdgeUinstall start /w "" "%EdgeSetup%" --uninstall --system-level --force-uninstall rd /s /q "%PF%\Microsoft\Edge" >nul 2>&1 :skipEdgeUinstall set EdgeSetup= for /f "delims=" %%i in ('dir /b /s /a-d "%PF%\Microsoft\EdgeUpdate\MicrosoftEdgeUpdateSetup.exe" 2^>nul') do (set "EdgeSetup=%%dpi") if "%EdgeSetup%"=="" goto skipEdgeUpdateUinstall if exist "%EdgeSetup%MicrosoftEdgeUpdate.exe" start /w "" "%EdgeSetup%MicrosoftEdgeUpdate.exe" /unregsvc if exist "%EdgeSetup%MicrosoftEdgeUpdate.exe" start /w "" "%EdgeSetup%MicrosoftEdgeUpdate.exe" /uninstall if exist "%EdgeSetup%psmachine_64.dll" start /w "" "%windir%\System32\regsvr32.exe" /u /s "%EdgeSetup%psmachine_64.dll" if exist "%EdgeSetup%psmachine.dll" start /w "" "%windir%\System32\regsvr32.exe" /u /s "%EdgeSetup%psmachine.dll" rd /s /q "%PF%\Microsoft\EdgeUpdate" >nul 2>&1 rd /s /q "%ProgramData%\Microsoft\EdgeUpdate" >nul 2>&1 if not "%ProgramFiles(x86)%"=="" ( reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "version" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "path" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "UninstallCmdLine" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\ClientState" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\UsageStats" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f >nul 2>&1 ) if "%ProgramFiles(x86)%"=="" ( reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "version" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "path" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "UninstallCmdLine" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\ClientState" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\UsageStats" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f >nul 2>&1 ) set "EdgeSettings={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062},{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5},{F3C4FE00-EFD5-403B-9569-398A20F1BA4A}" set "EdgeKeys=on-logon,on-logon-autolaunch,on-logon-startup-boost,on-os-upgrade" for %%e in (%EdgeSettings%) do ( for %%k in (%EdgeKeys%) do ( if "%ProgramFiles(x86)%"=="" ( reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 ) if not "%ProgramFiles(x86)%"=="" ( reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 ) ) ) set EdgeSettings= set EdgeKeys= :skipEdgeUpdateUinstall set PF= set EdgeSetup= start /w "" "%ProgramFiles%\OpenShellSetup_4_4_191.exe" /qn ADDLOCAL=StartMenu rd /s /q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Open-Shell" >nul 2>&1 del /q /f "%ProgramFiles%\OpenShellSetup_4_4_191.exe" >nul 2>&1 call "D:\ESSENTIALS\Primo Ramdisk Server Edition 5.6.0 @Essentials\_Primo Ramdisk Server Edition 5.6.0 SilentInstall (inno).bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\1ST.bat" call "D:\ESSENTIALS\LaunchBar\16. whats2Bdun\.AtTheOutset\8. svbus13latest\bin\instx64.exe" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\overallestninoultimatereservemanager.bat" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\15. Microsoft DirectX SDK (June 2010)\Redist\DXSETUP.exe" call "E:\OSCustomizer\whats2Bdun\AtTheOutset\nvidiajunction11.bat" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\7. EcMenu_v1.6\EcMenu_x64.exe" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\22. UWT\Ultimate Windows Tweaker 4.8.exe" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\main batch files\NPowerCfgProfiles.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\inboundcall.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\inboundcall2.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\preppingmaster.bat" call "D:\ESSENTIALS\LaunchBar\14. Winslop.exe.lnk" call "D:\ESSENTIALS\LaunchBar\13. RepairKit-1.3.8.exe.lnk" call "E:\OSCustomizer\whats2Bdun\winscript.bat" call "d:\Downloads\winruntime.bat"
-
if u got the proper scripts, which Virgus and I have written so far (a couple of years now) and can be further and better engineered by those who are cleverer than us, u can do a lot more with a lot less space than is occupied by ur systems, I am sure. wanna cooperate?
-
I saw what u posted, and I think it might be some bad timing in the permission system, or just the fact that some files or folders are not "allowed" at any time during the basic automation process. what u can do is write a folder-copying script and place it in the last hatch as a .bat file , before the installation ends. if it does not copy the whole directory, do it yourself by launching that bat file before rebooting. it is not a solution, but u can try it as a remedy for the time being. and if it is a copy session instead of an install session, for that matter, u can launch the folder-copying script just the same. i hope it will do the job.
-
what for?
-
excuse me, where is the ready page? everybody says the $oem$ folder should be placed beside install.wim, but in the iso file there is no sign of $OEM$, nor will iso accept any external addition. so where is a viable $OEM$ folder in the end?
-
exactly, for a fully customized install. talking about this, I was gonna ask jfx a further question, for a change: does winntsetup limit itself to processing whatever .reg file it finds in the user-specified folder in the systweak slot or can it also process any other filetype there is in the said folder? Moreover, on the wake of all this, in my continuously and continually desperate attempt to customize my installs as quickly as possible, I was wondering whether we could "ask" winntsetup to install the required iso with the same config and settings as the online os it operates from or, for that matter, any other os offline. So far, I have been able to do it all with several .bat and .ps1 scripts on a post-install basis only. It would be just wonderful if one could have the resulting os with all the desired settings at first attempt, or nearly so. whatever automation I have tried so far that works perfectly concerns reg files only. on the same wavelength, I was wondering whether the .ini slot as in the case of sample.ini can actively process any other ini file that gets added, as happens with reg flles in the systweak slot or it accepts only one ini file to process.
-
thank u ever so much jfx - works like a charm!