Pin (Formerly My) Computer (or Any Location) to the Windows 7 Taskbar

Pinning things to the Taskbar is pretty useful.  I would say even more useful than the previous Quick Launch.  The trouble is that there are some things which simply will not be pinned so easily.  Like an oiled badger, you just can’t wrangle them.

Unless of course you have spiky ninja gloves.  Here are some spiky ninja gloves.

I found both this and this article discussing very similar methods for pinning unusual (to Microsoft) objects to the Taskbar.  I will distill things a bit for you here and you can refer to either of those articles should you want more information.

Basically there are two steps.  First you create a shortcut (on the desktop for example).  Then you pin that shortcut to the Taskbar.  (At which point you can discard the superfluous shortcut.)

Creating a shortcut is very easy.  Right-click somewhere (either on your desktop or in any Explorer folder) and choose New —> Shortcut.  You will be presented with the Create Shortcut dialog.  It has a place for you to paste an address (or you could Browse to a specific location).  Here I show you two different paths which will work for (formerly My) Computer:

%SystemRoot%\explorer.exe /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

%SystemRoot%\explorer.exe shell:MyComputerFolder

Either one of them should work.  I see no reason to prefer one over the other.  (Perhaps someone else will offer some insight in the comments.)  Anyway, paste one of those into your Create Shortcut dialog and click Next.  Name it whatever you’d like (Computer might be appropriate or perhaps you’d like to use the actual name of your machine?) and click Finish.

That’s the hard part.  The easy part is now you right-click on this newly created shortcut and choose Pin to Taskbar.  That’s it.

Again, there are other things and locations you might like to pin to your Taskbar.  This should be a good launching point.  You can find more clever path ideas here.

(This should work for Vista and from what I can tell Windows 8 as well.)

Hope that helps you do your thing better.  Who the hell wants to visit Libraries ever?  Have fun with that.

Share
Posted in Hacks & Slacks, Windows | Leave a comment

The Mac that Broke the Administrator Account and How I Fixed It

There is this thing that happens from time to time where a Mac on our network will get confused about the local administrator account.  For whatever reason it thinks it’s a domain administrator account.  If you were to run id as that user you would see a bunch of domain related information which should not be there.

Perhaps the reason for this relates to the fact that we use a name for the local administrator account which is the same as a name we use for a domain-level account.  I didn’t set it up this way, and I’m advocating for a change.  We shall see.

Regardless, usually when this happens (and it’s pretty easy to notice since the dock is reverted to default and the user doesn’t have write permissions to even their desktop) I can get the correct administrative account back by a restart.  Today for one machine this was not working.

Also, while it is in this state the administrator account can’t open the System Preferences.

The only other administrative account was a domain user (mobile account).  Unfortunately I was not able to log into that account at all as log in would hang at each attempt.

Tough situation: can’t log in as a real local administrator so I can’t fix any of this mess.

I found this article which offered a solution for creating and elevating an account from the command line.  This article uses a slash as the location identifier (/), but that was not working for me.  Others said localhost would work, but I couldn’t get that to work either.  In the end I used the dot (.) and that allowed these commands to do their jobs.  Also, the article neglects to mention that you must use sudo to run these commands successfully.  Without using sudo you will likely get this error:

<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

Obscure, you say?  This is why I write these articles.


## first I tried just running this trio but (though I could su into that user account) the account didn't exist outside the shell

sudo dscl . -create /Users/deleteme
sudo dscl . -passwd /Users/deleteme D3leteme
sudo dscl . -append /Groups/admin GroupMembership deleteme

## so then I ran the rest of them

sudo dscl . -create /Users/deleteme UserShell /bin/bash
sudo dscl . -create /Users/deleteme RealName "Delete Me"
sudo dscl . -create /Users/deleteme UniqueID 503
sudo dscl . -create /Users/deleteme PrimaryGroupID 1000
sudo dscl . -create /Users/deleteme NFSHomeDirectory /Local/Users/deleteme

This allowed me to log in as the deleteme user and to enable the root account.  Once I was able to log in as the root user I was able to delete and re-create the local administrator account.

Then it was smooth sailing.  Logged into the newly (re-)created administrator account, deleted the old domain user account, and made sure everything was up to date.  I did have to remove this Mac from the domain so that I could re-add the user using their mobile account (that was stuck), but that wasn’t so bad as the rest.

Hope this helps you.  Have a great time.

(If it ain’t broke, why’d you put in a ticket?)

Share
Posted in Hacks & Slacks, Mac | Leave a comment

How to Ninja that Huge Drive into Aligning a New Partition

I recently received a pair of 3 TB drives to replace a pair of 1.5 TB drives in my music server.  I was relieved to discover that both the bios and Ubuntu’s utilities had no trouble in seeing those new larger drives.

The first hiccup I encountered was in formatting the first drive.  Apparently MBR (Master Boot Record) formatting is only valid up to 2 TB drives.  I did some poking around on those crazy Interwebz and found that using GUID Partition Table ought to treat me fine.

No big thing there.

However, when I tried to create the EXT3 partition using Disk Utility (Palimpsest) in Ubuntu 10.04 I was receiving an error which made me scratch my chin.

WARNING: The partition is misaligned by 3072 bytes. This may result in very poor performance. Repartitioning is suggested.

Ok, back to them Interwebz.

I found this interesting article on sector alignment and large drive capacities.  This gave me a basic philosophical understanding of the principles with which I was faced.  Now to find a solution which would allow me to partition the drive in proper alignment.

I found several posts and articles which purported creating the partition using GParted instead of Disk Utility would solve the problem.  I tested this out to no avail.

Let’s cut to the chase though; you don’t need to hear of all my failures.

Ubuntu 10.04 runs GParted 0.5.1 and sometime around version perhaps 0.7 GParted solved this alignment problem.  Ubuntu 12.04 is running GParted 0.11.1 which now includes an Align drop-down menu.  You’ll want to select (the default) MiB.

By this method I was able to format a nearly 3 TB EXT3 partition on my new drive and dispense with that annoying warning in Disk Utility.

I hope this saves you a little time.

Share
Posted in Administration, Hacks & Slacks | Leave a comment

Using YUMI to Create Multi-Boot Thumbdrives

Lately I’ve had good cause to use bootable thumbdrives.  To the point where I am now finding use for having a single 16 GB thumbdrive which contains various different bootable utilities and installation discs.

Over at PenDriveLinux I was able to download a program called YUMI (Your Universal Multiboot Installer) for creating multi-boot environments on a single partition (of a thumbdrive).  It’s pretty basic to use but I wanted to take a moment to mention some quirks which might throw off a first-time user.

You can use it to create boot options for nearly anything you might imagine.  I haven’t found anything as yet which would not work (though they may exist).

First of all, you might get an error at boot time that the files (within the ISO you are booting) must be contiguous.  I ran into this problem when I built a Windows 8 preview on my thumbdrive.  You can see my article here for how I defragmented the contents of the ISO.

Another oddity that might trip you is the file names of the ISO’s you download.  YUMI has expectations about what those files will be named.  You choose what you are going to attempt to install, then you seek the file, and you might find that YUMI ignores the file you think is the correct file.

Look near the bottom of YUMI where is listed “Step 3: “.  You will see YUMI specifies a file name for which it is seeking (the file name may include a wildcard).  You just want to rename your ISO so that it matches the name YUMI specifies in that step.  (It will not display the name until you click the “Browse” button and then click the “Cancel” button to return to the main application window.)

That was about it.  If I notice any other quirks I’ll post them here.

Have fun with that.

Share
Posted in Administration, Hacks & Slacks, Ubuntu, Windows | Leave a comment

Compact and Easy Windows Defragger

The built-in degragmentation tool in Windows (any version) rather, to put it politely, sucks giant iguana balls.  Seriously.  It’s like when you ask a kid to clean up his or her room and they stuff all their crap into the closet.  My brother used to do that.  We still laugh about it.

My brother has moved on to be a rōnin-chef, and as such has developed a high art when it comes to cleaning a kitchen.  (I haven’t inspected his bedroom closet but work with me here.)  Microsoft hasn’t moved.

For a long time I was installing Diskeeper, which I still really like.  The problem with using Diskeeper, aside from the expense of buying a license for any machine where you should choose to use it,  is its lack of portability.  Though I would still recommend Diskeeper (even if Windows 7 is much better about not fragmenting files than any previous version was).

However, for those times when you need a portable solution I have found one.  It’s called WinContig (as in contiguous) and it’s a free download.  (Perhaps there is a way to donate but I didn’t find it.)

Another great feature of WinContig (and the main reason I downloaded it) is that it can defragment ISO files.

What?

I downloaded the new Windows 8 preview and wanted to add it to my list of bootables on my multi-boot thumbdrive and it would not run because the files needed to be contiguous.  Defragmenting the thumbdrive itself did nothing to help (the drive wasn’t defragmented).  WinContig was able to defragment the contents of the ISO file and thus solve the problem.

(I’ll write a separate article on building my thumbdrive.)

Anyway, now in my utilities folder I have a copy of WinContig (separate 32 and 64 bit executables).  Great to have that in my pocket.  Hope it helps you live a little better.

 

Share
Posted in Administration, Applications, Windows | 3 Comments

Surveyor of the Foistest

You may recall how annoying I found the alleged update of iTunes called Safari.  You may also have been amused by my railing against the equally alleged update to Windows called Silverlight.  Microsoft has delivered a new alleged update called Bing Desktop.  It’s craptacular.

It will appear at the bottom of your list of updates.  You will want to avoid checking that box if it’s not and you will want to uncheck it if it is.  You don’t want a large Bing-enabled search box in the middle of your desktop.  It’s just not worth it.

I was highly entertained by the Google search results when I went to look up Bing Desktop to discover what it was and why it was among my most recent updates.

Google Bing Desktop Results

Google Bing Desktop Results

These are the top five search results using “bing desktop”.  You will note that three of them are from Microsoft.  First I clicked on the Bing result and recognized it as pure marketing.  I went back and chose the Digital Trends link.

What I found incredibly funny (laughing out loud funny; neither ironic nor lol) was that the marketing tag was “Brings Beauty and Convenience” while the actual news article calls the software “So lame it’s practically spamware”.

So, yes: don’t bother.  Actively avoid it; you don’t need it.

Have fun.

Share
Posted in News & Annoyances, Windows | Leave a comment

Random Power Supply FYI

I had a client complaining that her laptop was in turn complaining about the power supply was too weak (I think the warning was “your power supply fu is weak!”).  I compared the power supply she was using when she took her machine home to the supply on her docking station at her desk.  The station supply was 90W while the one she was carrying around was merely 65W.

My opinion is that both should be just fine.  This is further supported (beyond my vast experience) by the fact that under most circumstances it was really working more or less fine.  The screen would flicker when she was at home (possibly due to weak line voltage in her house wiring) but not all the time.

Regardless, I went ahead and gave her a 90W supply from our bin of lonely power supplies.  That worked great.

Here is the perhaps useful information for anyone wondering and wandering.

She was running a Lenovo 410 and that required the 90W to be happy.  I am running a Lenovo T61p and it has been working great with that 65W supply.

Perhaps that will help someone out there.  Perhaps not.

Be well.

Share
Posted in Gear and Machinations | Leave a comment

Sharpening the Social Blades

Ah, yes; the age of mob-rule is upon us.  Only it’s a kinder gentler mob-rule than those of old.  It’s a mob-rule that merely looks askance at you and scoffs and maybe snorts in contemptuous disbelief.  And yet it’s effective.

I wrote a while back about both Netflix plummet from grace and their eventual (inevitable?) reversal.

More recently I wrote in opposition to SOPA.

In response to this last article a fellow blogger wrote to me about an infographic they published.  I would like to share that with you.

social consumer

I hope you have found this informative. Now go sharpen your knives.

Share
Posted in News & Annoyances | Leave a comment

Windows Wants a New Printer

I recently had the privledge of setting up a new networked printer for the Seattle Tilth.  I really enjoy working with organizations like this because I feel like I’m helping to make the world a better place.  At any rate, they will need to attach various users to that networked printer and I thought I’d just write an article in case others might also benefit from these instructions.

Please read through the entire article before you begin.

I have included instructions specific to Windows XP and Windows 7.  (The Windows 7 instructions should also work with Windows Vista.)

Some printers do require that a specific driver be downloaded from the printer manufacturer’s Web site, but that was not the case here.   The network printer they received through donation was an HP Color LaserJet 4650, but a reasonably clever person could use these same instructions to add other printers as well.

(Note: initially I used DHCP but we ran into a problem and are currently testing a static address.  I’ll report back when I know better.)

Let’s start with Windows XP.

  • Open the Control Panel and choose Printers and Faxes (Start –> Control Panel –> Printers and Faxes)
  • Click Add Printer
  • You will be adding a network printer and you will choose the third bullet option
  • Here you will enter the address of the printer which is based upon the name given to the printer, and since I named mine simply HP4650 the address is http://hp4650 (don’t worry about letter case when it’s Microsoft); if that doesn’t work you may have to use the actual IP address which in their case was 192.168.0.253 so http://192.168.0.253
  • Finally select HP Color LaserJet since there is no listing specifically for the 4650
  • OK your way out of these dialogs
  • Print a test page and rejoice

Now for those Windows 7 instructions.

  • Open the Control Panel and choose Devices and Printers (Start –> Control Panel –> Devices and Printers)
  • You will be adding a network printer and you will choose the second button as such
  • On the left (manufacturer) side select HP
  • On the right (specific printer) side select HP Color LaserJet 4650 PCL 5
  • If this printer does not appear in the list click the Windows Update button and try again
  • OK your way out of these dialogs
  • Print a test page and rejoice

In both cases you will likely want to choose this as your default printer when presented with that option.  You can always change your default printer by locating the printer you want as your default under Printer and Faxes or under Devices and Printers, right-clicking on the printer in question, and choosing Make Default or Set As Default.

Easy enough?  Hope it helps you heaps.

Share
Posted in Windows | Leave a comment

Use the Latest Skype on Ubuntu

I have been using this method for keeping Skype up to date on my Ubuntu systems (I’m currently using 10.04 all  around but this ought to be flexible enough to work on other versions).  Here is my condensed version for your copy and paste joy.

You’ll want to have a terminal open for a couple of lines of code. You can open a terminal by navigating to Applications —> Accessories —> Terminal.

Ok, let’s ask Synaptic to manage any new updates that come down for Skype. Open Synaptic (System —> Administration —> Synaptic Package Manager). You will be asked for your password.

Navigate to Settings —> Repositories —> Third-Party Software and click the “Add” button. Enter this line in the “APT Line:” text box:

deb http://download.skype.com/linux/repos/debian/ stable non-free

Then click the “Add Source” button and the “Close” button twice. (The second dialog is just letting you know that you have made a repository change.)

This tells Synaptic where to seek out updates for Skype.

Let’s import the public key so your system knows it is really communicating with the Skype repository when you run your updates.

Hop back over to your Terminal; it’s a single line of code:

sudo apt-key adv –keyserver pgp.mit.edu –recv-keys 0xd66b746e

Now, when you click the “Reload” button in the Synaptic Package Manger you will not get a key verification error.

Installing Skype is a one line command operation or you can just locate it in Synaptic and install it from there:

sudo apt-get install skype

(You will be asked for your password.)

From now on, when you run your updates by navigating to System —> Administration —> Update Manager it should seek out any new updates for Skype in addition to any updates otherwise ready for your system.

Have fun with that.

Share
Posted in Applications, Ubuntu | Leave a comment