Everything is a freeware desktop search utility for Windows that can rapidly find files and folders by name. As the binaries and the Everything tool application itself is licensed under the MIT permissive license, it is considered open-source.
– Taken from Wikipedia
Category: windows-administration
qBittorrent Setup Guide 2024
- Click the
Settings icon. - Click the
Advanced option. - Go to the Network interface section, and choose your VPN interface. If you’re using Mullvad, there should be an entry for
Mullvad. - This will make sure to bind your qBittorrent connection directly to your VPN. There will be no possibility of mistakenly opening qBittorrent without your VPN on, leaking your gateway IP to the world. If you don’t have a VPN and are living in Germany, Western European nations, or North America, you need one… Unless you’re only downloading ISOs or legal, non-copywritten material, that is.
- Click the
BitTorrent option. - Go to the Encryption mode: section. Make sure it’s set to
Require encryption. - Check the checkbox for Enable anonymous mode.
- Make sure that the value
30is set for all of the following options: - Maximum active checking torrents:
- Maximum active downloads:
- Maximum active uploads:
- Maximum active torrents:
- Modify the values for the following areas:
- Download rate threshold:
35 KiB/s - Torrent inactivity timer:
15 sec - Under Seeding Limits, ensure When ratio reaches is checked, and the value is set to
0.00. - Under the then area, make sure the value is set to
Pause torrent. - Click the
Downloads option. - Navigate to the Saving Management subsection. Set the following options: Default Torrent Management Mode:
Automatic, When Torrent Category changed:Relocate torrent, When Default Save/Incomplete Path changed:Relocate affected torrents, and When Category Save Path changed:Relocate affected torrents. - Nativate to the Saving Management subsection. Ensure that the Use Subcategories checkbox is checked.
- Nativate to the Saving Management subsection. Ensure that the Copy .torrent files to: checkbox is checked. Be sure to set a default value via the file picker option on the right.
Activating Windows 10 LTSC
Disclaimer
This article is for research purposes. If you do this, I will not be held responsible for any license violations that may occur.
Activating
Simply run the following command in a PowerShell window running as Administrator:
irm https://massgrave.dev/get | iex
After an activation Windows appears with options, choose the first option by hitting the 1 key on your keyboard.
Once the activation finishes, you can hit any key to quit, then the 0 key on your keyboard to quit fully.
Basic Windows Security Tips
- Ensure your Windows device is on a supported version, and is always up-to-date.
- Enable BitLocker Encryption on your boot drive.
- You can enable BitLocker by pressing the Windows key, typing Manage BitLocker, and finally hitting Enter on your keyboard.
- Using a computer without BitLocker (especially on a laptop) is a bad idea. If I was to take someone’s Windows laptop right now, I bet that 99% of those people would not be using BitLocker or any other form of encryption. This means I could simply remove the hard drive, put it in my computer, and copy everything stored on it, no passwords required. Use BitLocker.
- Enable BitLocker on your secondary hard drive(s).
- Same reason as the first, but a bit less necessary. That being said, it’s always good to encrypt your stuff. You never know what you might have on it that a nefarious person could find useful.
- Use a password instead of a PIN.
- Never use a Windows PIN. It’s much less secure than a password (assuming what you’re using isn’t completely moronic), and is easier to “guess”, assuming you’re doing what most people do, which is using a notable year or basic patterns/combos.
Note : Alternatively, you can use Windows Hello, or another form of biometric.- Use a local account rather than an online account.
- Surprisingly, most do not know that you do not need to be logged in with a Windows account to use OneDrive, or other Microsoft native services. You can simply make an offline account, then login to OneDrive after, making sure to select “allow only Microsoft apps to sign in” upon doing so.
- In addition, this is somewhat of a controversial step, as it also depends on your use case. Assuming you are using a strong password on your local account, you could be more secure than using a Microsoft Account, especially if you are using a PIN to login, or don’t use an authenticator of some sort. Secondly, using a Microsoft Account puts you at risk of a possible Microsoft data breach, though this is unlikely.
- Use a password manager.
- Don’t just depend on browser synching. Use a password manager and make sure you use secure passwords. I would recommend KeePassXC.
- Lock your computer when away using Windows + L.
stable-diffusion-webui And Dealing With Multiple GPUs
This article deals with AUTOMATIC1111/stable-diffusion-webui on Windows 11. Linux would have slightly different steps – more specifically around webui-user.bat/webui-user.sh – but they’re still both pretty similar and use the same environment variable names, just different scripting languages.
If you have multiple GPUs, you can use the following line to choose between each of them:
set CUDA_VISIBLE_DEVICES =0
Note that 0 is for GPU number 1, and 1 and for GPU number 2. If you have more, then the number would continue…
You can find out which GPU is assigned to which number by opening Task Manager -> Performance, where GPU 0 would have the value 0, and GPU 1 would have the value 1.
Enable BitLocker Without A TPM Chip (Password-Based Authentication)
- Open Edit group policy.
- Navigate to the following directory:
- Computer Configuration -> Administrative templates -> Windows Components -> BitLocker Drive Encryption -> Operating System Drives
- Open/configure the following setting: Require additional authentication at startup. Note, do not open the one named Require additional authentication at startup (Windows Server 2008 and Windows Vista) unless you are using Windows Server 2008 or Vista.
- Change the option from Not Configured to Enabled.
If you try encrypting your OS drive without a TPM chip, you’ll now notice you have the option to setup a password or use a drive as a passkey as well.
Autostart VMWare Workstation Pro VMs on Windows
Create a .bat file with the following file content. Make sure you point to the .vmx file of your VM.
“C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe” -T ws start “Z:\virtual_machine\virtual_machine.vmx” nogui
Move this .bat file to your startup folder at the following location: C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
WSL 2 Setup
WSL 1 is fantastic, but lacks some of the features (namely fstab mounting) that WSL 2 brings to the table. WSL and WSL 2 are a bit confusing to set up because of the lack of centralization; “Go to the Windows Features panel, then download this random EXE from a browser…”.
There are multiple ways to go about conducting this, but here’s the simplest way to set up both versions.
Install WSL 1
Open PowerShell as administrator (Shortcut: Windows + x, then hit a, then Alt + y).
Put these two commands into the PowerShell window:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Hit enter a few times.
Once the commands are done running, restart your computer. Yes, you’re still forced to restart Windows in 2022 for feature additions.
Now, you must choose a distro. I prefer Debian. The other installations are the same process, so choose whatever. You have two options depending on your Windows 10 version:
- Windows Store download (the easiest)
- Internet download ->
Add-AppxPackageimport (for Windows 10 LTSC users)
Windows Store Method
Just type the distro you want into the search bar – like Ubuntu – and hit the installation button. When that’s done, open the distro EXE you downloaded from the MS store and go through the installation process. You can find it by hitting the Start button and typing the distro name.
Internet Download
Skip this step if you’ve already done the Windows Store Method.
Click one of these distro links:
That should be all of the officially supported ones hosted by Microsoft.
After the download, open a PowerShell window as administrator once again. Then, navigate to the directory you downloaded the appx file at (probably your downloads directory), then run the following command (note: the file name will be different depending on your distro):
Add-AppxPackage Debian.appx
Then, run the newly installed EXE on your system. If you installed Debian, run the Debian program, if you installed Ubuntu, run the Ubuntu program, and so on. Go through the setup process until your new user is created.
That’s WSL 1 + distro installation complete. Now we can convert this WSL 1 distro to WSL 2 to get those oh-so-fantastic features.
WSL 2 Installation
Open a PowerShell window as administrator once again. Run the following command (note: the file name will be different depending on your distro):
wsl --set-version Debian 2
This will take a minute, but once it’s done, you’ll have WSL 2. Easy as that.
