_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Switch on a led when internet connection is available | |
| #!/bin/bash | |
| # | |
| while : | |
| do | |
| ping -c5 -q 8.8.8.8 | |
| status=$?; | |
| case $status in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Windows 11 Config by CHEF-KOCH source: https://chef-koch.bearblog.dev/windows-11-config-by-chef-koch/ | |
| :: Remove and rebuild Font Cache | |
| :: Some params might not work in Windows Terminal | |
| :: This is not needed anymore in Windows Codename Nickel+. | |
| del "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\*FontCache*" /s /f /q | |
| del "%WinDir%\System32\FNTCACHE.DAT" /s /f /q | |
| :: Remove the old Windows Powershell v1.x version which is vulnerable | |
| :: taskkill /im PowerShell.exe /f |
- Python
- me_cleaner v1.2 - corna/me_cleaner
- Intel ME System Tools - mostav02/Remove_IntelME_FPT
- Make a full flash dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See if nvidia-smi.exe is available. If not, stop execution | |
| $nvCmd = Get-Command -Name 'nvidia-smi' -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Select-Object -ExpandProperty Source | |
| if ($nvCmd -eq $null) { break } | |
| # Settings for the scheduled task | |
| $taskAction = New-ScheduledTaskAction -Execute $nvCmd -Argument '-pl 30' | |
| $taskTrigger = New-ScheduledTaskTrigger -AtStartup | |
| $taskUserPrincipal = New-ScheduledTaskPrincipal -UserId 'SYSTEM' | |
| $taskSettings = New-ScheduledTaskSettingsSet -Compatibility Win8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo Y|del %appdata%\microsoft\windows\recent\automaticdestinations\* | |
| rem Uninstall Photos | |
| :: powershell -command "Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage" | |
| rem Set region to English (Malaysia), regional format to Engliish (Malaysia), add English (Malaysia) keyboard | |
| powershell -command Set-Culture -CultureInfo ro-RO | |
| powershell -command Set-WinHomeLocation -GeoId 167 | |
| powershell -command "$langs = Get-WinUserLanguageList; $langs.Add(\"en-MY\"); Set-WinUserLanguageList $langs -Force" | |
| powershell -command "Set-TimeZone -Id \"Singapore Standard Time\" -PassThru" | |
| rem Install appx packages: HEVC codec, Pride theme | |
| powershell -command Add-AppxPackage C:\Tools\packages\Microsoft.Pride2020Flags_3.0.0.0_neutral__8wekyb3d8bbwe.Appx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
| <settings pass="windowsPE"> | |
| <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <UserData> | |
| <AcceptEula>true</AcceptEula> | |
| </UserData> | |
| </component> | |
| </settings> | |
| <settings pass="oobeSystem"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########## | |
| # Win10 Initial Setup Script | |
| # Author: Disassembler <[email protected]> | |
| # Version: 1.4, 2016-01-16 | |
| ########## | |
| # Ask for elevated permissions if required | |
| If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) { | |
| Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs | |
| Exit |
