Tuesday, September 24, 2019

2019 geek recap: more console mods, mainstream trends....

dang.. been a while since i've posted a real geek post about what i'm doing personally..

2019 for me was more about learning things beyond the geek realms and into metaphysics/quantum entanglement. this year was mainly me trying to get a mental grasp on the basics of quantum entanglement and how it all works or supposedly does thereotically.. ;) oof.. right??

actually, i'd say 2018 - 2019 to now present has been me digging more into this. why? well.. lets be honest, the current geek tech world is pretty boring.. corporate america and overall boring corporate has put profits over innovations.. we are seeing 1999 all over again. and 2008 in the real estate realms... we are at bubble times.. imo.. ;)

the worst mobile phones as of late are decent if not even good.  AR still has yet to find its hardware tech to show what it really can do (yea, i've been saying this since 2006.. check my blogs..)

VR is finally starting to gain traction but we are still not at 4K VR resolution for mainstream users/consoles.. once someone can do a full 4K VR setup under $1K.. they win VR imo.  cough. sony is very very close.. ps5... ;)

Personal items i've done this last year:

Full PS Vita and PSTV softmods/hacks w/SD2Vita implementations
3DS XL still soft modded, hacked
Wii U, soft modded and hacked
PSP Go, still soft modded
GBA, rebought w/upgraded backlit LCD, flashcart vs modding since you can't hehe)
PS3, legit original
PS4 Pro, legit original
PSVR v1.1, legit; 2nd gen revision; wanted headphone holders and thought breakout would solve my HDMI-CEC probs or lack of using..
ECU hacked 2013 MINI Cooper via NCSExpert
Reloaded Win 3.1/NT, Win95b, Win98SE,WinVista, WinXP,WIn7,Win8.1,Win10 for work projects
Raspberry Pi setups: OSMC w/retropie add-in
Complete 30+TB NAS upgrades

for 2020.. i just want LED wallpaper that i can use as active wallpaper or pure custom input layouts (ie 5 different screen sizes i can choose layout on wall and different video sources to each or ability to choose which one mirrors them.. also.. color e-ink when off would be a total bonus!! then use e-ink to set wallpaper when no video is being played..  of course.. i still want ability to use whole wall as a screen/monitor too)

me.. out for now.. also.. have a 2020 MINI JCW Countryman enroute as i type. OMG!! can't wait for clyde.. am gonna miss my current bonnie... ;)

Thursday, April 18, 2019

Programmatically associating .mht and .mhtml files to notepad vs Internet Explorer 11


Yes, you can do this easily by creating a text file, renaming w/a mht and mhtml extension and then right clicking the file and choosing "Open With" and then choose Notepad and check the "Always open with"

However, if you have to manage over 300 workstations, doing this manually is impossible and in turn we need a programmatic way to do this. I believe I found a proper way to do this on Windows 10 however IE11 is still an option but notepad is selected by default the first time you try opening a .mht or .mhtml file.

Here is the process / thinking below.

I am running my tests on Windows 10 Enterprise Edition (1809 builds) with patches up to March 2019.

1. First, I clear out the HKCU keys for mht and mhtml files.  Remove these entries:


Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mhtml
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mht

2. After clearing the keys, i then just use the built in ASSOC and FTYPE commands to force the associations.  You will have to run the batch file (if you script it) or run command prompt as an administrator!

Then run these commands:
assoc .mht=
assoc .mhtml=
assoc .mht=txtfile
assoc .mhtml=txtfile
ftype mhtmlfile=%SystemRoot%\system32\NOTEPAD.EXE %1

3. Finally, we will just need to restart explorer.  You can go the taskill route and then call explorer again to relaunch it, ie:

taskkill /F /IM explorer.exe
explorer.exe

Hopefully that helps the other sysadmins out there.

Referencing exploits via AskWoody:

https://www.askwoody.com/2019/that-internet-explorer-xxe-zero-day-poking-through-to-edge/

https://www.zdnet.com/article/internet-explorer-zero-day-lets-hackers-steal-files-from-windows-pcs