hæx.com logo

Fix for 2 second lag spikes every 10 seconds

Problem

Solution:

netsh wlan set autoconfig enabled=no interface="WiFi"

Solution as sweet bat program:

@echo off
echo Option 1: Enable fix
echo Option 2: Disable fix
SET /P M=Choose an option:
IF %M%==1 GOTO ENABLE
IF %M%==2 GOTO DISABLE
:ENABLE
cls
SET /P input=Interface name (Typically "WiFi"):
netsh wlan set autoconfig enabled=no interface="%INPUT%"
exit
:DISABLE
cls
SET /P input=Interface name (Typically "WiFi"):
netsh wlan set autoconfig enabled=yes interface="%INPUT%"
exit

Source

How to bring back the old Windows Photos view in Windows 10

Save this regcode as something.reg and run it. Then select the Windows Photo Viewer as your new default.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

How to download Windows 10 ISO files (32/64 bit)

https://www.microsoft.com/en-us/software-download/windows10ISO

So if you're trying to download windows 10 ISO files from Windows 10 / an updated browser, microsoft will send you to their landing page where they want you to download their tool. But you want the ISO.

To get the ISO, install an agent switcher and switch to an old Internet Explorer User Agent. Visit the Windows ISO page again. Now you can fetch the ISO.

Use Rufus to make the boot device.

How I backup my media from Android

I needed a way to easily backup new files from selected media from my phone to my windows. Here's a quick and dirty way.

Download some software

  1. Download an FTP Server to your phone
  2. Download WinSCP to your windows

Make a folder where you want your backup and create a bat script:

X:\backup\backup.bat

@echo off
set "ip=10.0.0.150"
::set /p ip="phone IP ([%ip%]):"

:: | marks start of excluded files
:: / at end of name means folder, they are recursive
:: ; to separate

"WinSCP.com" /command ^
    "open ftp://user:pass@%ip%:2221/" ^
    "synchronize local X:\backup\ / -filemask=*.jpg;*.jpeg;*.png;*.mp4;*.webm;*.pdf;*.txt|android/;Android/;emulated/;self/;cache/;_media/;LOST.DIR/;ANRSnap/;Alarms/;AzRecorderFree/;Cardboard/;Huawei/;HuaweiSystem/;Notifications/;Podcasts/;Ringtones/;TTImages_cache/;airdroid/;caustic/" ^
    exit

:: pause

Now start the FTP Server on your phone, double click that bat!