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 10\11 quick setup | |
:: The encoding of this file must be OEM 866 | |
:: https://t.me/wincmd64 | |
@echo off | |
NET SESSION | |
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE | |
GOTO ADMINTASKS | |
:ELEVATE | |
CD /d %~dp0 |
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 |
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
#!/system/bin/sh | |
# Use Script Runner 2 Link: https://play.google.com/store/apps/details?id=com.ajay.ssr2&hl=en_US | |
# This script should help forward VPN over any tethered connection on a Android device. | |
# Turn on tethering, then enable VPN, then run this script. | |
# Inital variable setup | |
tethering=0 | |
# Setup iptables before forwarding VPN |