Thursday, January 3, 2013

Google Drive when dual boot

I routinely boot Win 7 from at least two drives, and ran into a problem with Google Drive refusing to sync, saying the Google Drive folder was missing.  My folder is on a "data" drive, separate from the OS drives.  A search revealed others with this issue. None of their solutions worked for me, but did lead me to a solution:

In "OS1", unplug the network cable and delete all files from the Google Drive folder.  (will get a message saying files have been moved to Trash at drive.google.com, but this obviously cannot be true at this point)

Boot "OS2", attempt to use the Google Drive folder - will not work, but will show disconnect option.  Disconnect, then sign in, go to advanced setup, and specify the same (empty) Google Drive folder used by "OS1" (key: this will NOT be allowed unless the folder is empty).

Choose "start sync".  Files will download & folder will get Google Drive icon.

Google Drive will now function in both "OS1" and "OS2" using the same folder.

Saturday, May 19, 2012

Win 7 clean install from upgrade disc

Install will say product key is not valid, but can <Esc> and install will complete.

Activation will fail ("the software licensing service determined that this specified Product Key can only be used for upgrading, not for clean installations") until do the following:

regedit HKLM>software>microsoft>windows>current version>setup>OOBE MediaBootInstall change from 1 to 0

from elevated prompt >slmgr.vbs -rearm

Activation will then complete normally.  (The above also resets to "30 days to activate")

In case anyone sees this and wonders, I have several full versions of XP which are no longer in use on any system.  It simply would have been a waste of time to install one of these in order to then "upgrade" to Win 7

Thursday, May 17, 2012

Computer Build Notes

Hyper 212 Plus installation

Everyone has their own way of applying thermal paste.  For this cooler I used a razor blade to spread a very thin layer and fill in the grooves to give a uniform base.  I then used the razor to add very thin lines of paste on the heat pipes, and twisted the cooler to seat it.

Saturday, April 21, 2012

Google Chrome

revised 3/6/13

I have come to rely on bookmarks and open tabs.  I have been baking up my bookmarks for some time, both as part of routine disk images and as a separate procedure when it seems appropriate. I have felt this requirement partially because I am still unclear on sync issues which could mess up my bookmarks.

Tabs
Although previously never a problem, for an unknown reason Chrome recently “lost” about 20 open tabs, which I could not get back using Ctrl+Shift+T.  It appears I am not alone in this experience.

What I should have done (determined by looking at how the files behave):  closed Chrome, copied Last Session and renamed to Current Session.  Then when I reopened Chrome I would at least have had the tabs as they existed at the beginning of the problem session.

The way it seems to work:
-         when open a session, what was Current Session becomes Last Session
-         then when make the first change to tabs, what was Curent Tabs becomes Last Tabs

Bookmarks
I had not used by netbook in several weeks and was afraid that its "old" bookmarks would replace the current ones from my G1 pc.  I was out of town and therefore unable to recover from a problem, so before opening Chrome on the netbook, I renamed Bookmarks and Bookmarks.bak.  This worked as expected, new files were created and synced.  Everything may have been fine if I had not done this, but I'm not sure.

The way it seems to work:
-       when change a bookmark, Bookmarks file is changed
-    Bookmarks.bak file is updated when ?????????????????

(3/5/13) Bookmarks sync is a little flakey.  Last night I had added bookmarks and renamed a folder.  I then booted from a different drive.  The added bookmarks were there, but the folder was not renamed.  After booting this morning, the new folder name was there.  Question: would the folder name have changed if I had left the system on overnight?  I also should have looked at the folder name last night using another PC.

Flash (2/22/13)
Was getting Adobe Flash Player update notification upon boot, but Google and Adobe both say "updates for Adobe Flash Player are automatically included in Chrome system updates".  After an update, about:plugins (link doesn't work) and adobe.com both show my installed version number (11.6.602.171) to be higher than the latest Player version listed in the table on the above Adobe web page (11.6.602.167).  It is also interesting that add/remove programs shows version 11.1.102.55, which is not listed in about:plugins.

Extensions (2/23/13)
Chrome version 25 automatically disabled AVG Safe Search and provided this explanation

Java (3/6/13)
I disabled Java a couple of months ago due to the various security warnings.  This has caused no problems, so I should probably go ahead and uninstall it from all boot partitions (old Version 6 Update 37 is currently installed).  Note Java is not installed on B2 (Ethel's), B3 (HTPC), or NB205 (Win 8 install)

Tuesday, January 17, 2012

Wi-Fi router/access point settings

Confusion arises when looking at older router (Linksys WRT54G) which has WPA only.

The wireless security setup page states:
“WPA Pre-Shared Key: There are two encryption options for WPA Pre-Shared Key, TKIP and AES. TKIP stands for Temporal Key Integrity Protocol. TKIP utilizes a stronger encrytption method and incorporates Message Integrity Code (MIC) to provide protection against hackers. AES stands for Advanced Encryption System, which utilizes a symmetric 128-Bit block data encryption.” (No further information is given.)
They certainly appear to be recommending TKIP over AES. This leads me to believe that the “AES” used by this router is different than the 256 bit AES-CCMP used by WPA2 capable routers.
CCMP: Counter Mode with Cipher Block Chaining Message Authentication Code Protocol
PSK: Pre Shared Key   home/small office.  No authentication server for "handshake".  Note the strength of the passphrase is extremely important, but it is NOT used to encrypt the traffic.

Friday, December 30, 2011

Blu-ray to NAS

Revised June 2, 2012


I've had a lot to learn getting music and video files stored on and playable from my network.
  • After several months I finally realized the players I've been using were not capable of DTS-HD Master Audio or of multi-channel PCM.  I was looking at the WDTV Live Plus forum to see if my WDTV supports 7.1, and I found that it doesn't support DTS-HDMA. I was getting up to 6.1 DTS, but not lossless Master Audio, and no 7.1.  This prompted me to give MPC-HT another try. After quite a bit of setup configuration, I now see DTS-HD Mstr on my receiver 
  • Full Disk / ISO copy assures that will have useable file(s). Also any extras that may someday want to see.  Lacking a good ISO copy, ISTM could copy undamaged chapters from 2 discs and combine into single movie file
  • TSMuxeR works much faster when using unencrypted source (incl mounted .iso) than when using Passkey source
  • Beware if 1st stream file in a playlist has no audio.  TSMuxeR and DVDFab output may have no audio at all!
  • It's entirely possible to bypass ISO creation and TSMuxeR, and feed DVDFab output directly to Handbrake for MKV creation
  • Handbrake will not "passthru" THD or LPCM.  For THD, use mkvmerge to combine HB video with audio track from .m2ts.  For LPCM, let HB encode to "Flac (ffmpeg)" (mkvmerge does not recognize LPCM tracks)
  • LAV Audio Decoder used by MPC-HT does not bitstream (i.e. pass-through) LPCM (from .m2ts file) or FLAC.  The output codec for both is PCM (ISTM there should be zero quality loss)
  • If Sound > Realtek HDMI Output > Configure is set to 7.1, 5.1 PCM output will go to the back rather than the side speakers!  The workaround for this bug is to configure as 5.1 unless 7.1 is needed for a (rare) 7.1 PCM output (3:10 to Yuma is my only example).  This brings up several things of interest (applies to both PCs):
    • With PC Sound configured to 7.1, RX-V867 shows 3/4/0.1 for 5.1 or 7.1 PCM
    • The Realtek 5.1 speaker configuration incorrectly shows the speaker icons in the back, 7.1 shows all properly. The 5.1 speaker configuration test properly outputs to the side speakers
    • Perhaps some future Realtek driver update will properly handle the situation of 7.1 speaker setup with 5.1 PCM source.
    • An alternative to all of this would be to convert any 7.1 LPCM to a format that could be bitstreamed.  However Handbrake has a maximum "6 Channel Discrete" Mixdown option for AC3 (ffmpeg).
  • MPC-HC installation notes (May 21,2012):  I installed MPC-HC on my recent HTPC build, which will become the primary way I watch .mkv movies.  Up until now, I have been using my "main" PC, connected to the receiver with HDMI over Cat5e.  MPC-HC installaton is not "hard" once understood, but can be extremely confusing because most people including myself do not use it as a completely "stand alone" program, and there are many different possible configurations.  The following is what I have done on both PCs.
    • Download and install LAV filters (curent now is LAVFilters-0.50.5.exe)  I choose x64 files only, but for some reason the installation went to the Program Files (x86) directory on the HTPC only (maybe I had specified on the other PC)
    • Download dtsdecoderdll.dll and place it in the LAV Filters\x64 directory.  I had a version of this file as part of the ArcSoft TotalMedia Extreme software that came with my Hauppauge HD-DVR.  That version is probably fine, but I got the later version anyway.
    • Download and install MPC-HC (64bit).  I unchecked "translations" during install.
      • on first run, get message "Please download and install the latest DirectX runtime"
    • Download and run dxwebsetup.exe (latest is v.9.29.1974 4/18/2011)
      • This appears to install a lot of "old" files, but search shows that this is correct and is indeed needed by MPC-HC.  It is interesting that the install only took a few minutes on the HTPC.  I remember a much longer process on the other machine
    • Make the following changes to MPC-HC options:
      • Internal Filters, uncheck: Matroska and MPEG/PS/TS/PVA
      • External Filters, add: LAV Splitter, LAV Splitter Source, LAV Audio Decoder.  Set all of these to "Prefer"
      • Double click LAV Audio Decoder.  Check all Bitstreaming Formats, but NOT "Use DTS-HD Framing for all DTS types"  Update: do not check Dolby Digital (AC3) or Dolby Digital Plus (E-AC3).  If these are checked, will get no audio for these formats.  There may be something I'm not getting right which causes this to need to be done.
    • In Sound > Playback, check HDMI Output Properties (see note above re 7.1 & 5.1 PCM)

Tuesday, December 13, 2011

Win 7 boot after image restore or partition re-size

Revised: April 22, 2012
A problem occurs when restore a bootable partition image to another location and then boot from that location.  The partition which was the boot partition when the image was made will retain the C: drive designation, and the new boot partition will assign itself another letter.  This is a “schizophrenic” system – who knows where new software would install, etc.

The classic fix for this problem is to unplug the original drive before the first boot of the “new” partition.  A more elegant regedit procedure follows, including other routine steps required:

-                  Restore image to new partition
-                  The new partition will have the same name as the original.  Rename it to my standard “DriveID Partition#”
-                  Verify that it is set as active partition
-                  Assuming the new partition now is x:, “bcdboot x:\windows /s x:” (check: bcdedit /store x:\boot\bcd). This is not necessary if are also restoring the 100MB System partition and marking it as active
-                 Regedit
-             Click Hkey_Local_Machine
-             Click File / Load Hive
-             X:\Windows\System32\Config\System (i.e. registry to modify)  (live registry is HKLM\System\Mounted Devices)
-             “Give the baby a name” like XXX
-              Open the key HKLM/XXX/Mounted Devices
-              Fix any problem, or just delete them all (can’t delete (default))
   -   Remove C: from source partition
   -   Add C: to target (or will happen during first boot?)
-              Click XXX
-              Click File / Unload Hive
-                     Restart, edit BIOS to boot from new partition

The "normal" way to use Acronis is to image the current boot partition, but I've always had a gut feeling that it may somehow be better to image my primary (SSD) Windows installation while booted from elsewhere. I will probably continue to do both as long as I continue to multi-boot.


If the restore is due to a disk boot failure but files are still accessible, consider copying the following:
  -  Bookmarks
  -  Desktop
  -  Taskbar (pinned)
  -  Start menu (all locations, incl pinned)


I should remind myself here to be more diligent about test restores.  My SSD stopped booting 4/4/2012, but restores of recent backups revealed many orphaned files and would not boot. I.e. the file system was damaged in a way that it would still boot, but not image properly. The most recent backup I had that would restore and boot was from 2/25/2012, and even that had chkdsk errors for unindexed files.


Related to this, I should also remind myself not to rely on a "testing" partition for very long, as it becomes more difficult to transfer back to the active (SSD) installation.


Separately, not resulting from a restore, I had non-boot and "This Copy of Windows Is Not Genuine" issues after using EaseUS to re-size one of my Win7 partitions. Following the above procedures fixed. (I assume the problems resulted from the partition GUID changing)