Repairing Flash Drives

Repairing flash drives is easier than I thought. I have successful repaired 2 curropted flash drives, and reflash a read-only flash drive:

  1. Transcend 16gb which appeared as an unformatted drive, and will not format at all. Trancend tools didn’t help at all.
  2. Corsair Voyager which tend to hung up Windows.
  3. Windows 8 Read-only flash drives.


Below are steps I took to reflash a read-only Windows 8 flash drive. This method applies to most flash drives.

Step 1: Identify Flash Drive

Use ChipGenius to identify the flash drive’s Controller Part-Number as highlighted in yellow.


Step 2: Reflashing

Download appropriate manufacturer flashing tools. That are a couple of sites. For my example, I searched for SM3257ENLT Tool in Google which led me to SMI Mass Production Tool.

For this tool, I clicked Scan USB and then Start (Space Key).


Envy 15t brightness control

After updating to window 10, I noticed that the brightness control function keys doesn’t work.

Manually updating the Monitor from PnP-Monitor (Standard) to Generic PnP monitor worked.


Plex Media Objects

Media objects

class MediaObject (**kwargs)

  • protocols – depreciated
  • platforms – depreciated
  • bitrate
  • aspect_ratio
  • audio_channels
    2 = stereo, 6 = 5.1
  • audio_codec
  • video_codec
  • video_resolution
  • container
  • video_frame_rate
  • duration
  • width
  • height
  • protocol
  • optimized_for_streaming

Plex Framework: Constants


  • CACHE_1MINUTE = 60
  • CACHE_1HOUR = 3600
  • CACHE_1DAY = 86400
  • CACHE_1WEEK = 604800
  • CACHE_1MONTH = 2592000



  • ClientPlatform.MacOSX
  • ClientPlatform.Linux
  • ClientPlatform.Windows
  • ClientPlatform.iOS
  • ClientPlatform.Android
  • ClientPlatform.LGTV
  • ClientPlatform.Roku


  • Protocol.DASH
  • Protocol.HTTP
  • Protocol.HLS
  • Protocol.RTMP

Protocols (Old)

  • Protocol.Shoutcast
  • Protocol.WebKit
  • Protocol.HTTPStreamingVideo
  • Protocol.HTTPStreamingVideo720p
  • Protocol.HTTPMP4Video
  • Protocol.HTTPMP4Video720p
  • Protocol.HTTPVideo
  • Protocol.HTTPMP4Streaming


  • AudioCodec.AAC
  • AudioCodec.DCA
  • AudioCodec.MP3
  • AudioCodec.WMA
  • AudioCodec.WMAP
  • AudioCodec.VORBIS
  • AudioCodec.FLAC


  • VideoCodec.H263
  • VideoCodec.H264
  • VideoCodec.VP6
  • VideoCodec.WVC1
  • VideoCodec.DIVX
  • VideoCodec.DIV4
  • VideoCodec.XVID
  • VideoCodec.THEORA


  • Container.MKV
  • Container.MP4
  • Container.MPEGTS
  • Container.MOV
  • Container.AVI
  • Container.MP3
  • Container.OGG
  • Container.FLAC
  • Container.FLV

Dell XPS M1210 + Windows 10

My Dell XPS M1210 is still alive and it is will 8 years old soon. It is on its 3rd battery. Swapped in an SSD.

Brief Specs:

  • CPU: Ghz Intel Core2 Duo T7200
  • GPU: GeForce Go 7400
  • Camera: Integrated Logitech Camera
  • Storage: Upgraded to 120GB SSD
  • WiFi: Intel 3945ABG upgraded to Intel 4965AGN

It started off with Windows XP, then Vista, 7 and finally 10. Dell officially supports Windows XP and Vista, but not 7 and above.

Almost everything is detected on Windows 10 except:


PC History

Dad’s Past PCs – Retired
1992? – AMD 386 (Acer Power 386SX?)
1997? – Intel Pentium MMX 233Mhz (Packard Bell)

1999? – First DIY PC – Retired
CPU: Intel Celeron 433Mhz (Socket 370 + Adapter)
Motherboard: Gigabyte GA-6VXE+ (VIA Apollo Pro, Slot 1)
GPU: Nvidia RIVA TNT2 AGP 4x

2002? – Upgraded First DIY PC – Retired
CPU: Pentium 3 500Mhz
Motherboard: Gigabyte GA-6VXE+  (VIA Apollo Pro, Slot 1)
GPU: Nvidia Geforce4 MX 440

2004 – College PC (DIY) – At parent’s home, different motherboard & dead.
Intel Pentium 4 HT 2.6C (Northwood)
Motherboard: Abit AI7 (something else now, but dead.)
GPU: Asus Radeon 9600XT VIVO 128MB

2007 – First Laptop (Dell) – This pc is still running after 3rd battery change.
CPU: Core2 Duo T7200
GPU: GeForce Go 7300
160GB 5400rpm -> 320GB WD Black -> 128GB SSD

2008 – Salvaged PC1 (DIY) – Parts sold off
CPU: Intel Pentium 4 3.2Ghz
Motherboard:  Asus P4P800
GPU: Nvidia NV6600
Case: CM Stacker 832

2009 – Salvaged PC2 (DIY) – Parts sold off
CPU: Core 2 Duo 2.2 ghz
Motherboard: EVGA nForce 680i SLI
RAM: 4GB OCZ NVIDIA SLI_Ready DDR2 800 (2009)
GPU: PNY XLR8 GeForce 9800 GT EE 512MB (2009) / Quadro FX570 (2010)
PSU: OCZ 600MXSP (2009)
Case: CM Stacker 832 (2008)

Current PC (2012+)
Intel i5-3570K Quad Core (2012)
Motherboard: ASRock Z77 Pro4-M
RAM: 32gb Corsair Vengence DDR3 1600 (2012/2013)
GPU: Sapphire Radeon 7850 2GB (2012)
Case: CM Stacker 832 (2008)
PSU: OCZ 600MXSP (2009) died in 2017.
PSU: Seasonic S12 II 520W (2017)
Multiple SSDs+HDDs

Current PC (2017)
Intel i7-7700K Quad Core (2017)
Motherboard: MSI Z270 Gaming Pro Carbon (2017)
RAM: 16GB Crucial Ballistic Sport LT (2017)
GPU: eVGA GeForce GTX 1080 SC2 (2017)
Case: Phanteks P400s (2017)
PSU: Corsair CX650M (2017)


Plex is one of my favorite Media Server & Client software. I have been actively using it and I highly recommend it for organizing your media files.

Plex Media Server is running 24/7 on my desktop computer, and contents are streamed to my TV via Roku, to my Android phone and iPad locally or remotely. Besides that, I can access my contents online via web interface.

Server: Plex Media Server runs on:

  • Windows
  • Mac OSX
  • Linux
  • FreeBSD
  • NAS (with limited capabilities)

Client: Plex Home Theater (formerly Plex Media Center) runs on:

  • Windows
  • Mac OSX
  • Linux

Client: TV and streaming devices

  • Chromecast (Plex Pass members only)
  • Roku
  • GoogleTV
  • Samsung Smart TV

Client: Mobile Apps

  • Android
  • iOS
  • Windows

Got more information at:

Virtual Router / Wireless Hotspot using your PC

To host a Virtual Router / Access Point with your PC, you need a compatible Wireless Adapter that supports Hosted Network.



  • Windows 7 or later
  • Wireless Network adapter with HostedNetwork support.


Check for hosted network support by running this in Command Prompt:

netsh wlan show drivers


If it says No, your network card does not support Hosted Network, or you need to update your drivers.


Configure the wireless Hosted Network settings:

netsh wlan set hostednetwork ssid=MySSID key=MyWiFiKey

You will only need to do this once. It will retain this settings even if you reboot your PC.


Start the wireless Hosted Network (Run as Administrator):

netsh wlan start hostednetwork


Stop the wireless Hosted Network:

netsh wlan stop hostednetwork


Set up Internet Connection Sharing (ICS)

Next, bring up the properties window of the Network Adapter that has Internet Connection.


Check “Allow other network users to connect through this computer’s Internet connection”. Now select the Network Adapter to share to (in my case, HostedNetwork).


Once properly configured, your Hosted Network Status should show Internet connectivity.



Supported Devices

Unsupported Network Adapters
Intel® PRO/Wireless 3945ABG Network Connection
Intel® Wireless WiFi Link 4965AGN
Intel® Centrino® Wireless-N 100
Intel® Centrino® Wireless-N 130


Not Supported Devices



More Information

Excel VBA: RsLinx DDE example

'Initialize DDE
channelNumber = Application.DDEInitiate("RSLinx", "SomeTopicName")

'Read from PLC5
readValue = DDERequest(channelNumber, "N20:1")
'Read from ControlLogix
readValue = DDERequest(channelNumber, "ControlLogixTag[1]")

'Write to PLC
Set rangeToPoke = Worksheet("Sheet1").Range("A1")

'Write to PLC5
Application.DDEPoke channelNumber, "N20:2", rangeToPoke
'Write to ControlLogix
Application.DDEPoke channelNumber, "ControlLogixTag[1]", rangeToPoke

'End DDE
Application.DDETerminate channelNumber