Tuesday, January 20, 2015

Stop External USB Hard Drive from Auto-Playing in Windows 7

The instructions on the internet are very long, and confusing and for some reason this can only be done through the registry.

To disable it one drive letter at a time:

ZYXWVUTSRQPONMLKJIHGFEDCBA
00000000000000000000000000

This chart above is important and the key to this process. It is in binary code. 
Copy it into notepad for editing. Under the letter you want to disable, change it from 0 to 1.
0 means enabled. 1 means disabled.

  1. Open calculator. Click the menu "View | Programmer".
  2. On the left of the 4 bubbles, select "Bin" (for binary). 
  3. Now copy and paste the binary numbers from notepad into calc.exe
  4. Now click the bubble "Hex" (to convert to hex).
  5. Copy the result (or remember).
Now open regedit.exe and navigate to: 

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

On the right side, you should see a bunch of stuff already there.

Click the menu "Edit | New > DWORD (32-bit) Value"
Give it the name: NoDriveAutoRun
Enter the value from calc.exe (and make sure the bubble is on Hex)
DONE!

To disable it for one Type of drive:

There is another method that disables it for an entire type:
(Removable (USB flash or HD) / Non-Removable (HDD) / Network / CD-DVD / RAMdisk).

The process is the same as above, in the same registry location but the entry is called:
NoDriveTypeAutoRun

Using the chart below, change the appropriate column from 0 to 1, and follow steps 1-5 shown above.

00000000

Bit numberBit patternDrive type
200000100Disk that can be removed from the drive (such as a floppy disk or USB flash drive)
300001000Disk that cannot be removed from drive (usually a hard disk)
400010000Network drive
500100000CD/DVD drive
601000000RAM disk
Notice the 3rd column is Bit #2 because binary starts with 0. Bit #1 does not seem to exist.
(not listed above, Bit #0 and Bit #7 controls Disables AutoRun on drives of unknown type.)

The default is 0x00000091 (91 Hex) or "145" (Dec) or "1001 0001" (Binary)
Meaning by default, unknown types and network drives are disabled, and everything else is enabled.

Cheat Sheet:
ValueDescription
91AutoRun is enabled for CD/DVD drives and USB flash drives
95AutoRun is disabled for USB flash drives
B1AutoRun is disabled for CD/DVD drives
B5AutoRun is disabled for CD/DVD drives and USB flash drives

To disable it for everything:

Follow the process for "type" and use the same key ( NoDriveTypeAutoRun )

If you want to disable all the types listed above:
Use the bit-mask "01111100" in binary, or "7C"(Hex) or "124" (Dec)

If you want to disable EVERYTHING (even drives with an unknown type):
The bit-mask "11111111" in binary, or "FF" (Hex) and "255" (Dec) 

Just fill in this hex code into the NoDriveTypeAutoRun entry.
Theoretically Autoplay would never show up again.
Enjoy.

Sub-Note:  The NoDriveTypeAutoRun subkey value in registry has higher priority than the setting in the "Control Panel > AutoPlay Options".
So if AutoRun for a drive is disabled via NoDriveTypeAutoRun then you can not enable it by using the Control Panel. 

Side Note: Apparently, you can edit the same location in HKEY_LOCAL_MACHINE to make it machine wide, instead of per-user.

Saturday, January 10, 2015

SB X-Fi Titanium HD JP2 pinout

Sound Blaster X-Fi Titanium HD
The expansion port is labeled JP2.

The old audigy/sb Live AUD_EXT Pinout (above right) does not match this sound card!!!! This image is provided for curiosity only.


A standard 40 wire IDE cable is able to be plugged into the JP2 port, which I used to make testing the individual pins easy. Pin 1 (the Pink wire) corresponds to the marked arrow.

Voltages of JP2 in Millivolts:

 1  -  0
 2  -  23 mv
 3  -  0
 4  -  0
 5  -  23
 6  -  0
 7  -  3210
 8  -  23
 9  -  0
10  -  0
11  -  24
12  -  123-139
13  -  0
14  -  0
15  -  1460
16  -  23
17  -  168
18  -  50-80
19  -  0
20  -  26
21  -  0
22  -  0
23  -  3230
24  -  2500
25  -  1466
26  -  24
27  -  25
28  -  3210
29  -  24
30  -  0
31  -  24
32  -  24
33  -  1295
34  -  22
35  -  1520
36  -  23
37  -  1636
38  -  30
39  -  50-80
40  -  23

Monday, June 02, 2014

Lucid Dream and Levitate

I just had a shocking lucid dream. If I find that I have complete control in the dream, I can levitate my 1st person view and I woulda thought that to anyone in the dream they could see my body levitate. But nobody ever can. I always levitate to try to shock the dream subjects, and its useless, nobody can even see it let alone appreciate it....... But just now, there was a girl in the dream at a family party, decided to levitate (indoors, so only a couple feet off the ground) and she was the only person who could see it even though others in the room were looking right at me. Shoulda seen the expression on her face, she let out a gasp of shock put her hand on her head and she ran into the bathroom, so I came down out of levitation and I said "You can see that?" and she just nodded yes, and I said "sorry, can i come in?" and she let me into the bathroom with her. (to find out the explanation). Before I could explain anything I was jolted awake and onto my feet within a split second and stumbled around my room before I could walk properly.

I'm posting this because out of hundreds of times of levitating in box stores, parking lots, open fields, music festivals, (in the dream obviously) not one person has ever been able to see it. I just do it for my own fun. But she could. And I was jarred awake before the universe could let me explain it to her. I think because there's some kind of inherent protection where the dream subjects can't know they're part of a dream.(because I have been jarred awake by other conversations, and if you try to coax information out of the dream subjects about supernatural phenomenon or anything that a normal physical bodied human wouldn't be able to answer they just stay silent with a blank stare). And inevitably I would have revealed to her that she was part of my dream (really cause its the only true explanation, and yes I know very well the dream is a dream while i'm dreaming it), so I was jarred awake so forcefully that it even prevented me from re-entering the dream. (which I can make happen maybe 1% of the time).

For anyone wondering about the levitation, It's sort of like floating but you can control it. Its as if I were space, with little jet thrusters, they can overshoot the target so if you are going too fast, you can't land or turn properly. The jets are basically mounted to my upper back or shoulders, because when flying fast, my legs trail behind me at maybe a 45 degree angle, not straight back like superman. I've gone as high as the hi-voltage overhead main distribution power lines, which is about 300-500 feet i suppose. One time I wanted to see if I could be entangled in the power lines and the answer was no. For example its exactly as if I was in No-clip mode in the video game Doom.  I haven't been able to try to go through more solid objects, it might be impossible because my brain has no reference for what seeing through  solid objects looks like. I think that perhaps my body but not my head can pass through objects, or that only the upper shoulders/neck/head is prevented from going through solid objects, because I have experienced what i presume were my legs (or where biopositioning tells me my legs should be) having gone through tables and cars.

Tuesday, April 08, 2014

My Favorite Programs

     I decided to help people out and list the best programs that you may not know
They may be obscure, but are highly useful and lightweight.
Then I got carried away and started listing everything I use.
 I may or may not get around to sorting this out better and including links for everything.


My Favorite New Programs in order of most used:  Alternates in Red:

LastPass, KeepPass (Password Manager - access all websites with 1 master password)
Greenshot (Screenshot - uploads to Imgur, save to file, etc)
DesktopSlides (Wallpapers Cycler - downloaded in High-Res (2560x1440) from WallpapersWide.com )
TeraCopy,FastCopy
Sandboxie
Link Shell Extension  Hardlinks provide the ability to keep a single copy of a file yet have it appear in multiple folders (directories).
YawCAM (to use webcam as motion sensitive security)
DirSyncPro
DiskPie
Process Lasso
DriverSweeper
IrfanView
UltraISO, TotalMounter, Alcohol 52% 
Eraser (Secure Erase) or WipeFile
MP3Tag
Tag&Rename
Album Art Downloader
AutoClicker
EasyBCD, VisualBCD (easily edit Win 7 boot menu entries for dual Boot etc)
GetDataBack NTFS
PDFStreamDumper (manually check for [malicious] javascript in PDF files)


Preferred Mainstream Programs:

TrueCrypt
AVG AntiVirus Free Edition 2014
Malwarebytes Anti-malware (free)
uTorrent
Google Chrome, Google Chrome Canary (devel)Mozilla Firefox
HexChat (IRC)
foobar2000, Winamp
Spotify
VLC Media Player
Media Player Classic - BE (Black Edition) ALL codecs built-in
Media Player Classic - Home Cinema x64 
Combined Community Codec Pack (CCCP) 
K-Lite Codec Pack x64Shark007 Codecs
Serviio free (DLNA Home Media Server), or Mezzmo($)
SierraChart (Financial Market Analysis)
Pidgin, Trillian (Instant Messaging)
TeamSpeak 3, Ventrilo (alternately Raidcall)
WinRAR, 7-Zip
CygWin (run a Linux shell or programs on windows)
OBS Open Broadcaster Software (stream desktop or games to twitch.tv), or XSplit
FileZilla (FTP Client) and FileZilla Server (FTP Server)
WireShark (requires WinPCAP)
Non-Free:
ShadowProtect Desktop (Automated Differential Network Backup)
Microsoft Office 2003 (because lightweight/portable) or free LibreOffice, OpenOffice
VMWare Workstation 8, VirtualBox 4.1.4


LiberKey (contains hundreds of tiny utilitarian programs):

CCleaner
ImgBurn
Unlocker
Remove Empty Directories
DupKiller
CrystalDiskInfo (View HDD SMART data and temperatures)
Process Explorer
Process Monitor
Autoruns
Revo Uninstaller
Everything (lists everything by filename = indexes hard drive to a text file)
FreeFileSync
DSynchronize
TimeSync (Syncs clock, use nist1.symmetricom.com, since I disabled Windows Time Service)
CurrPorts (list all open TCP/IP ports and what process opened them)
LibreOffice (instead of M$ Office)


Programming/Coding:

Notepad++
Sublime Text 2 or 3
Eclipse IDE
WinDiff,Compare It! (line by line File comparison)
HxD (Hex Editor)
Visual Studio 2010 ($$)
Python 2.7, PyQT, QT 4.8.4


Cloud Storage:

Dropbox
MediaFire Desktop
BackBlaze


Bitcoin:

Bitcoin-QT
MultiBit
MultiDoge (Dogecoin)
Electrum, Armory (alternatives)


Video Encoding:

Handbrake
MeGUI
MKVToolnix (MKVMerge, MKVInfo)
MediaInfo
AviSynth
FLAC Frontend 


Overclocking:

MSI Afterburner
RealTemp
GPU-Z, CPU-Z, HWMonitor
Intel Extreme Tuning Utility
Fritz Chess Benchmark
IntelBurnTestV2.exe
Hard Drive Benchmarks: CrystalDiskMark, AS SSD Benchmark, HD Tune, HD Tach
Prime95, SuperPI, ORTHOS
HWiNFO64


Pro Audio, Music Production (most $$$):

Audacity
Ableton Live 9.1.1, FL Studio 10.9, BitWig Studio 1.0.4
Arturia Analog Factory
Arturia Spark
KORG Legacy
Traktor 2
Maschine
Kontakt 5
Massive 1.3.0
ASIO4ALL
impOSCAR 2
this list is far from done.

Pegboard Nerds - Hero in Ableton live

Pegboard Nerds - Hero

Ableton Live Project

Ableton Pack .alp 400mb (samples, stems, everything)
Ableton Set .als  - 223k  (just template)
Hero (my reproduction) - 43.1mb (FLAC)
Pegboard Nerds - Hero.flac - 44.3mb Original (FLAC 1118kbps 16bit/44.1khz Lossless)

Waveform Comparison  (new - top, original - bottom)


So there is a remix contest of this song, and they provided stems, but they are so hard to use, the only ones that actually line up to each other are the Outro ones.
There were also no drums included.
I packaged up all the existing stems and all the samples I used into an Ableton live pack singular file.
There's a lot of work that went into this.

Feel free to use this to make your own remix and submit it.

I'm also going to see Pegboard nerds at their concert @ Webster Hall this friday 4/11/2014