mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
Add files via upload
This commit is contained in:
parent
2bdcdc4fcb
commit
85ed7c1b3a
3
winstuff/fix-powershell-running-scripts-disabled.cmd
Normal file
3
winstuff/fix-powershell-running-scripts-disabled.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
@echo PASTEME IN ADMINPOWERSHELL TERMINAL
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
|
||||
|
14
winstuff/sfc-scannow-dism.cmd
Normal file
14
winstuff/sfc-scannow-dism.cmd
Normal 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
|
13
winstuff/win10-firewall-allow-ping.cmd
Normal file
13
winstuff/win10-firewall-allow-ping.cmd
Normal 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
|
@ -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
|
7981
winstuff/win11-MediaCreationTool.bat
Normal file
7981
winstuff/win11-MediaCreationTool.bat
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user