KEVINNITRO WINDOWS DOTFILES
July 21, 2025 ยท View on GitHub
Install fonts
๐ EXTRAS
Crack Winrar (Admin)
curl https://gist.githubusercontent.com/MuhammadSaim/de84d1ca59952cf1efaa8c061aab81a1/raw/rarreg.key | Out-File -FilePath "C:\Program Files\WinRAR\rarreg.key" -Force
Patch IDM
Repack.me
- Close source tool from repack.me by Alexey1980
- Download tool
Note
Password is inside the archived file
PITVN
Install & Active Office
-
Install: OTP Ladian
-
Active
irm https://massgrave.dev/get | iex
Spotify
- SpotX
# main iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/spotx-official.github.io/main/run.ps1') } -new_theme" # mirror iex "& { $(iwr -useb 'https://spotx-official.github.io/run.ps1') } -m -new_theme"
Chrome extensions
Note
Those are extensions which aren't in webstore and have to be installed manually.
Need to do
- Change ownership of old folders / files
- Install Cursor
- Change
Downloads,Desktop,... location - Symlink
git folder(admin)New-Item -Path gits -ItemType SymbolicLink -Value E:\Git-Repo - Restore Powertoys settings
- Winaero-tweaker
- Disable Windows Defender
- Disable Shortcut Arrow
- VisualCppRedist AIO
- EVKey / Unikey
- Wakatime CLI (Required by Terminal Powershell):
pip install wakatime - Wakatime for Office
- Chrome flags
- MathType
- Spotify
v $env:USERPROFILE\AppData\Roaming\Spotify\prefs+storage.size=500 - Windows Settings
- Wallpaper: https://github.com/DenverCoder1/minimalistic-wallpaper-collection
- Touchpad Gestures (3 & 4 fingers)
- DNS from NextDNS (https://router.nextdns.io/?limit=50&stack=dual):
- IPv4
103.186.65.82https://greencloud-sgn-1.edge.nextdns.io/38.60.253.211https://lightnode-sgn-1.edge.nextdns.io/
- IPv6
2400:6ea0:0:1236::d6e2https://greencloud-sgn-1.edge.nextdns.io/2606:4700:4700::1111https://cloudflare-dns.com/dns-query
- Power & Sleep
- Print Screen button with snipping tool
- Make Windows to use UTC time in order to dual boot with Linux
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
Additional
- Keyviz (Already install from PM)
- Optimizer
- Winutil
irm https://christitus.com/win | iex - iSlide
- 3UTools
- qBittorrent (qt6)
- OBS Background Removal
- Keystore Explorer
- Minecraft: Legacy Launcher
- Microsoft Teams
- MPC - HC
- ViveTool
vivetool /disable /id:42354458 # Disable desktop switch animation - Lua 5.1 for Windows (for LazyNvim)
๐ NOTES
Just something that I often forget
SSH
IDA_RSApublic keyssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDap/5GnLxYYNJ2QB1rYRgXyHLQud0L3Y6sfiPL6iAdqZRm+f+006DeZtJ4oP2IN8oS6nF6tfWhCaQ91jv3fZWO+olhyBZulSGbb75WdcqLcctfDwc9er+BZZZMBsF0inEbCgHEooo5kelkuuPIEUmeqn9ozUtQ4A6mLIurjsGfy2nD2bCjYys3UxUa09xEiQxvgHnlvSPCh9XvG1h4eX611GI6EbtJoOvzFPYzaxdNosbombq1HMnNGXk3TMS9fghE1GjnMiBbrortGn6mT0aNi//N9Wgr9AYR0dY2BWk1CZXF78G4MWZoaLOLW5sriMjU881UbfmJx6MmvMAEHDrfJDIQAIoRsjAJbw00SoZjspEg3R8f8ekNjduzikG65noMJGd+jTD7MtBDe+YNCuZp6UQAPwbPQLtlbKOysEWzPupKMHIsPkzUJpdYp1ML1ljV/q+FLRKje4FvWUKTk8KekWxp2tUyn5gWUIrG7DGkE5MKpBp0njFJ17n8H81xQJs= trannguyenthaibinh46@gmail.comID_ED25519public keyssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGmsTFqYpEvaJbMm6PSN2pH4JY0Whrd1F3jkP9OCcrWF trannguyenthaibinh46@gmail.com
GPG
- Export keys
# Public key gpg --output kevinnitro-public-gpg-key.pgp --armor --export trannguyenthaibinh46@gmail.com # Secret key gpg --output kevinnitro-secret-gpg-key.pgp --armor --export-secret-key trannguyenthaibinh46@gmail.com - Import (for both public and secret keys)
gpg --import the-key.gpg - Start GPG agent (set a task schedule to trigger on log on)
gpgconf --launch gpg-agent - May want to trust a key
gpg --edit-key {key-id} trust 5 quit - Start gpg-agent and keyboxd for signing commit (with task scheduler!)
gpgconf --launch gpg-agent gpgconf --launch keyboxd
Browser
Fix Brave profile installed via Scoop
- Open registry
- Goto:
Computer\HKEY_CURRENT_USER\Software\Classes\BraveFile\shell\open\command Computer\HKEY_CURRENT_USER\Software\Classes\BraveHTML.{...}\shell\open\command - Change:
"C:\Users\{user}\scoop\apps\brave\current\brave.exe" --user-data-dir="C:\Users\{user}\scoop\apps\brave\current\User Data" --single-argument %1
Pwsh via Scoop
C:\Users\kevinnitro\scoop\apps\pwsh\current\install-file-context.reg
C:\Users\kevinnitro\scoop\apps\pwsh\current\install-explorer-context.reg
Windows
Set / Get variables
- View system variables
[System.Environment]::GetEnvironmentVariable($KEY, [System.EnvironmentVariableTarget]::Machine) - View user variables
[System.Environment]::GetEnvironmentVariable($KEY, [System.EnvironmentVariableTarget]::User) - Set system variables
[System.Environment]::SetEnvironmentVariable($KEY, $VALUE, [System.EnvironmentVariableTarget]::Machine) - Set user variables
[System.Environment]::SetEnvironmentVariable($KEY, $VALUE, [System.EnvironmentVariableTarget]::User)
Default variables
| VARIABLE | PATH |
|---|---|
APPDATA | C:\Users\kevinnitro\AppData\Roaming |
HOMEDRIVE | C: |
USERPROFILE | C:\Users\kevinnitro |
HOMEPATH | \Users\kevinnitro |
LOCALAPPDATA | C:\Users\kevinnitro\AppData\Local |
PROGRAMDATA | C:\ProgramData |
PROGRAMFILES | C:\Program Files |
PROGRAMFILES(X86) | C:\Program Files (x86) |
SYSTEMROOT | C:\Windows |
TEMP & TMP | C:\Users\kevinnitro\AppData\Local\Temp |
USERDOMAIN | DESKTOP-7QJ8Q7V |
USERNAME | kevinnitro |
WINDIR | C:\Windows |
More reference: Complete List of Environment Variables in Windows 10
Optimise VHD(X)
diskpart
select vdisk file="D:\file.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit
[!NOTE] > https://github.com/microsoft/WSL/issues/4699#issuecomment-565700099
Ensure disk is detached
Others
- Program shortcut:
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs - Datetime format
- CLSID Key (GUID) Shortcuts List for Windows 10
- Shell Commands List for Windows 10
- Rundll32 Commands List for Windows 10
- Cool powershell stuff https://github.com/VikasSukhija/Downloads