Categories:
Email 🠪 Servers 🠪 Testing
Hardware 🠪 3D Printing 🠪 Apple 🠪 Batteries 🠪 Drives 🠪 Edgerouter 🠪 Electronics 🠪 Modems 🠪 Phone 🠪 Printers 🠪 Raspberry Pi 🠪 Virtualization
Links 🠪 Interesting 🠪 Media
Network 🠪 Data 🠪 Testing 🠪 VPN
Scripts 🠪 Batch 🠪 Powershell
Servers 🠪 Databases 🠪 Misc 🠪 Website
Software 🠪 Other
Utilities 🠪 Backup 🠪 Fix Issues 🠪 Recovery
Video 🠪 Editing
Websites 🠪 HTML 🠪 Testing
Windows 🠪 Adjustments 🠪 Issues 🠪 Remote Desktop 🠪 Sercurity 🠪 Slow 🠪 Software 🠪 Startup
Everything
Submit Entry | Airin's Notes
Category: Windows 🠪 Startup Create new Admin user | January 21, 2021 | Create new Win10 user without password:
Boot from Win10 USB
Press Shift-F10
cd /d c:\windows\system32
copy utilman.exe utilman-.exe
copy cmd.exe utilman.exe
Reboot
Press Ease of Access button in bottom right
net user useradmin /add
net localgroup Administrators useradmin /add
Reboot and login to useradmin account.
From admin cmd window:
cd /d c:\windows\system32
copy utilman-.exe utilman.exe
Over-right the file. |
Category: Scripts 🠪 Powershell My Powershell scripts | January 24, 2021 | This lists some powershell scripts I have created which may be of interest to others.
To run a powershell script automatically using Task Scheduler, set the program to [ powershell.exe ] and the Add Arguments field to [ -File "PathToScript.ps1" ].
Link to more info on setting it.
FastPing - Ping multiple devices quickly - Use this to watch devices ping tim...<Too long, click to read the rest> |
Category: Scripts 🠪 Batch Upload file via FTP | January 23, 2021 | Put the FTP command script in a .txt file, then make a shortcut or batch file containing:
ftp.exe -s:C:\Temp\testftp.txt
Below is the script to put in a text file:
---------------------- Start ----------------------
open ftp.server.com
theusername
thepassword
binary
prompt
cd "ftp.server.com"
lcd "C:\Temp\Uploads"
put 1.mp3
bye
--------------------- End -----------------------
|
Category: Hardware 🠪 Edgerouter Port forwarding via Command Line | January 20, 2021 | configure
edit service nat rule 1
set description HTTPS
set inside-address address 172.16.20.20
set inside-address port 443
set log disable
set protocol tcp
set type destination
set inbound-interface eth+
set destination address 0.0.0.0
set destination port 443
top
edit service nat rule 5001
set description Hairpin_MASQ
set destination address 172.16.20.0/24
set source address 172.16.20.0/24
set log disable
set outbound-interface eth3
set protocol tcp
set type masquerade
top
...<Too long, click to read the rest> |
Category: Hardware 🠪 Edgerouter VPN - L2TP | January 20, 2021 | This will setup a L2TP with preshared key of preshared123, username of username1 and password of password1
configure
set firewall name WAN_LOCAL rule 270 action accept
set firewall name WAN_LOCAL rule 270 description IKE
set firewall name WAN_LOCAL rule 270 destination port 500
set firewall name WAN_LOCAL rule 270 log disable
set firewall name WAN_LOCAL rule 270 protocol udp
set firewall name WAN_LOCAL rule 240 action accept
set firewall name WAN_LOCAL rule 240 description L2TP
set firewall n...<Too long, click to read the rest> |
Category: Hardware 🠪 Edgerouter VPN - PPTP | January 20, 2021 | This is old VPN technology, I don't recommend using this.
configure
set vpn pptp remote-access authentication mode local
set vpn pptp remote-access authentication local-users username username1 password laksdfjklsjkldf
set vpn pptp remote-access authentication local-users username username2 password abcdabcd
set vpn pptp remote-access client-ip-pool start 172.16.20.200
set vpn pptp remote-access client-ip-pool stop 172.16.20.210
set vpn pptp remote-access dns-servers server-1 4.2.2.2
commit
sav...<Too long, click to read the rest> |
Category: Hardware 🠪 Edgerouter VPN - OpenVPN | January 20, 2021 | This is the basic procedure to get OpenVPN server working on your Edgerouter.
## Install OpenVPN on Windows using file from this website. During install make sure you install the Easy RSA scripts
https://openvpn.net/community-downloads/
## Open Powershell/cmd.exe as Admin
cmd
cd "C:\Program Files\OpenVPN\easy-rsa"
if not exist vars.bat init-config
notepad vars.bat
vars
clean-all
echo Modify the following files to make them last longer than 1 year (perhaps 10+ years)
notepad build-ca.bat...<Too long, click to read the rest> |
Category: Links 🠪 Interesting Scifi Books | January 21, 2021 | As a teenager, I read a LOT of books, especially Science Fiction. I no longer have time to read with my eyes, but I listen to audiobooks.
My favorite Scifi book series starts with Pandora's Star by Peter F. Hamilton.
His solo book Fallen Dragon is also quite good.
Other notable authors:
Ryk Brown
The Second Ship (The Rho Agenda Book 1) by Richard Phillips
|
Category: Scripts 🠪 Batch Convert media file using ffmpeg | January 23, 2021 | Put the following in a batch file. You will need to download ffmpeg and place it in some path.
https://ffmpeg.org/download.html
--------------- Start --------------
@echo off
set ffmpeg="C:\Tools\Utils\ffmpeg-win-2.2.2\ffmpeg.exe"
set infolder=C:\Temp\In-WAV
set outfolder=C:\Temp\Out-MP3
set infiletype=wav
set outfiletype=mp3
echo Starting!
echo Input folder: %infolder%
echo Output folder: %outfolder%
echo Input filetype: %infiletype%
echo Output filetype: %outfiletype%
echo.
cd...<Too long, click to read the rest> |
Category: Scripts 🠪 Batch Tips | January 21, 2021 | rem Set the date in the format "2020-10-24" to the variable %Today%
FOR %%A IN (%Date%) DO (
FOR /F "tokens=1-3 delims=/-" %%B in ("%%~A") DO (
SET Today=%%D-%%B-%%C
)
)
echo Date to use for filenames: '%Today%' |
Category: Links 🠪 Interesting Bookmarklets | January 21, 2021 | Bookmarklets are simple little bookmarks, which you click and they do some action on the current webpage you have loaded. You need to create a new bookmark, and copy and paste the code into it. Then just click on the bookmark while you are on a website to use it.
Remove Paywall from websites, also induce an archive of the webpage if it hasn't been saved on https://archive.today
javascript:void(open('http://archive.today/?run=1&url='+encodeURIComponent(document.location)));...<Too long, click to read the rest> |
Category: Links 🠪 Interesting Maps - Satellite & Terrain | January 23, 2021 | Current Satellite Map
https://zoom.earth/
Bing Maps
https://www.bing.com/maps
Google Maps
https://www.google.com/maps/@43.4969943,-116.3690901,103794m/data=!3m1!1e3
Google Maps Location History - Show where Google has recorded you!
https://www.google.com/maps/timeline?authuser=0&pb
NASA Worldview
https://worldview.earthdata.nasa.gov/
OpenStreetMap
https://www.openstreetmap.org/#map=5/38.007/-95.844
Land Owne...<Too long, click to read the rest> |
Category: Servers 🠪 Website Microsoft IIS | January 21, 2021 | IIS Crypto is a free tool that gives administrators the ability to enable or disable protocols, ciphers, hashes and key exchange algorithms on Windows Server 2008, 2012, 2016 and 2019. It also lets you reorder SSL/TLS cipher suites offered by IIS, change advanced settings, implement Best Practices with a single click, create custom templates and test your website.
https://www.nartac.com/Products/IISCrypto |
Category: Windows 🠪 Issues Windows 10 forgets passwords - October 2010 | January 21, 2021 | The symptoms of this are that Windows forgets and re-asks for passwords frequently. This seems to happen in multiple applications, including Outlook, Chrome, Outlook.com.
1: Start an elevated Windows PowerShell prompt.
2: Run the command:
Get-ScheduledTask | foreach { If (([xml](Export-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath)).GetElementsByTagName("LogonType").'#text' -eq "S4U") { $_.TaskName } }
3: Note tasks listed by the command.
4: Open the Windows Task Scheduler.
5: L...<Too long, click to read the rest> |
Category: Windows 🠪 Issues Enhanced Copy and Paste | January 21, 2021 | https://support.microsoft.com/en-us/microsoft-edge/improved-copy-and-paste-of-urls-in-microsoft-edge-d3bd3956-603a-0033-1fbc-9588a30645b4
Copying a link from Edge will use the enhanced clipboard. To paste just the link, use CTRL-SHIFT-V.
When pasting, CTRL-V will paste using
Keywords: Chrome, Edge, Copy, Paste, Clipboard, Title, Subject, URL, Wrong |
Category: Links 🠪 Interesting Package Tracking | January 23, 2021 | This site lets you track packages from most shipping services, including USPS, UPS, FedEx, DHL, and over 200 more.
https://t.17track.net/en
|
Category: Scripts 🠪 Powershell Debugging | January 23, 2021 | Debug another powershell process. I recommend using this in PSISE.
$ProcessList = Get-Process powershell
Enter-PSHostProcess -Process $ProcessList[correctindex]
Get-Runspace
Debug-Runspace -Id [RunspaceIndex]
|
Category: Hardware 🠪 Drives Perform TRIM on Windows 10 SSD | January 23, 2021 | Run this from an elevated Powershell window:
Optimize-Volume -DriveLetter C -retrim -verbose |
Category: Hardware 🠪 Drives Drive Utilties | January 23, 2021 | Perform a quick benchmark of a hard drive using ReadSpeed
https://www.grc.com/readspeed.htm
If a SSD has slow performance on one section compared to another, run Spinrite level 2/3 on it. Same for a hard drive with abnormally slow performance.
Fix drive errors with corruption and slow performance (not for hardware defects)
Spinrite from www.grc.com
After running Spinrite on level 3 or higher on a SSD, use the following Windows 10 command to force a recalculation of TRIM:
Optimize-Volume -DriveLe...<Too long, click to read the rest> |
Category: Scripts 🠪 Powershell Misc Snippets | January 23, 2021 | ### Text to Speech
$Path = "$env:temp\file.wav"
Add-Type -AssemblyName System.Speech
$synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$synthesizer.SetOutputToWaveFile($Path)
$synthesizer.Speak('This is a recording.')
$synthesizer.Speak('Adding more to it')
$synthesizer.SetOutputToDefaultAudioDevice()
# Play back the recorded file
Invoke-Item $Path |
Category: Hardware 🠪 Apple Startup Shortcut Keys | January 25, 2021 | For all of the below keys, hold them as you power the computer on.
https://support.apple.com/en-us/HT201255
Keys |
Action/Result |
Option |
Pick your startup device |
D |
Run Diagnostics on hardware from local machine |
Option-D |
Run Diagnostics on hardware, downloaded from internet |
...<Too long, click to read the rest>
Category: Hardware 🠪 Phone Cell Phone Service | January 23, 2021 | Best deals:
Visible.com - Unlimited Verizon service for $25 per month, best deal for lots of usage. This is with a group discount, but you can find random groups online to join. Each person pays their own bill, and the other users in your group can't see your full phone number so it is safe to use with strangers.
PagePlusCellular.com - Cheap cellular service for more limited usage. |
Category: Hardware 🠪 Printers Brother Printer Software | January 23, 2021 | Control Center 4 shortcut:
"C:\Program Files (x86)\ControlCenter4\BrCcBoot.exe" /model="MFC-9130CW LAN"
If Control Center 4 doesn't connect:
- Remove printer from Devices + Printers
- Remove all Brother software from Programs + Features
- Use print driver installer, extracted folders, MSI, uninstall each .msi in the folder (15 or so)
- Remove Brother folder from 'C:\Program Files', 'C:\Program Files (x86)', and 'C:\ProgramData' folders.
- In Regedit, remove these:
- - - 'HKEY_LOCAL_MACHINE\S...<Too long, click to read the rest> |
|
This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.
Return to Airin's Computers
|