Add files via upload

This commit is contained in:
kneutron 2024-04-29 15:25:27 -06:00 committed by GitHub
parent 2bdcdc4fcb
commit 85ed7c1b3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8012 additions and 9 deletions

View File

@ -0,0 +1,3 @@
@echo PASTEME IN ADMINPOWERSHELL TERMINAL
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

View File

@ -0,0 +1,14 @@
sfc /scannow
dism /online /cleanup-image /checkhealth
pause
dism /online /cleanup-image /scanhealth
pause
dism /online /cleanup-image /restorehealth
echo mount Win10 ISO on E:
pause
dism /online /cleanup-image /restorehealth /source:e:\sources\install.esd /limitaccess
REM skip using win updt

View File

@ -0,0 +1,13 @@
echo PK to allow ping
echo Run as admin!
pause
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
rem ipv6
rem netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol=icmpv6:8,any dir=in action=allow
rem https://www.thewindowsclub.com/how-to-allow-pings-icmp-echo-requests-through-windows-firewall
rem disable:
rem netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=block

View File

@ -1,10 +1,2 @@
@echo off
REM Use when upgrading win10 major versions, 2004 to 20H1 etc
REM MAKE A FULL BARE-METAL BACKUP before running this
REM Assumes the presence of drive D: to copy files to (remove "/Tempdrive D" if necessary)
REM Borrowed from: https://www.itninja.com/question/script-for-determining-the-drive-letter-of-the-cd-on-windows-pe-2-1
set tagfile=\setup.exe
for %%i in (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:%tagfile%" set DVD=%%i
%DVD%:\setup /Auto Upgrade /CompactOS Enable /DynamicUpdate disable /EULA accept /MigNEO disable /ShowOOBE none /Telemetry disable /Tempdrive D /Uninstall disable
J:\setup /Auto Upgrade /CompactOS Enable /DynamicUpdate disable /EULA accept /MigNEO disable /ShowOOBE none /Telemetry disable /Tempdrive D /Uninstall disable

File diff suppressed because one or more lines are too long