Rick Glos Life in Portland, Oregon.

Systeminfo is a cool command

22. May 2013 11:21 by Rick Glos in Computers

I was wondering how old my current rig is because I couldn’t remember when I built it and was thinking it was time for an upgrade.  Ran across the syseminfo command which will tell you the Original Install Date among other things.

Looks like I built this system almost 4 years ago in August of 2009.

systeminfo

5-22-2013 11-17-46 AM

ACS50000: There was an error issuing a token.

19. January 2012 09:03 by Rick Glos in

This particularly annoying issue occurs if you are a co-administrator for a Windows Azure Portal and try to access the ACS Management Portal.  This is a typical setup for a company where the company owner creates the Windows Azure Account but probably doesn’t manage the technical details of the implementation, like adding identity providers to a service namespace.

I ran across this issue and customer service couldn’t seem to track down the issue.  Through trial and error I figured out it was because I was a co-administrator.  Then I ran across it as a known issue after much googling.

The error message when trying to access the ACS Management Portal will be as follows:

  • ACS50000: There was an error issuing a token.

The work-around the issue, do the following:

  1. Log into the ACS Management Portal using the user account of the primary service administrator.

  2. Under Administration, click Portal Administrators.

  3. Click Add to add a new portal administrator for the ACS namespace.

  4. For Identity Provider, select Windows Live ID.

  5. For Identity claim type, select http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress.

  6. For Identity claim value, enter the Windows Live ID of the administrator you would like to add.

  7. Click Save.

This should fix the problem and you can now manage the ACS namespace using the Windows Live ID of the co-administrator.

Developing a Rich Interactive Application Experience by Brian Henderson

13. January 2012 11:44 by Rick Glos in

Notes from a class taken a few years back

Developing a Rich Interactive Application Experience

9 – 10:15

  • Brian Henderson
  • UX Design – not something added later
  • Music notes – blank space just as important
  • Figuring out right way to look at problem not solution
  • Context
    • user
    • user goals
      • words they use
      • methods they use
  • Users –> Collect Stories
    • immerse yourself into their domain / screenshots / demos
    • talk to the right user – end user versus their manager
    • sometimes users don’t know what they want
    • don’t just listen – they often tell you the solution and not the problem
  • Hide complexity
    • discovery becomes part of the reward of learning the application
  • Persona’s – define
  • Think in terms of scenario’s – not features
  • Guidance, Game, Simplicity
    • too many choices, context for UI
    • reward to learning, filling out profile, etc. – a game
    • incentives – badge or reward (e.g. Stackoverflow, Digg)
  • 6 Principles
    • Make it Direct (make it obvious)
    • Keep it lightweight
    • Stay on the page
    • Provide invitations (leaders – lead them along task)
    • Use transitions
    • React immediately

Command Prompt Here

27. October 2011 07:33 by Rick Glos in

Another new PC had me searching for allowing the Windows Explorer right click context menu item Open Command Prompt Here script.

The context menu command will open up a windows command prompt and set the current directory to the one you right-clicked on.

10-27-2011 7-23-29 AM

10-27-2011 7-23-59 AM

Here’s the registry script to make it happen.  Crack open notepad, copy and paste the stuff below, and save the file with a .reg extension and you can import it into your registry.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command_Prompt_Here]
@="Command &Prompt Here"
"edit"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command_Prompt_Here\command]
@="C:\\Windows\\system32\\cmd.exe /k cd \"\"%1\"\""

Pausing a process using PsSuspend from Sysinternals

7. September 2011 09:28 by Rick Glos in

We just received new laptops at work and now we need to migrate our files from one machine to another.  I have a few rather large virtual PC disks that I needed to transfer.  I was using robocopy to transfer the files from one laptop to the other over my home network and noticed some severe latency on my source laptop.  I was trying to do productive work on the source laptop and every mouse click or keystroke seemed to lag one or two seconds making it too painful.

I had already spawned the robocopy process though and it was 20% through moving multiple files and I didn’t want to stop it and restart it.  So, “how do you pause a running process”? A google search landed me on a page that talked about PsSuspend and using it to pause a running process.

I used Process Explorer, another favorite from sysinternals, to identify the process id of the running application to suspend.

9-6-2011 11-05-56 AM

Then using the pssuspend tool I was able to pause the copy so I could work.

9-6-2011 11-24-31 AM

I then later in the day restarted the process.

9-6-2011 12-56-08 PM

You could see in the properties of process in process explorer when the copying started up again that it was copying the file at 2.0 MB per second.

9-6-2011 12-56-23 PM

This could come in handy for all kinds of processes to pause and then restart.

MS-DOS to Windows 7

11. April 2011 11:39 by Rick Glos in

Watched a pretty cool video about a guy who started out with a virtual machine installed with MS-DOS 5.0 and then upgraded it to Windows 1.0, 2.0, 3.0, 3.1, 95, 98, 98SE, 2000, XP, Vista and finally Windows 7.  Made me feel old for remembering all 12 versions of windows and but nostalgic at the same time.  Being able to play Doom on MS-DOS and still having it work in Windows 7 is incredible.