-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComputerWash.cmd
More file actions
5424 lines (5219 loc) · 172 KB
/
Copy pathComputerWash.cmd
File metadata and controls
5424 lines (5219 loc) · 172 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
set NONCE=15927129
:: ============================================================================================================================
:: MIT License
:: Copyright (c) 2019-2026 PastequeOsaure
:: Permission is hereby granted, free of charge, to any person obtaining a copy
:: of this software and associated documentation files (the "Software"), to deal
:: in the Software without restriction, including without limitation the rights
:: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
:: copies of the Software, and to permit persons to whom the Software is
:: furnished to do so, subject to the following conditions:
:: The above copyright notice and this permission notice shall be included in
:: all copies or substantial portions of the Software.
:: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
:: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
:: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
:: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
:: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
:: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
:: SOFTWARE.
:: ============================================================================================================================
@echo off
set Anyreproductionisstrictlyprohibited=1
:ALL
chcp 65001
cls
setlocal EnableDelayedExpansion
:: ______________________________________________________
:: / \
:: | Computer Wash Ulitmate |
:: |______________________________________________________|
:: | |
:: | https://computerwash.wixsite.com/computer-wash |
:: |______________________________________________________|
:: | |
:: | Created : PastequeOsaure V 0.0 17/09/19 |
:: | : -... . ..- ...- . - .... --- -- .- ... |
:: |------------------------------------------------------|
:: | ⚠️ DISCLAIMER ⚠️ |
:: |------------------------------------------------------|
:: | |
:: |- Any unauthorized modification of this script is |
:: | done at your own risk. |
:: |- You are allowed to edit parameters in the main |
:: | block at the beginning of the file, EXCEPT: |
:: | - the version number |
:: | - the creation date |
:: | - the creator's nickname |
:: | |
:: | 👉 If you update this script, please record your |
:: | changes in the **Update** section. |
:: | |
:: |- This script does NOT guarantee troubleshooting. |
:: | It is designed to simplify and automate commands in |
:: | advance, saving time. |
:: | |
:: | Version Number : |
:: | |
set V=V.2026.04.12.19.30
:: |______________________________________________________|
:: | |
:: | Update : PastequeOsaure V 2026.04.12.19.30 |
:: | |
:: | Participation : |
:: | | |
:: | | AAA3A : cd /D "%~dp0". -------- 07/07/21 |
:: | | |
:: | | ChatGpt : Quiz Secret ----------- 24/08/25 |
:: | | |
:: | | ChatGpt : THE_HAUNTED_COMPUTER -- 24/08/25 |
:: | | : Secret |
:: | | |
:: | | ChatGpt : Lymbiratus Secret ----- 29/08/25 |
:: | | |
:: | |_________________________________________________|
:: | |
:: |______________________________________________________|
:: | |
:: | Log ? |
:: | |
:: | 0) OFF 1) ON ( default ) |
:: | |
set Log=1
:: |______________________________________________________|
:: | |
:: | Copy computerwash to system32 0 = Off except in |
:: | = temporary files |
:: | = ( default ) |
:: | |
:: | 1 = ON |
:: | |
set CopyS32=0
:: |______________________________________________________|
:: | |
:: | System info 0 = OFF 1 = ON ( 0 = OFF = default ) |
:: | |
set wmicsoftwarelicensingservice=0
:: |______________________________________________________|
:: | |
:: | Color ? |
:: | |
set Color=1
:: | |
:: | 0) OFF 1) ON ( default ) |
:: |______________________________________________________|
:: | |
:: | From this point I advise you not to make |
:: | any changes. |
:: | |
:: | ( A vos risques et perils ! ! ! ! ) |
:: | ( At your own risk ! ! ! ! ) |
:: \______________________________________________________/
:: ============================================================================================================================
:: 🔧 Computer Wash Start !
:: ============================================================================================================================
title Computer wash ERR ADMIN
cd /D "%~dp0".
call :VERIFY
call :Color
goto :full_mode_admin
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 Color
:: ============================================================================================================================
:Color
:: - Color Mode -
if /I "%Color%"=="1" (
:: - STYLES
set SRESET=[0m
set SBOLD=[1m
set SUNDERLINE=[4m
set SINVERSE=[7m
:: - NORMAL FOREGROUND COLORS
set NFCBLACK=[30m
set NFCRED=[31m
set NFCGREEN=[32m
set NFCYELLOW=[33m
set NFCBLUE=[34m
set NFCMAGENTA=[35m
set NFCCYAN=[36m
set NFCWHITE=[37m
:: - NORMAL BACKGROUND COLORS
set NBCBLACK=[40m
set NBCRED=[41m
set NBCGREEN=[42m
set NBCYELLOW=[43m
set NBCBLUE=[44m
set NBCMAGENTA=[45m
set NBCCYAN=[46m
set NBCWHITE=[47m
:: - STRONG FOREGROUND COLORS
set SFCBLACK=[90m
set SFCRED=[91m
set SFCGREEN=[92m
set SFCYELLOW=[93m
set SFCBLUE=[94m
set SFCMAGENTA=[95m
set SFCCYAN=[96m
set SFCWHITE=[97m
:: - STRONG BACKGROUND COLORS
set SBCBLACK=[100m
set SBCRED=[101m
set SBCGREEN=[102m
set SBCYELLOW=[103m
set SBCBLUE=[104m
set SBCMAGENTA=[105m
set SBCCYAN=[106m
set SBCWHITE=[107m
) else (
:: - STYLES
set SRESET=[0m
set SBOLD=[1m
set SUNDERLINE=[4m
set SINVERSE=[7m
:: - NORMAL FOREGROUND COLORS
set NFCBLACK=[0m
set NFCRED=[0m
set NFCGREEN=[0m
set NFCYELLOW=[0m
set NFCBLUE=[0m
set NFCMAGENTA=[0m
set NFCCYAN=[0m
set NFCWHITE=[0m
:: - NORMAL BACKGROUND COLORS
set NBCBLACK=[0m
set NBCRED=[0m
set NBCGREEN=[0m
set NBCYELLOW=[0m
set NBCBLUE=[0m
set NBCMAGENTA=[0m
set NBCCYAN=[0m
set NBCWHITE=[0m
:: - STRONG FOREGROUND COLORS
set SFCBLACK=[0m
set SFCRED=[0m
set SFCGREEN=[0m
set SFCYELLOW=[0m
set SFCBLUE=[0m
set SFCMAGENTA=[0m
set SFCCYAN=[0m
set SFCWHITE=[0m
:: - STRONG BACKGROUND COLORS
set SBCBLACK=[0m
set SBCRED=[0m
set SBCGREEN=[0m
set SBCYELLOW=[0m
set SBCBLUE=[0m
set SBCMAGENTA=[0m
set SBCCYAN=[0m
set SBCWHITE=[0m
)
goto :eof
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 Admin ? si oui goto Copy
:: ============================================================================================================================
:full_mode_admin
:: ============================================================================================================================
:: 🔧 Temp = copy
:: ============================================================================================================================
set "ME=%~f0"
if /I "!ME!"=="!ME:%TEMP%=!" (
set copy=%CopyS32%
) else (
set copy=1
)
if /I "%~dp0"=="%windir%\system32\" (
cd %temp%
)
call :del_admin
:: ============================================================================================================================
:: 🔧 Admin ?
:: ============================================================================================================================
If _%1_==_payload_ goto :copyAdmin
net session >nul 2>&1
if %errorlevel% neq 0 ( goto :Admin ) else ( goto :copyAdmin )
:: ============================================================================================================================
:Admin
set vbs=%temp%\getadmin.vbs
set "CWPATH=%~s0"
set "CWARGS=payload %~sdp0 %*"
echo Set UAC = CreateObject^("Shell.Application"^) > "%vbs%"
echo Dim p >> "%vbs%"
echo Dim a >> "%vbs%"
echo p = "!CWPATH!" >> "%vbs%"
echo a = "!CWARGS!" >> "%vbs%"
echo UAC.ShellExecute "cmd.exe", "/c """ ^& p ^& """ " ^& a, "", "runas", 1 >> "%vbs%"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
:: ============================================================================================================================
call :separator "Error admin" " "
call :Erreur
call :separator "Mode No admin 30s .... ... .. ."
call :separator " " "only"
set Temploop=0
set NO_ADMIN=1
if /I "%~dp0"=="%windir%\system32\" (
cd %temp%
)
type nul > NO_Admin.txt
:checkNO_ADMIN
timeout /t 1 /nobreak >nul
call :Exit_del_admin
set /a Temploop+=1
if !Temploop! LEQ 30 (
goto :checkNO_ADMIN
)
set Temploop=0
cd /D "%~dp0".
goto :afterCopy
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 Copy puis Initialisation des variables
:: ============================================================================================================================
:copyAdmin
if /I "%~dp0"=="%windir%\system32\" (
cd %temp%
)
:: ============================================================================================================================
if exist stop.txt (
del stop.txt
)
:: ============================================================================================================================
set NO_ADMIN=0
if exist NO_Admin.txt (
del NO_Admin.txt
type nul > Admin.txt
)
:: ============================================================================================================================
set "logdest=%~dp0\Computer Wash Log.txt"
if /I "%~dp0"=="%windir%\system32\" (
set "logdest=%userProfile%\Desktop\Computer Wash Log.txt"
goto afterCopy
)
:: ============================================================================================================================
if /I "%copy%"=="1" (
echo.
echo Copie in progress...
cd /D "%~dp0".
if %Cert% EQU 1 (
echo.
echo %SUNDERLINE%%NFCRED% ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ Unofficial version, it has undergone changes. ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ %SRESET%
echo.
echo Timeout 15s SECURITY, Then copy to system32.
timeout 15
)
xcopy "%~f0" "%windir%\system32\" /s /h /y >nul
echo Start ComputerWash.cmd to System32...
echo.
:: ============================================================================================================================
set "arglist="
for %%A in (%*) do (
echo %%A | find "\" >nul
if errorlevel 1 (
:: Si pas de "\", on ajoute tel quel
set "arglist=!arglist! %%A"
)
)
:: ============================================================================================================================
start %windir%\system32\ComputerWash.cmd !arglist!
if /I "%~dp0"=="%windir%\system32\" (
cd %temp%
)
type nul > copy.txt
call :exitlog
exit /b
) else ( goto :afterCopy )
:: ============================================================================================================================
:: ============================================================================================================================
:: Log Strat
:: ============================================================================================================================
:afterCopy
if /I "%LOG%"=="1" (
echo . > "%logdest%"
echo " ______________________________________________________ " >> "%logdest%"
echo " / \ " >> "%logdest%"
echo " | Computer Wash LOG EDITION V 0.5 - %DATE% | " >> "%logdest%"
echo " |______________________________________________________| " >> "%logdest%"
echo " |----------------| | " >> "%logdest%"
echo " | %date% | Computer | " >> "%logdest%"
echo " | %TIME% | Wash | " >> "%logdest%"
echo " |----------------|_____________________________________| " >> "%logdest%"
echo " | | " >> "%logdest%"
echo " | Created : Computer Wash - - - - - - - - - - - - - - -| " >> "%logdest%"
echo " |______________________________________________________| " >> "%logdest%"
echo " |----------------| | " >> "%logdest%"
echo " |----------------| Nom du PC : %COMPUTERNAME% " >> "%logdest%"
echo " |----------------| | " >> "%logdest%"
)
title Computer Wash %V%
verify on
goto :Var
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 Initialisation des variables puis ARGC_mode_?
:: ============================================================================================================================
:: 🔧 Liste des programmes A S T
:: Code 5Ed5wEu5Q6
:: ============================================================================================================================
:Var
if exist "%temp%\ComputerWashUpdate" (
rd /s /q "%temp%\ComputerWashUpdate"
)
call :delSpinnerRunDEL
echo Variables are starting up, please wait.
:: ============================================================================================================================
set A=A
set nb=0
set /a nb+=1
set A%nb%=Daily Wash
set /a nb+=1
set A%nb%=Maintenance Wash
set /a nb+=1
set A%nb%=Washing Repair
set /a nb+=1
set A%nb%=Last Resort Wash
set /a nb+=1
set A%nb%=Update All App
set nbA=%nb%
set nb=0
:: ============================================================================================================================
set S=S
set S1=Antivirus Malware Scan
set S2=Force Windows Update
set S3=Full Windows Update Reset
set S4=Verificaton system + log
set S5=Restore system
set S6=Restart Windows in Recovery Mode
set S7=Start repair Boot ^/ Startup Windows
set S8=Dignostic RAM
set S9=Maintenance disk c
set S10=Disk Cleanup
set S11=Delete temporary files
set S12=Reset the ip interface
set S13=Reset WS cache
set S14=Setup Chrome Firefox VLC Acrobat 7zip KeePASS
set S15=Update All App
:: ============================================================================================================================
set Ligne_MenuAS=Ligne_MenuAS
set AS=AS
:: ============================================================================================================================
set T=T
set T1=USB Protection
set T2=Auto Ping
:: ============================================================================================================================
set D=Colorblind Mode
set R=Return to the main menu
set Quiz=Quiz
set Soleil12345=Soleil12345
set Vipptore=Vipptore
set Lymbiratus=Lymbiratus
set ArispBypass=ArispBypass
set THE_HAUNTED_COMPUTER=THE_HAUNTED_COMPUTER
set payload=payload
set OLD=OldStory
set GIT=GIT
set SpinnerRUN=SpinnerRUN
:: ============================================================================================================================
set C=C
set nb=0
set init=1
set choix=0
set Start=%SFCGREEN%Start%SRESET%
call :algo
set /a i=1
:loopInverse
call set "value=%%C%i%%%"
if defined value (
set "CC%i%=%value%"
set /a i+=1
goto :loopInverse
)
:: ============================================================================================================================
:: My script Auto
:: ============================================================================================================================
set "targetDir=My script"
if exist "!targetDir!" (
set MS=MS
set "Ligne_MenuMS=Ligne_MenuMS"
set /a count=0
for /f "delims=" %%A in ('dir /b /a-d "!targetDir!\*.cmd" "!targetDir!\*.bat" 2^>nul') do (
set /a count+=1
set "MS!count!=%%A"
)
set "Ligne_MenuMSMS=Ligne_MenuMS"
set "Ligne_MenuMSMS0=separator"
set "Ligne_MenuMSMS1= %SRESET% %SUNDERLINE%%NFCYELLOW%MS%SRESET% %SUNDERLINE%My script%SRESET%"
set "Ligne_MenuMSMS2= "
call :AutoLigneMenu Ligne_MenuMSMS Ligne_MenuMS noPrefix 0 0
call :AutoLigneMenu MS Ligne_MenuMS 0 1 6
)
:: ============================================================================================================================
set init=0
set Start?=0
set print=0
set Ligne=0
set "wingetPath="
for /f "delims=" %%i in ('where winget') do (
set "wingetPath=%%i"
)
:: ============================================================================================================================
Set /A RAND=(%RANDOM%*38/32768)
set text=
set char_sp=char_sp
set char_sp0=[0m🔧
set char_sp1=[0m🛠️
set char_sp2=[0m⚙️
set char_sp3=[0m🧰
set char_sp4=[0m🪛
set char_sp5=[0m🌊
set char_sp6=[0m💾
set char_sp7=[0m🖥️
set char_sp8=[0m🗂️
set char_sp9=[0m💽
set char_sp10=[0m🧹
set char_sp11=[0m🧽
set char_sp12=[0m🖱️
set char_sp13=[0m⌨️
set char_sp14=[0m🛜
set char_sp15=[0m🧼
set char_sp16=[0m🪣
set char_sp17=[0m⚡
set char_sp18=[0m🚀
set char_sp19=[0m⏱️
set char_sp20=[0m🃏
set char_sp21=[0m🛸
set char_sp22=[0m ✩
set char_sp23=[0m🐬
set char_sp24=[0m☄️
set char_sp25=[0m🐢
set char_sp26=[0m💘
set char_sp27=[0m🤩
set char_sp28=[0m ♬
set char_sp29=[0m💞
set char_sp30=[0m😍
set char_sp31=[0m💊
set char_sp32=[0m💖
set char_sp33=[0m🌊
set char_sp34=[0m🐋
set char_sp35=[0m💻
set char_sp36=[0m🍉
set char_sp37=[0m🦄
set char_sp38=[0m ࿐🌊🐋࿐ Computer ࿐࿐ Wash ࿐🐬࿐࿐
CALL SET char_sp_RAND=%%%char_sp%%RAND%%%
:: ============================================================================================================================
:: - ARISP = Any reproduction is strictly prohibited -
:: ============================================================================================================================
set ARISP=Ligne_MenuARISP
set "ARISP0= "
set "ARISP1=%%SRESET%% ⚠️ SOFTWARE DISCLAIMER ⚠️"
set "ARISP2=separator"
set "ARISP3=%%SRESET%% IF YOU HAVE PAID FOR THIS SOFTWARE, YOU HAVE BEEN SCAMMED!"
set "ARISP4=%%SRESET%% This script is completely FREE."
set "ARISP5= "
set "ARISP6=%%SRESET%% 👉 The software is provided ""AS IS"", without any warranty."
set "ARISP7=%%SRESET%% The authors or copyright holders shall NOT be liable for any damages, losses, or claims."
set "ARISP8=separator"
set "ARISP9=%%SRESET%%%%SFCBLUE%% https:^/^/pastequeosaure.freeboxos.fr"
set "ARISP10=%%SRESET%%%%SFCBLUE%% https:^/^/github.com^/Pastequeosaure^/ComputerWash.cmd^/blob^/main^/ComputerWash.cmd"
set "ARISP11=separator"
set "ARISP12=%%SFCRED%% - %%SRESET%%%%SUNDERLINE%%Press CTRL+C to EXIT%%SRESET%%"
set "ARISP13=%%SFCGREEN%% - %%SRESET%%%%SUNDERLINE%%Press ENTER to continue%%SRESET%%"
set "ARISP14=separator"
call :AutoLigneMenu ARISP Ligne_MenuARISP noPrefix 0 0
:: ============================================================================================================================
set header=Ligne_Menuheader
SET "header0=%SFCBLUE% _____________________________________________________________________"
SET "header1=%SFCBLUE% / \"
SET "header2=%SFCBLUE% ^| ^|"
SET "header3=%SFCBLUE% ^| ^|"
SET "header4=%SFCBLUE% ^| %SFCBLUE%Zone powershell ^|"
SET "header5=%SFCBLUE% ^| ^|"
SET "header6=%SFCBLUE% ^| ^|"
SET "header7=%NFCMAGENTA% ^|%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%--%NFCMAGENTA%--%SFCBLUE%-^|"
SET "header8=%NFCMAGENTA% ^| %%SRESET%%,___, %%NFCMAGENTA%%^| ^|"
SET "header9=%NFCMAGENTA% ^| %%SRESET%%[O.o] %%NFCMAGENTA%%^| %%char_sp_RAND%% %%SRESET%%Computer Wash %%V%% %%char_sp_RAND%% %%NFCMAGENTA%%^|"
SET "header10=%%NFCMAGENTA%% ^| %%SRESET%%/)__) %%NFCMAGENTA%%^| %%NFCMAGENTA%%^|"
SET "header11=%%NFCMAGENTA%% ^| %%SRESET%% --"--"-- %%NFCMAGENTA%%^| %%SRESET%%Created by PastequeOsaure %%NFCMAGENTA%%^|"
SET "header12=%%NFCMAGENTA%% ^\____________^|________________________________________________________^/%SRESET%"
SET "header13= "
if defined Cert (
if %Cert% EQU 1 (
SET "header14= %SRESET% %SUNDERLINE%%NFCRED%⚠️ unofficial version, it has undergone changes ! ⚠️%SRESET%"
)
if %Cert% EQU 0 (
SET "header14= %SRESET% %SUNDERLINE%%NFCGREEN%✅ you are on an official version ✅%SRESET%"
)
) else (
:: Please do not bypass this.
:: You can modify the script without it crashing, without removing the official or unofficial border.
:: Furthermore, you have the MS menu to add your own scripts without touching ComputerWash's code!
exit
)
:: ============================================================================================================================
call :AutoLigneMenu header Ligne_Menuheader noPrefix 0 0
:: ============================================================================================================================
if /I "%Color%"=="0" (
set D?=%SFCGREEN%ON%SRESET%
)
if /I "%Color%"=="1" (
set D?=%SFCRED%OFF%SRESET%
)
set Other=Other
set Other0=separator
set "Other1=%%SRESET%% %%SUNDERLINE%%Other :%%SRESET%%"
set "Other2= "
set "Other3=%%SRESET%% D ) Colorblind Mode %%D?%%"
set "Other4=%%SRESET%% R ) Return to the main menu"
set "Other5=%%SRESET%% %%NFCGREEN%%GIT ) Current ^| ( = or + 2023-03-18 )"
set "Other6=%%SRESET%% %%NFCMAGENTA%%OLD ) OldStory ^| ( - 2023-03-18 )"
set i=0
for /f "delims=" %%i in ('curl -s https://pastequeosaure.freeboxos.fr/version') do set i=%%i
if "%i%"=="%V%" (
set "Other7= "
set "Other8=%%SRESET%% %%SUNDERLINE%%%%NFCYELLOW%%No updates available%%SRESET%%"
) else (
set UP=UPDATE
set "Other7= "
set "Other8=%%SRESET%% %%NFCGREEN%%UP) %%SRESET%%UPDATE Available"
)
call :AutoLigneMenu Other Ligne_MenuOther noPrefix 0 0
:: ============================================================================================================================
set foot_head=foot_head
set "foot_head0=%%SFCRED%% _____________________________________________________________________"
set "foot_head1=%%SFCRED%% ^/ ^\"
set "foot_head2=%%SFCRED%% ^| %%SRESET%% Any other entry takes you back to the main menu. %%SFCRED%% ^|"
set "foot_head3=%%SFCRED%% ^| %%SRESET%% What's more, if you already know the program you want, you can %%SFCRED%% ^|"
set "foot_head4=%%SFCRED%% ^| %%SRESET%% enter it directly. %%SFCRED%% ^|"
set "foot_head5=%%SFCRED%% ^| %%SRESET%% Helper Menu updated: each selection takes you to the custom %%SFCRED%% ^|"
set "foot_head6=%%SFCRED%% ^| %%SRESET%% menu for review ^& customization. %%SFCRED%% ^|"
set "foot_head7=%%SFCRED%% ^\_____________________________________________________________________^/"
Set /A RAND=(%RANDOM%*10/32768)
if %RAND%==1 (
set "foot_head8=%%NFCGREEN%% _____________________________________________________________________"
set "foot_head9=%%NFCGREEN%% ^/ ^\"
set "foot_head10=%%NFCGREEN%% ^| %%SRESET%% Quiz ) The Secret Computerwash Quiz %%NFCGREEN%% ^|"
set "foot_head11=%%NFCGREEN%% \_____________________________________________________________________/"
)
call :AutoLigneMenu foot_head Ligne_Menufoot_head noPrefix 0 0
:: ============================================================================================================================
set USBA=USBA
set "USBA0= "
set "USBA1=%%SRESET%% %NFCBLUE%Computer Wash USB Protection"
set "USBA2= "
set "USBA3=%%SRESET%% - Please select a volume type and its identifier."
set "USBA4= "
set "USBA5=%%SRESET%% - example : %%SFCGREEN%%select disk 0"
set "USBA6=%%SRESET%% - example : %%SFCGREEN%%select volume C"
set "USBA7= "
set "USBA8=%%SRESET%% Please wait please wait please wait please wait . .. ..."
call :AutoLigneMenu USBA Ligne_MenuUSBA noPrefix 0 0
:: ============================================================================================================================
set USBB=USBB
set "USBB0=%%SRESET%% %NFCBLUE%Computer Wash USB Protection%%SRESET%%"
set "USBB1= "
set "USBB2= - In case you used select disk please use attributes disk otherwise use attributes volume"
set "USBB3= "
set "USBB4= - 1) attributes volume set readonly"
set "USBB5= - 2) attributes volume clear readonly"
set "USBB6= "
set "USBB7= - 3) attributes disk set readonly"
set "USBB8= - 4) attributes disk clear readonly"
set "USBB9= "
set "USBB10= Any other input will give you a fatal error. The script will close."
call :AutoLigneMenu USBB Ligne_MenuUSBB noPrefix 0 0
:: ============================================================================================================================
:Varable_DEV
set Reset_Ligne_Menu=Ligne_Menu
set Ligne_Menu=Ligne_Menu
set Menu0=separator
set Menu1= %SRESET% %SUNDERLINE%Main menu :%SRESET%
set Menu2=%SRESET%
set Menu3= %SRESET% A ) Automatic
set Menu4= %SRESET% S ) Specific
set Menu5= %SRESET% AS ) Automatic and Specific
set Menu6= %SRESET% C ) Custom
set Menu7=separator
set Menu8= %SRESET% %SUNDERLINE%Single Option :%SRESET%
set Menu9=%SRESET%
set Menu10= %SRESET% T ) Tool
call :AutoLigneMenu Menu Ligne_Menu noPrefix 0 0
set Ligne_MenuA=Ligne_MenuA
set Ligne_MenuAA0=separator
set Ligne_MenuAA1=%SRESET% %SUNDERLINE%%NFCYELLOW%A%SRESET%%SUNDERLINE%utomatic%SRESET%
set "Ligne_MenuAA2= "
call :AutoLigneMenu Ligne_MenuAA Ligne_MenuAS noPrefix 0 0
call :AutoLigneMenu A Ligne_MenuAS 0 1 6
call :AutoLigneMenu Ligne_MenuAA Ligne_MenuA noPrefix 0 0
call :AutoLigneMenu A Ligne_MenuA 0 1 6
:: ============================================================================================================================
set Ligne_MenuT=Ligne_MenuT
set Ligne_MenuTT0=separator
set Ligne_MenuTT1=%SRESET% %SUNDERLINE%%NFCYELLOW%T%SRESET%%SUNDERLINE%ool%SRESET% TOOL ONLY
set "Ligne_MenuTT2= "
call :AutoLigneMenu Ligne_MenuTT Ligne_MenuT noPrefix 0 0
call :AutoLigneMenu T Ligne_MenuT 0 1 6
:: ============================================================================================================================
set Ligne_MenuS=Ligne_MenuS
set Ligne_MenuSS0=separator
set Ligne_MenuSS1= %SRESET% %SUNDERLINE%%NFCYELLOW%S%SRESET%%SUNDERLINE%pecific%SRESET%
set "Ligne_MenuSS2= "
set /a nbA=nbA*2+6
call :AutoLigneMenu Ligne_MenuSS Ligne_MenuAS noPrefix 0 %nbA%
set /a nbA+=6
call :AutoLigneMenu S Ligne_MenuAS 0 1 %nbA%
call :AutoLigneMenu Ligne_MenuSS Ligne_MenuS noPrefix 0 0
call :AutoLigneMenu S Ligne_MenuS 0 1 6
:: ============================================================================================================================
set Ligne_MenuC=Ligne_MenuC
set Ligne_MenuCC0=separator
set Ligne_MenuCC1= %SRESET% %SUNDERLINE%%NFCYELLOW%C%SRESET%%SUNDERLINE%ustomizable%SRESET%
set "Ligne_MenuCC2= "
call :AutoLigneMenu Ligne_MenuCC Ligne_MenuC noPrefix 0 0
call :AutoLigneMenu C Ligne_MenuC 0 1 6
:: ============================================================================================================================
:: End auto
:: ============================================================================================================================
goto :ARGC_mode_?
:: ============================================================================================================================
:: 🔧 Générateur des lignes printables de menus
:: (header principal, secondaire, etc.)
:: ============================================================================================================================
:AutoLigneMenu
:: %1 = préfixe source (A, S, C, header)
:: %2 = tableau cible (Ligne_MenuA, Ligne_MenuS, Ligne_Menuheader…)
:: %3 = "noPrefix" optionnel "0"
:: %4 = "Startlignedest"
:: %5 = "Startlignesources"
SET /A "count=%~4"
SET /A "line=%~5"
:: ============================================================================================================================
:loopGeneric
set "value=!%~1%count%!"
if defined value (
if /i "%~3"=="noPrefix" (
set "%~2!line!=!value!"
) else (
set "%~2!line!=%NFCYELLOW% %~1%SRESET%%count%) !value!"
)
set /a line+=1
set "%~2!line!=."
set /a line+=1
set /a count+=1
goto :loopGeneric
)
goto :eof
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 ARGC_mode_? Puis ?
:: ============================================================================================================================
:ARGC_mode_?
set "Choix="
:: ============================================================================================================================
:: Si aucun argument, aller à Interface
:: ============================================================================================================================
if "%1"=="" goto :Interface
:: ============================================================================================================================
:: Vérifie si le premier argument contient "\"
:: ============================================================================================================================
echo %1 | find "\" >nul
if errorlevel 1 (
rem Si pas de "\", on l'ajoute à Choix
set "Choix=%~1"
echo %SRESET%%NFCMAGENTA%Choix défini : %NFCCYAN%!Choix!%SRESET%
shift
goto :Preparateur_de_variable
) else (
shift
goto :ARGC_mode_?
)
:: ============================================================================================================================
:: ============================================================================================================================
:: 🔧 Preparateur de variable puis ARGC_mode_?
:: ============================================================================================================================
:Preparateur_de_variable
set /a i=1
:loopLigne
call set "value=%%CC%i%%%"
if defined value (
set "C%i%=%value%"
set /a i+=1
goto :loopLigne
)
call set "valeur=%%%choix%%%"
if "%valeur%"=="" (
set "choix= "
goto :mode_console
)
if /I "%valeur%"=="UPDATE" (
goto :update
)
:: ============================================================================================================================
if /I "%valeur%"=="SpinnerRUN" (
goto :SpinnerRUN
)
:: ============================================================================================================================
if /I "%valeur%"=="ArispBypass" (
set Anyreproductionisstrictlyprohibited=0
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="THE_HAUNTED_COMPUTER" (
call :THE_HAUNTED_COMPUTER
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="Soleil12345" (
call :ADMIN
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="Lymbiratus" (
call :Lymbiratus
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="Vipptore" (
call :Lymbiratus
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="GIT" (
start https://github.com/Pastequeosaure/ComputerWash.cmd/blob/main/ComputerWash.cmd
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="OldStory" (
start https://computerwash.wixsite.com/computer-wash/archives
set choix=Ligne_Menu
)
:: ============================================================================================================================
if /I "%valeur%"=="Quiz" (
call :Quiz
set choix=Ligne_Menu
)
:: ============================================================================================================================
:: AX
:: ============================================================================================================================
if /I "%valeur%"=="Daily Wash" (
set DISM=1
set sfc=1
set choix=C
)
if /I "%valeur%"=="Maintenance Wash" (
set DISM=1
set sfc=1
set del=1
set del2=1
set choix=C
)
if /I "%valeur%"=="Washing Repair" (
set chkdsk=1
set cleanmgr=1
set DISM=1
set sfc=1
set findstr=1
set del=1
set del2=1
set choix=C
)
if /I "%valeur%"=="Last Resort Wash" (
set chkdsk=1
set cleanmgr=1
set DISM=1
set sfc=1
set findstr=1
set Mrt=1
set SignatureUpdate=1
set MpCmdRunBootSectorScan=1
set MpCmdRunScanType=1
set interfaceipreset=1
set winsockreset=1
set advfirewallreset=1
set ipconfigrelease=1
set ipconfigflushdns=1
set wsreset=1
set del=1
set del2=1
set shutdownrr=1
set choix=C
)
:: ============================================================================================================================
:: SXX
:: ============================================================================================================================
if /I "%valeur%"=="Antivirus Malware Scan" (
set Mrt=1
set SignatureUpdate=1
set MpCmdRunBootSectorScan=1
set MpCmdRunScanType=1
set choix=C
)
if /I "%valeur%"=="Dignostic RAM" (
set mdsched=1
set shutdownrr=1
set choix=C
)
if /I "%valeur%"=="Maintenance disk c" (
set chkdsk=1
set choix=C
)
if /I "%valeur%"=="Disk Cleanup" (
set cleanmgr=1
set del=1
set del2=1
set choix=C
)
if /I "%valeur%"=="Start repair Boot / Startup Windows" (
set bcdboot=1
set choix=C
)
if /I "%valeur%"=="Restore system" (
set rstrui=1
set choix=C
)
if /I "%valeur%"=="Reset the ip interface" (
set interfaceipreset=1
set winsockreset=1
set advfirewallreset=1
set ipconfigrelease=1
set ipconfigflushdns=1
set choix=C
)
if /I "%valeur%"=="Reset WS cache" (
set wsreset=1
set choix=C
)
if /I "%valeur%"=="Delete temporary files" (
set del=1
set del2=1
set choix=C
)
if /I "%valeur%"=="Update driver sys et COM" (
set pnpunattend=1
set choix=C
)
if /I "%valeur%"=="Verificaton system + log" (
set DISM=1
set sfc=1
set findstr=1
set choix=C
)
if /I "%valeur%"=="Setup Chrome Firefox VLC Acrobat 7zip KeePASS" (
set choix=C
set chrome=1
set Firefox=1
set VLC=1
set Acrobat=1
set zip=1
set KeePass=1
)
if /I "%valeur%"=="Full Windows Update Reset" (
set choix=C
set wuauservStop=1
set wuauservStart=1
set cryptSvcStop=1
set cryptSvcStart=1
set bitsStop=1
set bitsStart=1
set cbitsStop=1
set cbitsStart=1
set msiserverStop=1
set msiserverStart=1
set SoftwareDistribution=1
set catroot2=1
set winsockreset=1
set winhttp=1
set bitsadmin=1
set DLLWindowsUp=1
set shutdownrr=1
)
if /I "%valeur%"=="Force Windows Update" (
set choix=C
set StartScan=1
set StartDownload=1
set StartInstall=1
set RestartDevice=1
)
if /I "%valeur%"=="Update All App" (
set choix=C
set ALL=1
)
if /I "%valeur%"=="Colorblind Mode" (
set choix=Ligne_Menu
if /I "%Color%"=="0" (
set Color=1
set D?=%SFCGREEN%ON%SRESET%
call :Color
) else (
set Color=0
set D?=%SFCRED%OFF%SRESET%
call :Color
goto :Var
)
)
if /I "%Color%"=="0" (
set D?=%SFCGREEN%ON%SRESET%
)
if /I "%Color%"=="1" (
set D?=%SFCRED%OFF%SRESET%
)
if /I "%valeur%"=="Return to the main menu" (
set choix=Ligne_Menu
goto :Preparateur_de_variable
)
:: ============================================================================================================================
:: CXX
:: ============================================================================================================================
call :algo
call :AutoLigneMenu C Ligne_MenuC 0 1 6
:: ============================================================================================================================
CALL SET var=%%%Reset_Ligne_Menu%%choix%%%
if "%var%"=="" (
set var=%Reset_Ligne_Menu%
)
set Ligne_Menu=%var%
if "%var%0"=="" (
set var=%Reset_Ligne_Menu%
)
:: ============================================================================================================================
call :AutoLigneMenu Other Ligne_MenuOther noPrefix 0 0
if /I "%valeur%"=="%SFCGREEN%Start%SRESET%" (
set Start?=1
set choix=C
cls
call :Print Ligne_Menuheader 0